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

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

commit ff215ba6195a20ec11c1ac1247ca6e9da8f06361
Author: Aaron Radzinski <[email protected]>
AuthorDate: Tue Feb 2 15:23:28 2021 -0800

    Update NCModelView.java
---
 nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCModelView.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCModelView.java 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCModelView.java
index a58787b..f734ee9 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCModelView.java
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCModelView.java
@@ -815,8 +815,7 @@ public interface NCModelView extends NCMetadata {
      * By default the data model detects its elements by their synonyms, 
regexp or DSL expressions. However,
      * in some cases these methods are not expressive enough. In such cases, a 
user-defined parser can be defined
      * for the model that would allow the user to define its own NER logic to 
detect the model elements in the user
-     * input programmatically. Note that there can be only one custom parser 
per model and it can detect any number
-     * of model elements (named entities).
+     * input programmatically. Note that a single parser can detect any number 
of model elements.
      * <p>
      * <b>JSON</b>
      * <br>
@@ -831,7 +830,7 @@ public interface NCModelView extends NCMetadata {
      * }
      * </pre>
      *
-     * @return Custom user parsers for model elements or {@code null} if not 
used (default). TODO: cannot be null!
+     * @return Custom user parsers for model elements. Can be empty but never 
{@code null}.
      */
     default List<NCCustomParser> getParsers() {
         return Collections.emptyList();

Reply via email to