Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-589

Text format of Events inconsistent across different implementations of EventStreamReaders

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • maxent-3.0.3, 2.0.0, 2.1.0, 2.2.0, 2.3.0
    • 2.3.3
    • Machine Learning
    • None

    Description

      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?

      Attachments

        Activity

          People

            mawiesne Martin Wiesner
            emjotde Marcin Junczys-Dowmunt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: