શું તમે જાણો છો બોટ કાવ્ય પણ પૂરી પાડે 3D અવતાર અને એક મફત વેબ ભાષણ API?
Help : synonyms

RE: synonyms

દ્વારા admin પોસ્ટ Sep 29 2017, 8:59

To add a synonym through JSON you would import for example,

{ #data : "angry", instantiation : #word, instantiation : #adjective, synonym : "mad", synonym : "upset" }

However, currently synonyms are not used for response matching words. Synonyms are only used by some scripts, and for whole sentences or single word sentences.

For example,

question: angry
response: Why are you upset?

The bot would use this response if the user said, "mad", but would not use it if the user said "I am mad".

We are planning on adding better support for synonyms, including a user interface for them in the Training page.

For now you can use patterns, such as,

question: Pattern("I am [angry mad upset]")
response: Why are you upset?


ને: 19241080
પોસ્ટ: Sep 29 2017, 8:59
સુધારાશે: Sep 29 2017, 9:00
જવાબો: 0
જોવાઈ: 1147, આજે: 1, સપ્તાહ: 1, મહિને: 19
0 0 0.0/5