You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2020/09/17 01:00:42 UTC
[incubator-nlpcraft] branch master updated (127ff7b -> f3c305c)
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git.
from 127ff7b WIP.
add 850d134 WIP.
add 7bafff9 WIP.
add 1e29408 WIP.
add 6cc9799 WIP.
add 4852eae WIP.
add d03e3e5 WIP.
add 4ffc991 WIP.
add 9793197 WIP.
add fb2db22 WIP.
add 088e238 WIP.
add f41991a WIP.
add 06e907d WIP.
add 2556cfd WIP.
add 335a90c Merge branch 'NLPCRAFT-41' into NLPCRAFT-113
add 0b1d597 Merge branch 'NLPCRAFT-41' into NLPCRAFT-113
add 9e82637 Merge branch 'NLPCRAFT-41' into NLPCRAFT-113
add 103029f WIP.
add b1afc36 Merge branch 'NLPCRAFT-41' into NLPCRAFT-113
add a4c5fc7 Merge branch 'NLPCRAFT-41' into NLPCRAFT-113
add 812e5ba WIP.
add e1a31ec WIP.
add 2667c1a WIP.
add d20b038 WIP.
add 66475f2 WIP.
add 38995d2 WIP.
add cf6d798 WIP.
add 9067a82 WIP.
add 826b140 Merge branch 'NLPCRAFT-41' into NLPCRAFT-113
add 3f24fec WIP.
add a43393d WIP.
add bfa8af1 WIP.
add 41b64d0 WIP.
add 3af1e8a Merge branch 'master' into NLPCRAFT-113
add 44bcfd8 Code review.
add 64d89c9 Merge branch 'NLPCRAFT-113' into NLPCRAFT-41
add c64b20c Improving logging.
add b9d1d08 Update NCProbeEnrichmentManager.scala
add ecced23 WIP.
add f252759 WIP.
new f3c305c WIP.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
nlpcraft/pom.xml | 5 +
.../model/intent/impl/NCIntentSolverEngine.scala | 31 +-
.../model/intent/impl/NCIntentSolverVariant.scala | 6 +-
.../test/impl/NCTestAutoModelValidatorImpl.scala | 18 +-
.../org/apache/nlpcraft/probe/NCProbeBoot.scala | 18 +-
.../nlpcraft/probe/mgrs/cmd/NCCommandManager.scala | 24 +-
.../probe/mgrs/nlp/NCProbeEnrichmentManager.scala | 34 +-
.../nlpcraft/server/company/NCCompanyManager.scala | 20 +-
.../nlpcraft/server/query/NCQueryManager.scala | 26 +-
.../nlpcraft/server/rest/NCBasicRestApi.scala | 409 ++++++++++---------
.../apache/nlpcraft/server/sql/NCSqlManager.scala | 18 +-
.../nlpcraft/server/user/NCUserManager.scala | 30 +-
.../time/NCTimeModelSpec.scala} | 38 +-
.../mgrs/nlp/enrichers/NCEnricherBaseSpec.scala | 3 +-
.../nlpcraft/server/rest/NCRestAskSpec.scala | 161 ++++++++
.../rest/NCRestClearSpec.scala} | 46 +--
.../nlpcraft/server/rest/NCRestCompanySpec.scala | 220 +++++++++++
.../nlpcraft/server/rest/NCRestErrorsSpec.scala | 437 +++++++++++++++++++++
.../nlpcraft/server/rest/NCRestFeedbackSpec.scala | 106 +++++
.../rest/NCRestModelSpec.scala} | 38 +-
.../nlpcraft/server/rest/NCRestProbeSpec.scala} | 29 +-
.../apache/nlpcraft/server/rest/NCRestSpec.scala | 318 +++++++++++++++
.../nlpcraft/server/rest/NCRestUserSpec.scala | 155 ++++++++
openapi/nlpcraft_swagger.yml | 10 +-
pom.xml | 6 +
25 files changed, 1822 insertions(+), 384 deletions(-)
copy nlpcraft/src/test/scala/org/apache/nlpcraft/{model/conversation/NCConversationSpec.scala => examples/time/NCTimeModelSpec.scala} (62%)
create mode 100644 nlpcraft/src/test/scala/org/apache/nlpcraft/server/rest/NCRestAskSpec.scala
copy nlpcraft/src/test/scala/org/apache/nlpcraft/{model/intent/dsl/NCDslSpec.scala => server/rest/NCRestClearSpec.scala} (52%)
create mode 100644 nlpcraft/src/test/scala/org/apache/nlpcraft/server/rest/NCRestCompanySpec.scala
create mode 100644 nlpcraft/src/test/scala/org/apache/nlpcraft/server/rest/NCRestErrorsSpec.scala
create mode 100644 nlpcraft/src/test/scala/org/apache/nlpcraft/server/rest/NCRestFeedbackSpec.scala
copy nlpcraft/src/test/scala/org/apache/nlpcraft/{probe/mgrs/nlp/enrichers/relation/NCEnricherRelationSpec.scala => server/rest/NCRestModelSpec.scala} (50%)
copy nlpcraft/src/{main/scala/org/apache/nlpcraft/server/rest/NCRestApi.scala => test/scala/org/apache/nlpcraft/server/rest/NCRestProbeSpec.scala} (56%)
create mode 100644 nlpcraft/src/test/scala/org/apache/nlpcraft/server/rest/NCRestSpec.scala
create mode 100644 nlpcraft/src/test/scala/org/apache/nlpcraft/server/rest/NCRestUserSpec.scala
[incubator-nlpcraft] 01/01: WIP.
Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit f3c305cae8d75a363d391ac3360cfb8214669d47
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Wed Sep 16 18:00:14 2020 -0700
WIP.
---
.../apache/nlpcraft/model/intent/impl/NCIntentSolverVariant.scala | 6 +++---
.../apache/nlpcraft/probe/mgrs/nlp/NCProbeEnrichmentManager.scala | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/impl/NCIntentSolverVariant.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/impl/NCIntentSolverVariant.scala
index 0716494..a9e3aa9 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/impl/NCIntentSolverVariant.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/impl/NCIntentSolverVariant.scala
@@ -82,11 +82,11 @@ case class NCIntentSolverVariant(tokens: util.List[NCToken]) extends Ordered[NCI
override def toString: String =
s"Variant [" +
- s"userToks=$userToks" +
+ s"userToks=$userToks" +
s", wordCnt=$wordCnt" +
- s", totalUserDirect=$totalUserDirect" +
+ s", totalUserDirect=$totalUserDirect" +
s", avgWordsPerTok=$avgWordsPerTok" +
- s", sparsity=$totalSparsity" +
+ s", sparsity=$totalSparsity" +
s", toks=$tokens" +
"]"
}
\ No newline at end of file
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/NCProbeEnrichmentManager.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/NCProbeEnrichmentManager.scala
index 54735a1..1195153 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/NCProbeEnrichmentManager.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/NCProbeEnrichmentManager.scala
@@ -533,7 +533,7 @@ object NCProbeEnrichmentManager extends NCService with NCOpenCensusModelStats {
NCTokenLogger.prepareTable(sen.asScala).
info(
logger,
- Some(s"Parsing variant #${i + 1} for: '$txt")
+ Some(s"Parsing variant #${i + 1} for: '$txt'")
)
}
}