Sergey Kamov created NLPCRAFT-247:
-------------------------------------
Summary: Synonyms DSL improvements.
Key: NLPCRAFT-247
URL: https://issues.apache.org/jira/browse/NLPCRAFT-247
Project: NLPCraft
Issue Type: Improvement
Components: probe
Reporter: Sergey Kamov
Assignee: Aaron Radzinski
Fix For: 0.7.5
Synonyms DSL improvements.
1) Add quantifiers for synonyms
Now we have to write following if we want to add synonyms for x and 1, 2 or 3 A
before
x|A x|A A x|A A A x
Let's define it as \{A[0, 3]|*} x
If will be useful if A defined via nested elements
2) \{A|*} x - means `A x` or `x` (* indicates that A is optional 0 ..1)
it is suitable symbols ? I guess it can be confused with intents quantifiers (*
means [0, ∞])?
What do you think?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)