[ 
https://issues.apache.org/jira/browse/NLPCRAFT-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17403040#comment-17403040
 ] 

Sergey Kamov edited comment on NLPCRAFT-414 at 8/23/21, 8:45 AM:
-----------------------------------------------------------------

ready for review NLPCRAFT-414

1) added new parameter for REST call "model" / "syns"
 pattern - option[String[512]] 
 Please add in swagger

2) in regex for filter element and element values synonyms 
regex.matcher(s).find() - Note this regex tries to find in synonyms, not detect 
whole matches.

3) with this parameter "model" / "syns" returns
 filtered `synonymsExp` and `valuesExp` values and only corresponded them 
`synonyms` and `values` values list.

4) Fix please few TODO IN 
src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala


was (Author: sergeykamov):
1) added new parameter for REST call "model" / "syns"
pattern - option[String[512]] 
Please add in swagger

2) in regex for filter element and element values synonyms 
regex.matcher(s).find() - Note this regex tries to find in synonyms, not detect 
whole matches.

3) with this parameter "model" / "syns" returns
filtered `synonymsExp` and `valuesExp` values and only corresponded them 
`synonyms` and `values` values list.

4) Fix please few TODO IN 
src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala

> Add regexp parameter to CLI command 'model-syns'.
> -------------------------------------------------
>
>                 Key: NLPCRAFT-414
>                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-414
>             Project: NLPCraft
>          Issue Type: Task
>          Components: nlpcraft CLI
>            Reporter: Aaron Radzinski
>            Assignee: Sergey Kamov
>            Priority: Major
>             Fix For: 0.9.1
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to