Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 22503 invoked from network); 19 Oct 2009 11:49:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Oct 2009 11:49:55 -0000 Received: (qmail 61692 invoked by uid 500); 19 Oct 2009 11:49:54 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 61626 invoked by uid 500); 19 Oct 2009 11:49:54 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 61618 invoked by uid 99); 19 Oct 2009 11:49:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 11:49:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 11:49:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5675C234C1E9 for ; Mon, 19 Oct 2009 04:49:31 -0700 (PDT) Message-ID: <585493001.1255952971352.JavaMail.jira@brutus> Date: Mon, 19 Oct 2009 04:49:31 -0700 (PDT) From: "Christian Steinert (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-1993) MoreLikeThis - allow to exclude terms that appear in too many documents (patch included) In-Reply-To: <1359538213.1255952971328.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Steinert updated LUCENE-1993: --------------------------------------- Attachment: MoreLikeThis.java.patch suggested patch against current SVN head > MoreLikeThis - allow to exclude terms that appear in too many documents (patch included) > ---------------------------------------------------------------------------------------- > > Key: LUCENE-1993 > URL: https://issues.apache.org/jira/browse/LUCENE-1993 > Project: Lucene - Java > Issue Type: Improvement > Components: contrib/* > Affects Versions: 2.9 > Reporter: Christian Steinert > Attachments: MoreLikeThis.java.patch > > Original Estimate: 0.17h > Remaining Estimate: 0.17h > > The MoreLikeThis class allows to generate a likeness query based on a given document. So far, it is impossible to suppress words from the likeness query, that appear in almost all documents, making it necessary to use extensive lists of stop words. > Therefore I suggest to allow excluding words for which a certain absolute document count or a certain percentage of documents is exceeded. Depending on the corpus of text, words that appear in more than 50 or even 70% of documents can usually be considered insignificant for classifying a document. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org