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 2020/03/14 22:04:43 UTC

[incubator-nlpcraft] branch master updated: Fixed typos.

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 48f804b  Fixed typos.
48f804b is described below

commit 48f804b636c3685a71dc6751a9c691ec621ac5f9
Author: Sergey Kamov <se...@apache.org>
AuthorDate: Sun Mar 15 01:04:36 2020 +0300

    Fixed typos.
---
 .../nlpcraft/probe/mgrs/nlp/enrichers/sort/NCSortEnricher.scala       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/sort/NCSortEnricher.scala b/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/sort/NCSortEnricher.scala
index e9914f0..4c52174 100644
--- a/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/sort/NCSortEnricher.scala
+++ b/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/sort/NCSortEnricher.scala
@@ -124,7 +124,7 @@ object NCSortEnricher extends NCProbeEnricher {
 
         val ordersSeq: Seq[Seq[String]] = ORDER.map(_._1).map(_.split(" ").toSeq)
 
-        // ORDER doens't contains words fron BY (It can contains words from SORT)
+        // ORDER doesn't contains words fron BY (It can contains words from SORT)
         require(!BY.exists(p ⇒ ordersSeq.contains(p)))
 
         // Right order of keywords and references.
@@ -156,7 +156,7 @@ object NCSortEnricher extends NCProbeEnricher {
             val res = mutable.ArrayBuffer.empty[Seq[NoteData]]
 
             /**
-              * Return flag which indicates are token contiguous or not.
+              * Returns flag which indicates are token contiguous or not.
               *
               * @param tok1Idx First token index.
               * @param tok2Idx Second token index.