UNPKG

vui-ad-hoc-alexa-recognizer

Version:

Provides natural language understanding/processing to enable easy implementation of chat bots and voice services. High performance run time in only 2 lines of code - 'require' to include it, and the call to process the text. These can run anywhere Node.js

41 lines 1.32 kB
{ "singleWordSynonyms":[ { "words":["want","wish", "like", "need"], "synonyms":[ {"fitRating":1, "values":["want", "wish", "like", "would like", "need"]}, {"fitRating":0.9, "values":["prefer"]} ] }, { "words":["hi", "hello", "hey"], "synonyms":[ {"fitRating":1, "values":["hi", "hello", "how are you", "good morning", "good day", "good evening", "good night", "whats up", "hey"]}, {"fitRating":0.99, "values":["nice to meet you", "excuse me", "pardon me"]}, {"fitRating":0.9, "values": ["you there", "are you there", "anybody there", "can you help me", "need some help"]} ] }, { "words":["please"], "synonyms":[ {"fitRating":0.99, "values":["please",""]} ] } ], "equivalentPhrases":[ { "phrases":["how are you", "how are you doing"], "equivalents":[ {"fitRating":1, "values":["how are you", "how are you doing"]}, {"fitRating":0.99, "values":["hi", "hello", "good morning", "good day", "good evening", "good night", "whats up", "hey"]} ] }, { "phrases":["would like"], "equivalents":[ {"fitRating":1, "values":["want", "wish", "like", "would like", "need"]}, {"fitRating":0.9, "values":["prefer"]} ] } ] }