Re: CJKAnalyzer - does it work?

2006-06-16 Thread wu fox
Erik is very humorous. Erik 很幽默

CJKAnalyzer - does it work?

2006-06-15 Thread Robert Haycock
Hi, I have a very simple example. An IndexWriter (Lucene 1.9.0) with CJKAnalyzer (latest version as of today). A Chinese friend of mine as given me a sentence and a word that appears in that sentence, eg: C1C2C3C4C5C6C7C8 where the word is C3C4. Here's code segment: IndexWriter writer = new

Re: CJKAnalyzer - does it work?

2006-06-15 Thread Erik Hatcher
Rob, Your example is, hopefully, not exact since you used C1... which I presume was not what you originally tested with. CJKAnalyzer is working fine for me in this example adapted from your code: public void testCJKAnalyzer() throws Exception { RAMDirectory directory = new

Re: CJKAnalyzer - does it work?

2006-06-15 Thread Ray Tsang
Hi Erik, Where did you get that chinese sentence from? That's funny! haha. ray, On 6/15/06, Erik Hatcher [EMAIL PROTECTED] wrote: Rob, Your example is, hopefully, not exact since you used C1... which I presume was not what you originally tested with. CJKAnalyzer is working fine for me in

Re: CJKAnalyzer - does it work?

2006-06-15 Thread Erik Hatcher
On Jun 15, 2006, at 7:29 PM, Ray Tsang wrote: Where did you get that chinese sentence from? That's funny! haha. 我不知道! ;) Erik On 6/15/06, Erik Hatcher [EMAIL PROTECTED] wrote: Rob, Your example is, hopefully, not exact since you used C1... which I presume was not what you