Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 31447 invoked from network); 8 May 2010 16:53:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 May 2010 16:53:14 -0000 Received: (qmail 84190 invoked by uid 500); 8 May 2010 16:53:13 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 84151 invoked by uid 500); 8 May 2010 16:53:12 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 84144 invoked by uid 99); 8 May 2010 16:53:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 May 2010 16:53:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 May 2010 16:53:10 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o48GqmdD007955 for ; Sat, 8 May 2010 16:52:49 GMT Message-ID: <27338148.50841273337568795.JavaMail.jira@thor> Date: Sat, 8 May 2010 12:52:48 -0400 (EDT) From: "Steven Rowe (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-2167) Implement StandardTokenizer with the UAX#29 Standard 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/LUCENE-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Rowe updated LUCENE-2167: -------------------------------- Attachment: LUCENE-2167.patch I added your change removing CharBuffer.wrap(), Robert, and it appears to have sped it up, though not as much as I would like: ||Operation||recsPerRun||rec/s||elapsedSec|| |StandardTokenizer|1262799|423,615.91|1.95| |ICUTokenizer|1268451|403,836.69|2.41| |UAX29Tokenizer|1268451|498,604.94|2.27| I plan on attempting to rewrite the grammar to eliminate chaining/lookahead this weekend. > Implement StandardTokenizer with the UAX#29 Standard > ---------------------------------------------------- > > Key: LUCENE-2167 > URL: https://issues.apache.org/jira/browse/LUCENE-2167 > Project: Lucene - Java > Issue Type: New Feature > Components: contrib/analyzers > Affects Versions: 3.1 > Reporter: Shyamal Prasad > Assignee: Steven Rowe > Priority: Minor > Attachments: LUCENE-2167.patch, LUCENE-2167.patch, LUCENE-2167.patch, LUCENE-2167.patch > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > It would be really nice for StandardTokenizer to adhere straight to the standard as much as we can with jflex. Then its name would actually make sense. > Such a transition would involve renaming the old StandardTokenizer to EuropeanTokenizer, as its javadoc claims: > bq. This should be a good tokenizer for most European-language documents > The new StandardTokenizer could then say > bq. This should be a good tokenizer for most languages. > All the english/euro-centric stuff like the acronym/company/apostrophe stuff can stay with that EuropeanTokenizer, and it could be used by the european analyzers. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org