You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hiroaki Kawai (JIRA)" <ji...@apache.org> on 2008/03/11 07:12:46 UTC
[jira] Updated: (LUCENE-1216) CharDelimiterTokenizer
[ https://issues.apache.org/jira/browse/LUCENE-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hiroaki Kawai updated LUCENE-1216:
----------------------------------
Attachment: CharDelimiterTokenizer.java
for example, I'd like to instanciate CharDelimiterTokenizer like this:
CharDelimiterTokenizer tkz=new CharDelimiterTokenizer(input);
tkz.addDelimiter("\u3002");
> CharDelimiterTokenizer
> ----------------------
>
> Key: LUCENE-1216
> URL: https://issues.apache.org/jira/browse/LUCENE-1216
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Analysis
> Reporter: Hiroaki Kawai
> Attachments: CharDelimiterTokenizer.java
>
>
> WhitespaceTokenizer is very useful for space separated languages, but my Japanese text is not always separated by a space. So, I created an alternative Tokenizer that we can specify the delimiter. The file submitted will be an improvement of the current WhitespaceTokenizer.
> I tried to extend it from CharTokenizer, but CharTokenizer has a limitation that a token can't be longer than 255 chars.
--
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org