Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
tools-1.5.3
-
None
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