Re:Re: Re: Re: Re: How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread qibaoyuan
src folder At 2012-09-06 22:50:01,Cheng wrote: >Thanks. > >The instruction says that user can use IKAnalyzercfg.xml to configure the >extension dictionary and stopword dictionary. It also mentions that the xml >file should be put to the class root. > >In an eclipse java project, where is the

Re: Re: Re: Re: How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread Cheng
Thanks. The instruction says that user can use IKAnalyzercfg.xml to configure the extension dictionary and stopword dictionary. It also mentions that the xml file should be put to the class root. In an eclipse java project, where is the class root? Thanks On Thu, Sep 6, 2012 at 10:27 AM, qi

Re:Re: Re: Re: How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread qibaoyuan
check out http://code.google.com/p/ik-analyzer/ it's quite straightforward. At 2012-09-06 22:22:45,Cheng wrote: >I use 3.5 now, and plan to try 3.6. How can I use IKAnalyzer and make the >analyzer to use my own dictionary and work together with Lucene? > >Thanks so much for help. > >On Thu, Se

Re: Re: Re: How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread Cheng
I use 3.5 now, and plan to try 3.6. How can I use IKAnalyzer and make the analyzer to use my own dictionary and work together with Lucene? Thanks so much for help. On Thu, Sep 6, 2012 at 10:19 AM, 齐保元 wrote: > > > you'd better tell me the version of lucene.the latest version > ikanlyzer2012 sup

Re:Re: Re: How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread 齐保元
you'd better tell me the version of lucene.the latest version ikanlyzer2012 support lucene3.6 >IKAnalyzer is not supported in Lucene, right? > >On Thu, Sep 6, 2012 at 10:14 AM, wrote: > >> >> 1.fatjar is a tool for archiving jars/classes together NOTan analyzer. >> 2.smartcn seems not abl

Re: Re: How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread Cheng
IKAnalyzer is not supported in Lucene, right? On Thu, Sep 6, 2012 at 10:14 AM, 齐保元 wrote: > > 1.fatjar is a tool for archiving jars/classes together NOTan analyzer. > 2.smartcn seems not able to import your own dictionay,it can only import > stop word dict;You can try IKAnalyzer instead. > > > A

Re: How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread Cheng
Also, I checked and couldn't find the smartcn.jar in the originally shipped Lucene jar. Should I build it myself? and how? Thanks. On Thu, Sep 6, 2012 at 10:10 AM, Cheng wrote: > Thanks. I will try that. > > Another question. How to use my own dictionary instead of the default one > either in Fa

Re: How to incorporate the SmartCnAnalyzer in the core lucene jar

2012-09-06 Thread Cheng
Thanks. I will try that. Another question. How to use my own dictionary instead of the default one either in FatJAR or smartcn.jar? On Thu, Sep 6, 2012 at 10:07 AM, 齐保元 wrote: > > > import contrib/smartcn.jar is not complicated.or you can try FatJAR. > > > At 2012-09-06 22:04:58,Cheng wrote: >