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

Create a Factory to customize the Sentence Detector

    XMLWordPrintableJSON

Details

    Description

      Implement a mechanism to customize Sentence Detector using a factory. We should use the code infrastructure created for issue #429.

      The plan is:

      • create a SentenceDetectorFactory
        • create a SentenceDetectorFactory object by passing the language code (for backward compatibility), the abbreviations (Set<String> ?) and the EOS characters
        • getters for the ContextGenerator, EOSScanner, EOSChars, Abbreviation Dictionary
        • the default implementation would use the existent Factory class from lang package
      • we need to decide if we keep the language dependent factory as is

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: