You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2022/03/29 21:26:27 UTC

[incubator-nlpcraft] 03/03: Update NCPipeline.java

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

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

commit 56c8a1e23b36bc681074c6f1b9da70c33d21986c
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Tue Mar 29 14:26:19 2022 -0700

    Update NCPipeline.java
---
 .../src/main/scala/org/apache/nlpcraft/NCPipeline.java     | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/NCPipeline.java b/nlpcraft/src/main/scala/org/apache/nlpcraft/NCPipeline.java
index 9baeae3..867d20e 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/NCPipeline.java
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/NCPipeline.java
@@ -26,7 +26,6 @@ import java.util.Optional;
  * <p>
  * An NLP pipeline is a container for various processing components that take the input text at the beginning of the
  * pipeline and produce the list of {@link NCEntity entities} at the end of the pipeline.
- * <p>
  * Schematically the pipeline looks like this:
  * <pre>
  *                                   +----------+        +-----------+
@@ -34,11 +33,10 @@ import java.util.Optional;
  * :  Text   : -> |  Token  | -> | Token     |  | -> | Token      |  | ----.
  * :  Input  :    |  Parser |    | Enrichers |--+    | Validators |--+      \
  * *=========*    +---------+    +-----------+       +------------+          \
- *                                                                            \
- *                                                                             }
- *                    +-----------+        +----------+        +--------+     /
- * *=========*    +---+--------+  |    +---+-------+  |    +---+-----+  |    /
- * :  Entity : <- | Entity     |  | <- | Entity    |  | <- | Entity  |  | <-'
+ *                                                                            }
+ *                    +-----------+        +----------+        +--------+    /
+ * *=========*    +---+--------+  |    +---+-------+  |    +---+-----+  |   /
+ * :  Entity : <- | Entity     |  | <- | Entity    |  | <- | Entity  |  | <-
  * :  List   :    | Validators |--+    | Enrichers |--+    | Parsers |--+
  * *=========*    +------------+       +-----------+       +---------+
  * </pre>
@@ -46,8 +44,8 @@ import java.util.Optional;
  * Pipeline has the following components:
  * <ul>
  *     <li>
- *         {@link NCTokenParser Token parser} is responsible for taking the input text and tokenize it into a list of
- *         {@link NCToken tokens}. This process is called tokenization, i.e. the process of demarcating and
+ *         {@link NCTokenParser} is responsible for taking the input text and tokenize it into a list of
+ *         {@link NCToken}. This process is called tokenization, i.e. the process of demarcating and
  *         classifying sections of a string of input characters. There's only one token parser for the pipeline.
  *     </li>
  *     <li>