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

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

commit d8d5d46dae5921b0241ad033ffc7cc97ffa43f59
Author: Sergey Kamov <skhdlem...@gmail.com>
AuthorDate: Thu Jul 7 10:41:47 2022 +0300

    NCStanfordNLPEntityParser fixes.
---
 .../nlp/entity/parser/stanford/NCStanfordNLPEntityParser.scala        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/stanford/NCStanfordNLPEntityParser.scala
 
b/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/stanford/NCStanfordNLPEntityParser.scala
index 0fe28ffb..1677c6dd 100644
--- 
a/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/stanford/NCStanfordNLPEntityParser.scala
+++ 
b/nlpcraft-stanford/src/main/scala/org/apache/nlpcraft/nlp/entity/parser/stanford/NCStanfordNLPEntityParser.scala
@@ -30,8 +30,8 @@ import scala.jdk.CollectionConverters.*
   * @param supported
   */
 class NCStanfordNLPEntityParser(stanford: StanfordCoreNLP, supported: 
Set[String]) extends NCEntityParser:
-    require(stanford != null, "Stanford instance cannot be null.");
-    require(supported != null && supported.nonEmpty, "Supported elements set 
cannot be null or empty.");
+    require(stanford != null, "Stanford instance cannot be null.")
+    require(supported != null && supported.nonEmpty, "Supported elements set 
cannot be null or empty.")
 
     private val supportedLc = supported.map(_.toLowerCase)
 

Reply via email to