[
https://issues.apache.org/jira/browse/LUCENE-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177101#comment-13177101
]
Uwe Schindler commented on LUCENE-2906:
---------------------------------------
...alternatively, we could use a HashSet<String>. If the stringsin it are
intered, the lookup is fast, too. The hashCode of Strings is precalculated in
the String class. For four if checks it maybe not really different performance
wise, but thats just another idea. The ctor would simply check the flags and
add the type strings to the Set<String>.
> Filter to process output of ICUTokenizer and create overlapping bigrams for
> CJK
> --------------------------------------------------------------------------------
>
> Key: LUCENE-2906
> URL: https://issues.apache.org/jira/browse/LUCENE-2906
> Project: Lucene - Java
> Issue Type: New Feature
> Components: modules/analysis
> Reporter: Tom Burton-West
> Assignee: Robert Muir
> Priority: Minor
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-2906.patch, LUCENE-2906.patch, LUCENE-2906.patch,
> LUCENE-2906.patch
>
>
> The ICUTokenizer produces unigrams for CJK. We would like to use the
> ICUTokenizer but have overlapping bigrams created for CJK as in the CJK
> Analyzer. This filter would take the output of the ICUtokenizer, read the
> ScriptAttribute and for selected scripts (Han, Kana), would produce
> overlapping bigrams.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]