Gleb created NLPCRAFT-250:
-----------------------------
Summary: Support <any word> in DSL
Key: NLPCRAFT-250
URL: https://issues.apache.org/jira/browse/NLPCRAFT-250
Project: NLPCraft
Issue Type: Improvement
Reporter: Gleb
It's handy to define "any word" or "any K words" in synonym.
For example, user nickname could be any word and right now it's required to
write a regex to detect it. This doesn't work in several cases, for example,
all words in sentence are treated as username.
But if there was a way to define when any word could be inserted (after certain
word, etc.), this problem should be resolved or avoided.
To illustrate:
{"send <AnyWord> nlpcraft:num"} -> send AnotherUser123 10 dollars
Thoughts?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)