lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cheng <zhoucheng2...@gmail.com>
Subject Re: Re: Re: Re: How to incorporate the SmartCnAnalyzer in the core lucene jar
Date Thu, 06 Sep 2012 14:50:01 GMT
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, qibaoyuan <qibaoyuan@126.com> wrote:

> check out http://code.google.com/p/ik-analyzer/  it's quite
> straightforward.
>
>
>
> At 2012-09-06 22:22:45,Cheng <zhoucheng2008@gmail.com> 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, Sep 6, 2012 at 10:19 AM, 齐保元 <qibaoyuan@126.com> wrote:
> >
> >>
> >>
> >> 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,  <qibaoyuan@126.com> 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.
> >> >>
> >> >>
> >> >> At 2012-09-06 22:10:15,Cheng <zhoucheng2008@gmail.com> wrote:
> >> >> >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 <qibaoyuan@126.com> wrote:
> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> import contrib/smartcn.jar is not complicated.or you can try
> FatJAR.
> >> >> >>
> >> >> >>
> >> >> >> At 2012-09-06 22:04:58,Cheng <zhoucheng2008@gmail.com>
wrote:
> >> >> >> >Hi,
> >> >> >> >
> >> >> >> >The default Lucene core jar contains no the smartcn analyzer.
How
> >> can I
> >> >> >> >include it into the core jar.
> >> >> >> >
> >> >> >> >Thanks!
> >> >> >>
> >> >>
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message