This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-520
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-520 by this push:
new 67d50553 WIP.
67d50553 is described below
commit 67d505532a014c1134fe7a467674d0f0eedb3065
Author: Sergey Kamov <[email protected]>
AuthorDate: Mon Dec 19 14:58:26 2022 +0400
WIP.
---
.../apache/nlpcraft/nlp/enrichers/NCEnStopWordsTokenEnricher.scala | 4 ++--
.../scala/org/apache/nlpcraft/nlp/parsers/NCNLPEntityParser.scala | 2 +-
.../scala/org/apache/nlpcraft/nlp/parsers/NCOpenNLPEntityParser.scala | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/enrichers/NCEnStopWordsTokenEnricher.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/enrichers/NCEnStopWordsTokenEnricher.scala
index 28446481..0d4fa418 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/enrichers/NCEnStopWordsTokenEnricher.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/enrichers/NCEnStopWordsTokenEnricher.scala
@@ -178,7 +178,7 @@ import
org.apache.nlpcraft.nlp.enrichers.NCEnStopWordsTokenEnricher.*
*
* More information about stopwords can be found at
[[https://en.wikipedia.org/wiki/Stop_word]].
*
- * * `stemmer` implementation language should be corresponded to other
components of [[NCPipeline]], but
+ * `stemmer` implementation language should be corresponded to other
components of [[NCPipeline]], but
* required `stemmer` implementation is independent from other components'
stemmers.
*
* **NOTE:** this implementation requires `lemma` and `pos` string
[[NCPropertyMap metadata]] properties that
@@ -190,7 +190,7 @@ import
org.apache.nlpcraft.nlp.enrichers.NCEnStopWordsTokenEnricher.*
* @param exclSet User defined collection of exceptions, i.e. the words which
should not be marked as stopwords during
* processing. These words will be stemmatized by the given `stemmer`
before attempting to find a match.
* Default value is an empty set.
- * @param stemmer English stemmer implementation. Default value is the
instance of [[org.apache.nlpcraft.nlp.stemmer.NCEnStemmer]].
+ * @param stemmer English stemmer implementation. Default value is the
instance of [[org.apache.nlpcraft.nlp.stemmer.NCEnStemmer NCEnStemmer]].
*/
class NCEnStopWordsTokenEnricher(
addSet: Set[String] = Set.empty,
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/parsers/NCNLPEntityParser.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/parsers/NCNLPEntityParser.scala
index c805c21b..e5f62254 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/parsers/NCNLPEntityParser.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/parsers/NCNLPEntityParser.scala
@@ -42,7 +42,7 @@ import org.apache.nlpcraft.nlp.parsers.NCNLPEntityParser.*
*
* Also created [[NCEntity]] instances receive all another [[NCPropertyMap
metadata]] properties
* which were added by configured in [[NCPipeline pipeline]] token
[[org.apache.nlpcraft.NCTokenEnricher enrichers]].
- * These properties identifiers will be prefixed by **nlp:entity:**.
+ * These properties identifiers will be prefixed by **nlp:entity:**, for
example **nlp:entity:prop**.
*
* @param predicate Predicate which allows to filter list of converted
[[NCToken]] instances.
* By default all [[NCToken]] instances converted.
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/parsers/NCOpenNLPEntityParser.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/parsers/NCOpenNLPEntityParser.scala
index e931695f..b705a44c 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/parsers/NCOpenNLPEntityParser.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/nlp/parsers/NCOpenNLPEntityParser.scala
@@ -48,7 +48,7 @@ object NCOpenNLPEntityParser:
/**
* [[https://opennlp.apache.org/ OpenNLP]] based language independent
[[NCEntityParser entity parser]] configured by
- * paths to [[https://opennlp.apache.org/ OpenNLP]] **name finders** models.
+ * [[https://opennlp.apache.org/ OpenNLP]] **name finders** models.
*
* This parser prepares [[NCEntity]] instances which are detected by given
models.
* These entities are created with ID `opennlp:modelId`, where `modelId` is
[[https://opennlp.apache.org/ OpenNLP]] model ID.