[ 
https://issues.apache.org/jira/browse/OPENNLP-434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

William Colen updated OPENNLP-434:
----------------------------------

    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

  was:
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, SequenceValidator, 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

    
> Create a Factory to customize the Sentence Detector
> ---------------------------------------------------
>
>                 Key: OPENNLP-434
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-434
>             Project: OpenNLP
>          Issue Type: New Feature
>          Components: Command Line Interface, Sentence Detector
>    Affects Versions: tools-1.5.3-incubating
>            Reporter: William Colen
>            Assignee: William Colen
>            Priority: Minor
>             Fix For: tools-1.5.3-incubating
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to