Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CECD8D056 for ; Thu, 6 Sep 2012 14:23:14 +0000 (UTC) Received: (qmail 2595 invoked by uid 500); 6 Sep 2012 14:23:12 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 2542 invoked by uid 500); 6 Sep 2012 14:23:12 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 2534 invoked by uid 99); 6 Sep 2012 14:23:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 14:23:12 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zhoucheng2008@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qc0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 14:23:06 +0000 Received: by qcsc21 with SMTP id c21so984564qcs.35 for ; Thu, 06 Sep 2012 07:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WSE4NPbPq1sIui9jTEbBrxI4w1vPAGam2LGKFOUNEbw=; b=ChVg+HbZuDpuIqfUybNUeEpNb+G/RwmZ/ufA8NQc39PzK9FC4aatep1YdhSJWdIxgv 3yNqaAsy7Aa6junIZUqTviQcK1Rq/i7jOCZntr0xJv5H2l8crO6s98/C6us/dvU95l7m HI3RtUVr36WSlYC/6G10snDzlKxtPj30oI9UrHefE9XMkEh9NhJAEoaC3FXoprhzpl48 dggfdEhv4q5Lk2smUENCiIFtx8Gmv7IhgBRmEo7i+FKjIOAtYhMUJ+Zg5MLXkwZDT24l 1D/POVccZpSPhnTlcVHfHsS4y2zJ+2XFymPt9TLWAk84bf1AXJsrqcTKE8q+6+YDHWjI eJLA== MIME-Version: 1.0 Received: by 10.224.220.138 with SMTP id hy10mr4225423qab.68.1346941365625; Thu, 06 Sep 2012 07:22:45 -0700 (PDT) Received: by 10.49.119.102 with HTTP; Thu, 6 Sep 2012 07:22:45 -0700 (PDT) In-Reply-To: <76b11beb.6281.1399bf34892.Coremail.qibaoyuan@126.com> References: <126c6b09.621a.1399be7f1ec.Coremail.qibaoyuan@126.com> <13ae4d22.625b.1399beef0d1.Coremail.qibaoyuan@126.com> <76b11beb.6281.1399bf34892.Coremail.qibaoyuan@126.com> Date: Thu, 6 Sep 2012 10:22:45 -0400 Message-ID: Subject: Re: Re: Re: How to incorporate the SmartCnAnalyzer in the core lucene jar From: Cheng To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=20cf3074b9fca1a1ee04c90939ca X-Virus-Checked: Checked by ClamAV on apache.org --20cf3074b9fca1a1ee04c90939ca Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, =E9=BD=90=E4=BF=9D=E5=85=83 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, 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 impo= rt > >> stop word dict;You can try IKAnalyzer instead. > >> > >> > >> At 2012-09-06 22:10:15,Cheng 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 wrote: > >> > > >> >> > >> >> > >> >> import contrib/smartcn.jar is not complicated.or you can try FatJAR= . > >> >> > >> >> > >> >> At 2012-09-06 22:04:58,Cheng wrote: > >> >> >Hi, > >> >> > > >> >> >The default Lucene core jar contains no the smartcn analyzer. How > can I > >> >> >include it into the core jar. > >> >> > > >> >> >Thanks=EF=BC=81 > >> >> > >> > --20cf3074b9fca1a1ee04c90939ca--