Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 23645 invoked from network); 25 Mar 2010 22:58:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Mar 2010 22:58:51 -0000 Received: (qmail 43479 invoked by uid 500); 25 Mar 2010 22:58:50 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 43313 invoked by uid 500); 25 Mar 2010 22:58:50 -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 43306 invoked by uid 99); 25 Mar 2010 22:58:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Mar 2010 22:58:50 +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; Thu, 25 Mar 2010 22:58:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7328A234C4EB for ; Thu, 25 Mar 2010 22:58:27 +0000 (UTC) Message-ID: <331306051.499301269557907470.JavaMail.jira@brutus.apache.org> Date: Thu, 25 Mar 2010 22:58:27 +0000 (UTC) From: "Bill Bell (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-2347) Dump WordNet to SOLR Synonym format In-Reply-To: <808698024.499281269557787238.JavaMail.jira@brutus.apache.org> 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-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bill Bell updated LUCENE-2347: ------------------------------ Attachment: Syns2Solr.java > Dump WordNet to SOLR Synonym format > ----------------------------------- > > Key: LUCENE-2347 > URL: https://issues.apache.org/jira/browse/LUCENE-2347 > Project: Lucene - Java > Issue Type: New Feature > Components: contrib/* > Affects Versions: 3.0.1 > Reporter: Bill Bell > Attachments: Syns2Solr.java > > > This enhancement allows you to dump v2 of WordNet to SOLR synonym format! Get all your syns loaded easily. > 1. You can load all synonyms from http://wordnetcode.princeton.edu/2.0/ WordNet V2 to SOLR by first using the Sys2Index program > http://lucene.apache.org/java/2_2_0/api/org/apache/lucene/wordnet/Syns2Index.html > Get WNprolog from http://wordnetcode.princeton.edu/2.0/ > 2. We modified this program to work with SOLR (See attached) on amidev.kaango.com in /vol/src/lucene/contrib/wordnet > vi /vol/src/lucene/contrib/wordnet/src/java/org/apache/lucene/wordnet/Syns2Solr.java > 3. Run ant > 4. java -classpath /vol/src/lucene/build/contrib/wordnet/lucene-wordnet-3.1-dev.jar org.apache.lucene.wordnet.Syns2Solr prolog/wn_s.pl solr > index_synonyms.txt -- 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