You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Aaron Radzinski (Jira)" <ji...@apache.org> on 2022/08/25 17:23:00 UTC

[jira] [Closed] (NLPCRAFT-500) IDL fragments processing error.

     [ https://issues.apache.org/jira/browse/NLPCRAFT-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Radzinski closed NLPCRAFT-500.
------------------------------------
    Resolution: Fixed

Merged to master.

> IDL fragments processing error.
> -------------------------------
>
>                 Key: NLPCRAFT-500
>                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-500
>             Project: NLPCraft
>          Issue Type: Task
>          Components: Main API
>            Reporter: Sergey Kamov
>            Assignee: Aaron Radzinski
>            Priority: Major
>             Fix For: 1.0.0
>
>
> Look at TimeModel example configuration
> @NCIntent("fragment=city term(city)~\{# == 'opennlp:location'}")
> @NCIntent("intent=intent2 term~\{# == 'x:time'} fragment(city)")
> @NCIntent("intent=intent1 term=\{# == 'x:time'}")
> class TimeModel extends NCModelAdapter
> `intent1` and `intent2` are based on first annotation which contains `fragment`. 
> But annotations processed in unordered way, so sometimes TimeModel test failed.
> (These annotations should be processed twice or we can try to do some another solution etc)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)