[
https://issues.apache.org/jira/browse/LUCENE-3730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196080#comment-13196080
]
Robert Muir commented on LUCENE-3730:
-------------------------------------
Patch looks good to me... so the basics are we apply a different penalty based
on
whether the text is kanji or not, rather than just a single penalty of 10000
(and some parameter tuning) ?
{quote}
Note that both the tests and the heuristic is tuned for IPADIC. Hence, we need
to revisit this when we add support for other dictionaries/models.
{quote}
I think this is ok for now.
Long term (if there end out being different values for other dictionaries), we
can conditionalize these on dictionary type:
either at build-time (recording these values into dictionary), or better,
record the dictionary type itself and conditionalize
these at run-time based on dictionary type.
By recording the type, we would also be able to use e.g.
assumeTrue(dictionaryType == IPADIC) in unit tests and things like that,
and who knows what else, but lets not worry about it here.
> Improved Kuromoji search mode segmentation/decompounding
> --------------------------------------------------------
>
> Key: LUCENE-3730
> URL: https://issues.apache.org/jira/browse/LUCENE-3730
> Project: Lucene - Java
> Issue Type: Improvement
> Components: modules/analysis
> Affects Versions: 3.6, 4.0
> Reporter: Christian Moen
> Attachments: LUCENE-3730_trunk.patch
>
>
> Kuromoji has a segmentation mode for search that uses a heuristic to promote
> additional segmentation of long candidate tokens to get a decompounding
> effect. This heuristic has been improved. Patch is coming up.
--
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]