Return-Path: X-Original-To: apmail-opennlp-issues-archive@www.apache.org Delivered-To: apmail-opennlp-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1AAD92D3 for ; Sun, 18 Mar 2012 15:47:07 +0000 (UTC) Received: (qmail 96797 invoked by uid 500); 18 Mar 2012 15:47:07 -0000 Delivered-To: apmail-opennlp-issues-archive@opennlp.apache.org Received: (qmail 96767 invoked by uid 500); 18 Mar 2012 15:47:07 -0000 Mailing-List: contact issues-help@opennlp.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@opennlp.apache.org Delivered-To: mailing list issues@opennlp.apache.org Received: (qmail 96759 invoked by uid 500); 18 Mar 2012 15:47:07 -0000 Delivered-To: apmail-incubator-opennlp-issues@incubator.apache.org Received: (qmail 96756 invoked by uid 99); 18 Mar 2012 15:47:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Mar 2012 15:47:07 +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; Sun, 18 Mar 2012 15:47:05 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6FEBA253E5 for ; Sun, 18 Mar 2012 15:46:43 +0000 (UTC) Date: Sun, 18 Mar 2012 15:46:43 +0000 (UTC) From: "William Colen (Commented) (JIRA)" To: opennlp-issues@incubator.apache.org Message-ID: <1329292586.29786.1332085604379.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1418579350.4436.1330546197098.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (OPENNLP-452) Running the POSTaggerCrossValidator with -ngram argument causes an exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENNLP-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232288#comment-13232288 ] William Colen commented on OPENNLP-452: --------------------------------------- Please review my commit because I am not sure if it would break anything. > Running the POSTaggerCrossValidator with -ngram argument causes an exception > ---------------------------------------------------------------------------- > > Key: OPENNLP-452 > URL: https://issues.apache.org/jira/browse/OPENNLP-452 > Project: OpenNLP > Issue Type: Bug > Components: POS Tagger > Affects Versions: tools-1.5.3 > Reporter: William Colen > Assignee: William Colen > Fix For: tools-1.5.3 > > > I tried to execute POSTaggerCrossValidator with the -ngram parameter and it caused a UnsupportedOperationException. > Sometimes it is interesting for some training tools to pre-process the corpus to artifacts before training, for example dictionaries. > CrossValidationPartitioner.TrainingSampleStream should support the reset operation to allow this functionality. > Does anybody know why it does not support resetting? -- 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