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 65A9D11A5C for ; Sun, 15 Jun 2014 12:21:19 +0000 (UTC) Received: (qmail 61879 invoked by uid 500); 15 Jun 2014 12:21:17 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 61808 invoked by uid 500); 15 Jun 2014 12:21:17 -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 61796 invoked by uid 99); 15 Jun 2014 12:21:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jun 2014 12:21:17 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rcmuir@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-ob0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jun 2014 12:21:14 +0000 Received: by mail-ob0-f170.google.com with SMTP id uz6so4613060obc.29 for ; Sun, 15 Jun 2014 05:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=Z3mHQL5VHRQZ2w24zoxjwyg1ja2IrK4XxQ0WjwNZN/E=; b=Nm40Pn2KDhRP4jLFt2z6CesZPIfXUhs5LhoIO3g13MQth9IEEEB6GSqoKHK+42jb8i lzXtjg5p6NYIJvTpyPfXCGCcdhq58hqmb6XKPc3qaDPkpzWAeHftERyhHNAkNpj600Xi 6A0CIqPRKdlojpak8v5QD4uj4BlgIfQYGXVt3wzraZm9FOTBK0cAiAh0m/52N7OWp2Rn rmkdtC64xfshZn/ZKieYMjy54A0RpqJHpHppuB5nLOxv3/ClgGtAP8PL8/7t+5uRalEi YKg5E9RfWSdUqpKd79ivjKxPnK/v7RZ/HLwpHsylvbVlob0lHrk4xNIgVA5fco02byk9 8Ndg== X-Received: by 10.182.60.42 with SMTP id e10mr14095118obr.33.1402834849658; Sun, 15 Jun 2014 05:20:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.62.66 with HTTP; Sun, 15 Jun 2014 05:20:29 -0700 (PDT) In-Reply-To: References: From: Robert Muir Date: Sun, 15 Jun 2014 08:20:29 -0400 Message-ID: Subject: Re: Hunspell low level interface in Lucene 4.8 To: java-user Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Can you just use the tokenstream api? Thats the one we maintain and support= ... On Sat, Jun 14, 2014 at 10:42 AM, Michal Lopuszynski wro= te: > Dear all, > > I am not much into searching, however, I used Lucene to do some text > postprocessing, (esp. stemming) using low level tools generously > gathered in Lucene. > > I was very happy to see the memory footprint improvement in the > Hunspell stemmer algorithm > (https://issues.apache.org/jira/browse/LUCENE-5468) in 4.8.* > > However, I also found out that low level interface (basically a class > providing method taking String and returning list of stems) provided > in the class HunspellStemmer in Lucene 4.7.2 somehow disappeared in > 4.8.*: > > http://lucene.apache.org/core/4_7_2/analyzers-common/org/apache/lucene/an= alysis/hunspell/HunspellStemmer.html > > After a brief analysis of sources, I found out that the functionality I a= m after > is provided in the class org.apache.lucene.analysis.hunspell.Stemmer, > which is private (!!!) in 4.8.* :( > > Is it possible to make it public in the forthcoming release? > Or maybe I am missing something and there is other way to access such > low-level functionality? > > It would help me a lot! Thank you for any of your hints on the issue! > > Kind regards, > Micha=C5=82 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org