You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Sergey Kamov (Jira)" <ji...@apache.org> on 2022/06/20 10:41:00 UTC
[jira] [Created] (NLPCRAFT-500) IDL fragments processing error.
Sergey Kamov created NLPCRAFT-500:
-------------------------------------
Summary: 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
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.7#820007)