This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-468
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-468 by this push:
new 4d2bd49 WIP.
4d2bd49 is described below
commit 4d2bd49ced239f720a769845b8d7707ab1f200a8
Author: Sergey Kamov <[email protected]>
AuthorDate: Wed Oct 13 10:42:00 2021 +0300
WIP.
---
.../main/scala/org/apache/nlpcraft/model/curation+confirmation.txt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/curation+confirmation.txt
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/curation+confirmation.txt
index 4a0fc84..d5e0eb8 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/curation+confirmation.txt
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/curation+confirmation.txt
@@ -33,9 +33,11 @@ c) add to NCResult 3 fields:
- add 'need_curation' = true flag to model, which supports curation.
- set `need_curation` = true in NCResult if there isn't any intent found.
- add new API method
- - `String curateText(String reqId)`; - which returns fixed request text
+ - `String fixText(String reqId)`; - which returns fixed request text
or
- - `List<NCToken> curateVariant(String reqId)`; - which returns created
winner variant.
+ - `List<NCToken> prepareVariant(String reqId)`; - which returns created
winner variant.
+
+These methods called by user after analyze prepared by system variants
(List<List<NCToken>>) from result.
Curated requests cached the easiest way - by stems and without stopwords
(maybe with/without ordering)