Return-Path: X-Original-To: apmail-incubator-opennlp-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-opennlp-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B402E9A98 for ; Thu, 16 Feb 2012 20:21:22 +0000 (UTC) Received: (qmail 6588 invoked by uid 500); 16 Feb 2012 20:21:22 -0000 Delivered-To: apmail-incubator-opennlp-issues-archive@incubator.apache.org Received: (qmail 6559 invoked by uid 500); 16 Feb 2012 20:21:22 -0000 Mailing-List: contact opennlp-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: opennlp-issues@incubator.apache.org Delivered-To: mailing list opennlp-issues@incubator.apache.org Received: (qmail 6522 invoked by uid 99); 16 Feb 2012 20:21:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 20:21:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 20:21:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EDE9E1BBFC2 for ; Thu, 16 Feb 2012 20:20:59 +0000 (UTC) Date: Thu, 16 Feb 2012 20:20:59 +0000 (UTC) From: "William Colen (Updated) (JIRA)" To: opennlp-issues@incubator.apache.org Message-ID: <1450971201.47719.1329423659975.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <52295825.45972.1329397199533.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (OPENNLP-434) Create a Factory to customize the Sentence Detector MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 ?) 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 ?) 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 ?) 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