This is an automated email from the ASF dual-hosted git repository.

sergeykamov pushed a commit to branch NLPCRAFT-471
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-471 by this push:
     new 2726b91  WIP.
2726b91 is described below

commit 2726b9176a7e691640134832f803c6fc466495ec
Author: Sergey Kamov <[email protected]>
AuthorDate: Mon Dec 27 17:27:20 2021 +0300

    WIP.
---
 .../internal/nlp/token/enricher/NCOpenNlpTokenEnricherSpec.scala       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/nlpcraft/src/test/java/org/apache/nlpcraft/internal/nlp/token/enricher/NCOpenNlpTokenEnricherSpec.scala
 
b/nlpcraft/src/test/java/org/apache/nlpcraft/internal/nlp/token/enricher/NCOpenNlpTokenEnricherSpec.scala
index 3b4302a..aeb3d66 100644
--- 
a/nlpcraft/src/test/java/org/apache/nlpcraft/internal/nlp/token/enricher/NCOpenNlpTokenEnricherSpec.scala
+++ 
b/nlpcraft/src/test/java/org/apache/nlpcraft/internal/nlp/token/enricher/NCOpenNlpTokenEnricherSpec.scala
@@ -52,9 +52,8 @@ class NCOpenNlpTokenEnricherSpec:
     private def check(txt: String, expected: String*): Unit =
         val req = NCTestRequest(txt)
         val toks = parser.parse(req)
-        val toksSeq = toks.asScala.toSeq
-
         enricher.enrich(req, null, toks)
+        val toksSeq = toks.asScala.toSeq
 
         NCTestUtils.printTokens(toksSeq, "opennlp:name", "opennlp:probability")
 

Reply via email to