Hi:
I make an instance of class by doing the following: LanguageBasedAnalyzer* analyser = new LanguageBasedAnalyzer(“cjk”, false); With the parameter “ckj”, I’d like to use the CJKTokenizer to deal with Chinese characters. But, the search result is not correct: Say if I have indexed the following contents: 这里我们所论及的是有儿童参加的最初级足球协会 Then, I’d like to search for the word 提 (obviously, it is not in the indexed contents), I am expecting the query hits should return 0, but the actual result is 1. Anybody has any idea if CJKTokenizer works? If not, is there any analyser/tokenizer that can deal with Chinese properly? P.S. I am using CLucene in a Xcode project. Thanks in advance. Vivien Meng Software Developer QSR International Pty Ltd 2nd Floor, 651 Doncaster Road | Doncaster Victoria 3108 Australia T +61 3 9840 1100 F +61 3 9840 1500 v.m...@qsrinternational.com<mailto:v.m...@qsrinternational.com> | www.qsrinternational.com<http://www.qsrinternational.com> [Description: C:\Users\VMeng\AppData\Roaming\Microsoft\Signatures\qsr_logo_signature.gif] Please consider the environment before printing this email. [Description: C:\Users\VMeng\AppData\Roaming\Microsoft\Signatures\QSR_enviro-graphic.gif] ________________________________ Disclaimer This transmission may contain information which is confidential and privileged and intended only for the addressee. If you are not the addressee you may not use, disseminate or copy this information. If you have received this information in error please notify the sender immediately. Thank you.
<<inline: image001.gif>>
<<inline: image004.png>>
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________ CLucene-developers mailing list CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers