You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "William Colen (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/02/17 14:41:59 UTC
[jira] [Issue Comment Edited] (OPENNLP-434) Create a Factory to
customize the Sentence Detector
[ https://issues.apache.org/jira/browse/OPENNLP-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210260#comment-13210260 ]
William Colen edited comment on OPENNLP-434 at 2/17/12 1:41 PM:
----------------------------------------------------------------
Some methods will be marked as deprecated. The new methods added by Katrin patch (OPENNLP-428: make EOS character set configurable) will be removed. Instead of passing the EOS char directly, API users should create a new SentenceDetectorFactoy passing the EOS chars in the constructor.
was (Author: colen):
Some methods will be marked as deprecated. The new methods added by Katrin path OPENNLP-428 (make EOS character set configurable) will be removed instead of deprecated. Instead of passing the EOS char directly, API users should create a new SentenceDetectorFactoy passing the EOS chars in the constructor.
> 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