This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-24
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-24 by this push:
new 05d3d1a WIP.
05d3d1a is described below
commit 05d3d1aa418aea6d2a90c9d57ecbd337275f5834
Author: Sergey Kamov <[email protected]>
AuthorDate: Tue Mar 24 19:07:22 2020 +0300
WIP.
---
.../apache/nlpcraft/probe/mgrs/nlp/enrichers/NCDefaultTestModel.scala | 3 ---
1 file changed, 3 deletions(-)
diff --git
a/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCDefaultTestModel.scala
b/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCDefaultTestModel.scala
index 5031faf..f0e55fa 100644
---
a/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCDefaultTestModel.scala
+++
b/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/NCDefaultTestModel.scala
@@ -49,14 +49,12 @@ class NCDefaultTestModel extends NCModelAdapter(ID, "Model
enrichers test", "1.0
new NCElement {
override def getId: String = id
override def getSynonyms: util.List[String] = syns.asJava
- override def getGroups: util.List[String] =
Collections.singletonList(GROUP)
}
private def mkValueElement(id: String, vals: String*): NCElement =
new NCElement {
override def getId: String = id
override def getSynonyms: util.List[String] =
Collections.singletonList(id)
- override def getGroups: util.List[String] =
Collections.singletonList(GROUP)
override def getValues: util.List[NCValue] = vals.map(v ⇒ new
NCValue {
override def getName: String = v
override def getSynonyms: util.List[String] =
Collections.singletonList(v)
@@ -71,5 +69,4 @@ class NCDefaultTestModel extends NCModelAdapter(ID, "Model
enrichers test", "1.0
object NCDefaultTestModel {
final val ID = "dflt.enricher.test.model"
- private final val GROUP = "test-enricher-group"
}