You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by se...@apache.org on 2021/09/27 12:07:50 UTC

[incubator-nlpcraft] branch master updated: Minor fixes.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new daee912  Minor fixes.
daee912 is described below

commit daee912307e1b0603b29337306db95541a12d47e
Author: Sergey Kamov <sk...@gmail.com>
AuthorDate: Mon Sep 27 15:07:40 2021 +0300

    Minor fixes.
---
 .../org/apache/nlpcraft/probe/mgrs/sentence/NCSentenceManager.scala     | 2 --
 1 file changed, 2 deletions(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/sentence/NCSentenceManager.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/sentence/NCSentenceManager.scala
index 12c6810..00d6bdf 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/sentence/NCSentenceManager.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/sentence/NCSentenceManager.scala
@@ -735,8 +735,6 @@ object NCSentenceManager extends NCService {
             else
                 collapse0(sen).flatMap(p => Option(Seq(p))).getOrElse(Seq.empty)
 
-        sens = sens.distinct
-
         sens.par.foreach(sen =>
             sen.foreach(tok =>
                 tok.size match {