This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-16
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-16 by this push:
new da95a26 WIP.
da95a26 is described below
commit da95a26cc3130e285f29fcf1d0973ae20be8c33b
Author: Sergey Kamov <[email protected]>
AuthorDate: Tue Mar 17 21:33:22 2020 +0300
WIP.
---
.../apache/nlpcraft/probe/mgrs/nlp/enrichers/NCEnricherBaseSpec.scala | 2 +-
.../apache/nlpcraft/probe/mgrs/nlp/enrichers/NCEnrichersTestBeans.scala | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git
a/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCEnricherBaseSpec.scala
b/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCEnricherBaseSpec.scala
index 8566a57..c59174f 100644
---
a/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCEnricherBaseSpec.scala
+++
b/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCEnricherBaseSpec.scala
@@ -32,7 +32,7 @@ class NCEnricherBaseSpec {
@BeforeEach
private[enrichers] def setUp(): Unit = {
- //NCEmbeddedProbe.start(classOf[NCEnricherTestModel])
+ NCEmbeddedProbe.start(classOf[NCEnricherTestModel])
client = new
NCTestClientBuilder().newBuilder.setResponseLog(false).build
diff --git
a/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCEnrichersTestBeans.scala
b/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCEnrichersTestBeans.scala
index bb3209d..f97bc40 100644
---
a/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCEnrichersTestBeans.scala
+++
b/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCEnrichersTestBeans.scala
@@ -74,7 +74,6 @@ case class NCTestCityToken(text: String, city: String)
extends NCTestToken {
require(city != null)
override def id: String = "nlpcraft:city"
-
override def toString: String = s"$text(city)[city=$city]"
}
@@ -298,7 +297,6 @@ object NCTestToken {
case "nlpcraft:continent" ⇒
NCTestContinentToken(txt, continent =
t.meta("nlpcraft:continent:continent"))
case "nlpcraft:metro" ⇒ NCTestMetroToken(txt, metro =
t.meta("nlpcraft:metro:metro"))
-
case "nlpcraft:sort" ⇒
val subjNotes: java.util.List[String] =
t.meta("nlpcraft:sort:subjnotes")
val subjIndexes: java.util.List[Int] =
t.meta("nlpcraft:sort:subjindexes")