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

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


The following commit(s) were added to refs/heads/NLPCRAFT-161 by this push:
     new 466522b  Update NCDslTerm.java
466522b is described below

commit 466522bea1191119f54071dca6b96fce31c27925
Author: Aaron Radzinski <[email protected]>
AuthorDate: Sat Oct 24 23:21:10 2020 -0700

    Update NCDslTerm.java
---
 .../main/scala/org/apache/nlpcraft/model/intent/utils/NCDslTerm.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/utils/NCDslTerm.java 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/utils/NCDslTerm.java
index a15e400..4192da8 100644
--- 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/utils/NCDslTerm.java
+++ 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/utils/NCDslTerm.java
@@ -126,6 +126,6 @@ public class NCDslTerm implements Serializable {
         if (id == null)
             return String.format("term%s{%s}%s", eq, pred, minMax);
         else
-            return String.format("term(%s)%s{%s}%s", eq, id, pred, minMax);
+            return String.format("term(%s)%s{%s}%s", id, eq, pred, minMax);
     }
 }

Reply via email to