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/04/14 17:59:30 UTC

[incubator-nlpcraft] 01/06: WIP.

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

commit e6451e5cef4fe054501755688136822f6118fa8e
Author: Sergey Kamov <sk...@gmail.com>
AuthorDate: Wed Apr 14 10:31:48 2021 +0300

    WIP.
---
 .../main/scala/org/apache/nlpcraft/probe/mgrs/NCProbeSynonym.scala    | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/NCProbeSynonym.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/NCProbeSynonym.scala
index 0a4bda6..dc9a1f5 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/NCProbeSynonym.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/NCProbeSynonym.scala
@@ -86,7 +86,6 @@ class NCProbeSynonym(
     /**
       *
       * @param toks
-      * @return
       */
     private def trySparseMatch0[T](toks: Seq[T], isMatch: (T, NCProbeSynonymChunk) ⇒ Boolean, getIndex: T ⇒ Int): Option[Seq[T]] = {
         require(toks != null)
@@ -162,7 +161,6 @@ class NCProbeSynonym(
     /**
       *
       * @param toks
-      * @return
       */
     def isMatch(toks: NCNlpSentenceTokenBuffer): Boolean = {
         require(toks != null)
@@ -181,7 +179,6 @@ class NCProbeSynonym(
     /**
       *
       * @param toks
-      * @return
       */
     def trySparseMatch(toks: NCNlpSentenceTokenBuffer): Option[Seq[NCNlpSentenceToken]] = {
         require(toks != null)
@@ -198,7 +195,6 @@ class NCProbeSynonym(
       *
       * @param tows
       * @param req
-      * @return
       */
     def isMatch(tows: Seq[NCDslContent], req: NCRequest): Boolean = {
         require(tows != null)