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

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


The following commit(s) were added to refs/heads/NLPCRAFT-472 by this push:
     new db9f7ca  WIP.
db9f7ca is described below

commit db9f7cae456ada97e1ad44382e12dea6030d143d
Author: Sergey Kamov <[email protected]>
AuthorDate: Tue Jan 4 23:15:49 2022 +0300

    WIP.
---
 nlpcraft/src/main/scala/org/apache/nlpcraft/NCIntentMatch.java | 2 +-
 nlpcraft/src/main/scala/org/apache/nlpcraft/NCVariant.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/NCIntentMatch.java 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/NCIntentMatch.java
index bc921d5..372c24d 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/NCIntentMatch.java
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/NCIntentMatch.java
@@ -77,5 +77,5 @@ public interface NCIntentMatch {
      * @return Parsing variant that produced the matching for this intent.
      * @see #getIntentEntities()
      */
-    List<NCEntity> getVariant();
+    NCVariant getVariant();
 }
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/NCVariant.java 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/NCVariant.java
index 99f9373..60481c0 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/NCVariant.java
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/NCVariant.java
@@ -23,5 +23,5 @@ import java.util.List;
  *
  */
 public interface NCVariant {
-    List<NCToken> getTokens();
+    List<NCEntity> getEntities();
 }

Reply via email to