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/02/22 13:35:05 UTC

[incubator-nlpcraft] branch NLPCRAFT-249 updated: WIP.

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

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


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

commit abf5020983f3ab55ee870a8b98aad733336a5c80
Author: Sergey Kamov <sk...@gmail.com>
AuthorDate: Mon Feb 22 16:33:33 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 d7ea084..135ea49 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
@@ -446,7 +446,7 @@ object NCModelEnricher extends NCProbeEnricher with DecorateAsScala {
                     def perm[T](list: List[List[T]]): List[List[T]] =
                         list match {
                             case Nil ⇒ List(Nil)
-                            case head :: tail ⇒ for (n ← head; t ← perm(tail)) yield n :: t
+                            case head :: tail ⇒ for (h ← head; t ← perm(tail)) yield h :: t
                         }
 
                     // Optimization by sparsity sum for each tokens set for one element found with same tokens count.