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..

How to implement a Chatscript bot that talk Portuguese
 
 
  [ # 46 ]

Looks like you dont have curl installed on your linux system yet.  You can disable curl usage if you want by adding -DDISCARDJSON

 

 
  [ # 47 ]

Thank you Bruce.

Disable curl worked for me.

I already had installed curl. I don’t know why its happened.

 

 
  [ # 48 ]

Hello Bruce!

Please, help me!

Look, when I try to check if a word is in a concept, using IF statement, it’s ok when the word is a simple word, but when it is a compound word, it fail. Why?

Example: if (pattern _0?~some_words) <- it is ok when _0 is a word “speak”, but if _0 is a compound word, like “take care”, it’s fail.

concept: ~some_words (speak “take care”) <-example of a concept.

 

 
  [ # 49 ]

guessing its because you would need to do ‘_0 to get original form. the canonical form is unknown-word I expect.

 

 
  [ # 50 ]
Bruce Wilcox - Jan 19, 2017:

guessing its because you would need to do ‘_0 to get original form. the canonical form is unknown-word I expect.

Thank you Bruce for your quick response. But it does not work with original or canonical form.

I retrieved the match variable (_0) from a factset, like below.

@0 = ^query(direct_sv $usuario frequencia ?)
^reset(@0)
_0 = ^last(@0object)

And then I did the test with the statement IF.

if (pattern _0?~some_words)
concept: ~some_words (speak “take care”) <-example of a concept.

 

 
  [ # 51 ]

True, if it came from a fact, its a bit late. You might have saved the variable in its original form in the fact, and then if if you needed it in canonical form, used ^pos(canonical ) on it later.

 

 
  [ # 52 ]
Bruce Wilcox - Jan 20, 2017:

True, if it came from a fact, its a bit late. You might have saved the variable in its original form in the fact, and then if if you needed it in canonical form, used ^pos(canonical ) on it later.

Thank you Bruce!

 

 
  [ # 53 ]
Oberdan Alves - Jan 20, 2017:
Bruce Wilcox - Jan 20, 2017:

True, if it came from a fact, its a bit late. You might have saved the variable in its original form in the fact, and then if if you needed it in canonical form, used ^pos(canonical ) on it later.

Thank you Bruce!

Hi,

I am creating a ChatScript also in Portuguese and would like to know how you created the dictionary?
  I understand what you are using as concepts ???
I’m importing a complete dictionary separating into concepts like Names, Nouns, Adjectives, Pronouns, etc ... is it anyway ??
Could you also answer me what else do I have to adapt so that I have the features available in Brazilian Portuguese?

Thankful!

 

 
  [ # 54 ]

I have checked into git a portuguese dictionary. It will help with spellchecking and some rough pos-tagging. See documentation in HTMLDOCUMENTATION/ESOTERICA/ChatScript foreign languages for details.  But this is not brazilian portuguese I expect

 

‹ First  < 2 3 4
4 of 4
 
  login or register to react