You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Martin Wiesner (Jira)" <ji...@apache.org> on 2024/04/14 08:02:00 UTC
[jira] [Updated] (OPENNLP-589) Text format of Events inconsistent across different implementations of EventStreamReaders
[ https://issues.apache.org/jira/browse/OPENNLP-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Wiesner updated OPENNLP-589:
-----------------------------------
Priority: Minor (was: Major)
> Text format of Events inconsistent across different implementations of EventStreamReaders
> -----------------------------------------------------------------------------------------
>
> Key: OPENNLP-589
> URL: https://issues.apache.org/jira/browse/OPENNLP-589
> Project: OpenNLP
> Issue Type: Bug
> Components: Machine Learning
> Affects Versions: maxent-3.0.3
> Reporter: Marcin Junczys-Dowmunt
> Assignee: Martin Wiesner
> Priority: Minor
>
> BasicEventStream expects events to be written to text files as:
> context1 context2 context3 ... outcome
> FileEventStream expects events to be written to text files as:
> outcome context1 context2 context3 ...
> toString() of Event creates:
> outcome [context1 context2 context3 ...] (note the square brackets, which are part of context predicates when breaking on spaces).
> This is highly confusing and took me some time to understand. I guess this should be unified?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)