This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-206
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-206 by this push:
new 4137042 WIP.
4137042 is described below
commit 41370427bb3eece5dbee5da81e9238da7b830878
Author: Sergey Kamov <[email protected]>
AuthorDate: Thu Mar 18 20:41:15 2021 +0300
WIP.
---
nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCToken.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCToken.java
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCToken.java
index 7b0ea4f..136516a 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCToken.java
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCToken.java
@@ -140,7 +140,7 @@ public interface NCToken extends NCMetadata {
if (!found)
// Check aliases if not found by ID.
- for (String alias : getAliases()) {
+ for (String alias : part.getAliases()) {
found = Arrays.binarySearch(idOrAlias, alias) >= 0;
if (found)