This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-287
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-287 by this push:
new eeb85b5 WIP.
eeb85b5 is described below
commit eeb85b55588cddac76122c7ba21aa814df6b35b6
Author: Sergey Kamov <[email protected]>
AuthorDate: Thu Apr 15 15:59:26 2021 +0300
WIP.
---
.../nlpcraft/probe/mgrs/nlp/enrichers/model/NCModelEnricher.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/model/NCModelEnricher.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/model/NCModelEnricher.scala
index 4df51c3..52a84f0 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/model/NCModelEnricher.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/model/NCModelEnricher.scala
@@ -255,7 +255,7 @@ object NCModelEnricher extends NCProbeEnricher with
DecorateAsScala {
val md = n.asMetadata()
new NCCustomElement() {
- override def getElementId: String = n.noteType
+ override def getElementId: String = noteId
override def getWords: JList[NCCustomWord] = words
override def getMetadata: JavaMeta = md.map(p ⇒
p._1 → p._2.asInstanceOf[AnyRef]).asJava
}