bring WordNet into master sandbox build, includes some minor cleanup

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150913 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2004-01-06 01:30:01 +00:00
parent ba6cd9fbe1
commit 9bfb720fca
3 changed files with 10 additions and 11 deletions

View File

@ -1,9 +1,5 @@
$Id$
As of 2002-11-13 WordNet Lucene contribution contains a single Java class:
org.apache.lucene.wordnet.Syns2Index.
This class creates a Lucene index with synonyms for English words from
a Prolog file, which is a part of WordNet database.
$Id$

View File

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<project name="wordnet" default="default">
<description>
WordNet
</description>
<import file="../common.xml"/>
</project>

View File

@ -8,7 +8,6 @@ import org.apache.lucene.document.Document;
import java.io.FileInputStream;
import java.io.DataInputStream;
import java.io.PrintStream;
import java.io.File;
import java.util.List;
import java.util.LinkedList;
@ -226,12 +225,6 @@ public class Syns2Index
/**
* Given the 2 maps fills a document for 1 word.
*
* @param
* @param
* @param
* @param
* @return
*/
private static int index(Map word2Nums, Map num2Words, String g, Document doc)
throws Throwable