You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Marcin Junczys-Dowmunt (JIRA)" <ji...@apache.org> on 2013/07/22 13:26:52 UTC

[jira] [Created] (OPENNLP-589) Text format of Events inconsistent across different implementations of EvenStreamReaders

Marcin Junczys-Dowmunt created OPENNLP-589:
----------------------------------------------

             Summary: Text format of Events inconsistent across different implementations of EvenStreamReaders
                 Key: OPENNLP-589
                 URL: https://issues.apache.org/jira/browse/OPENNLP-589
             Project: OpenNLP
          Issue Type: Bug
          Components: Maxent
    Affects Versions: maxent-3.0.3
            Reporter: Marcin Junczys-Dowmunt


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira