AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Script Based in Syntax Analisys
 
 

Hi,

I’m trying to create a script that will build responses based on the syntactic analysis of the sentences, is it possible?

Example: I like cashew nuts
  I = PRONOUN_SUBJECT
like = VERB
cashew nuts = NOUN_PROPER_SINGULAR

I tried to build a script but I can not recognize this entry:

Example:

topic: ~INTRODUCTIONS (~PRONOUN_SUBJECT ~VERB ~NOUN_PROPER_SINGULAR)

u: (~PRONOUN_SUBJECT * ~VERB * ~NOUN_PROPER_SINGULAR *) I also like

what would I need to modify in order for my input text to recognize this structure?

 

 
  [ # 1 ]

Your rule is ok (dont need the * at the end since it serves no purpose).  cashew nuts is not a proper noun.
Start simpler using ~noun , Proper Nouns are less common

 

 
  [ # 2 ]
Bruce Wilcox - Jul 17, 2018:

Your rule is ok (dont need the * at the end since it serves no purpose).  cashew nuts is not a proper noun.
Start simpler using ~noun , Proper Nouns are less common


OK Thanks!!!!

 

 

 
  [ # 3 ]
Romeu Thiago Marques - Jul 17, 2018:
Bruce Wilcox - Jul 17, 2018:

Your rule is ok (dont need the * at the end since it serves no purpose).  cashew nuts is not a proper noun.
Start simpler using ~noun , Proper Nouns are less common


OK Thanks!!!!

 


Bruce i Trying here, in English is correct, the result from my Bot founded… I Use DICT and ChatBot in Portuguese not reply…

I execute command :word My Input Text

and chatbot founded in Dictionary all Words….

I would have to do some more configuration to find ??

 

 
  login or register to react