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

Add MERGE_BOTH option to Detokenizer

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: tools-1.5.3
    • Fix Version/s: tools-1.5.3
    • Component/s: Tokenizer
    • Labels:
      None

      Description

      An MERGE_BOTH option would be useful to train using some corpus. For example in a Portuguese corpus we have:

      ... devolva - me o livro .... (give the book back to me)

      We need to detokenize it as "devolva-me o livro". Configure "-" token as MERGE_BOTH in the detokenizer dictionary would be helpful.

        Attachments

          Activity

            People

            • Assignee:
              colen William Colen
              Reporter:
              colen William Colen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: