[
https://issues.apache.org/jira/browse/LUCENE-4253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423816#comment-13423816
]
Robert Muir commented on LUCENE-4253:
-------------------------------------
{quote}
This makes retrieval and proper recognition of the documents which contain the
phrase "SOME THAI PHRASE" almost impossible.
{quote}
Right, i just mean the problem is general. 'a' is a english stopword but this
can screw up
things like 'L.A.' (Los Angeles) and other "terms", because of how they are
tokenized. This is just a common tradeoff.
Its just that with the current Thai tokenizer and the overly aggressive list,
its much more pronounced.
{quote}
I don't have a chance to view the thesis that research over those stop words.
In my own opinion, the only set of words that shall not cause a truncated is a
set of conjunction words.
{quote}
Yes, this paper seems difficult to get a hold of.
But I think its definitely a good idea should try to reduce the current list to
not be so large. It should be
less aggressive.
> ThaiAnalyzer fail to tokenize word.
> -----------------------------------
>
> Key: LUCENE-4253
> URL: https://issues.apache.org/jira/browse/LUCENE-4253
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/analysis
> Affects Versions: Realtime Branch
> Environment: Windows 7 SP1.
> Java 1.7.0-b147
> Reporter: Nattapong Sirilappanich
>
> Method
> protected TokenStreamComponents createComponents(String,Reader)
> return a component that unable to tokenize Thai word.
> The current return statement is:
> return new TokenStreamComponents(source, new StopFilter(matchVersion,
> result, stopwords));
> My experiment is change the return statement to:
> return new TokenStreamComponents(source, result);
> It give me a correct result.
--
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]