You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by eh...@apache.org on 2004/01/06 02:30:01 UTC

cvs commit: jakarta-lucene-sandbox/contributions/WordNet/src/java/org/apache/lucene/wordnet Syns2Index.java

ehatcher    2004/01/05 17:30:01

  Modified:    contributions/WordNet README.txt
               contributions/WordNet/src/java/org/apache/lucene/wordnet
                        Syns2Index.java
  Added:       contributions/WordNet build.xml
  Log:
  bring WordNet into master sandbox build, includes some minor cleanup
  
  Revision  Changes    Path
  1.2       +0 -4      jakarta-lucene-sandbox/contributions/WordNet/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/WordNet/README.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README.txt	13 Nov 2002 07:48:53 -0000	1.1
  +++ README.txt	6 Jan 2004 01:30:01 -0000	1.2
  @@ -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$
  
  
  
  1.1                  jakarta-lucene-sandbox/contributions/WordNet/build.xml
  
  Index: build.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="wordnet" default="default">
  
    <description>
      WordNet
    </description>
  
    <import file="../common.xml"/>
  </project>
  
  
  
  1.2       +0 -7      jakarta-lucene-sandbox/contributions/WordNet/src/java/org/apache/lucene/wordnet/Syns2Index.java
  
  Index: Syns2Index.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/WordNet/src/java/org/apache/lucene/wordnet/Syns2Index.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Syns2Index.java	13 Nov 2002 07:43:40 -0000	1.1
  +++ Syns2Index.java	6 Jan 2004 01:30:01 -0000	1.2
  @@ -8,7 +8,6 @@
   
   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 @@
   
       /**
        * 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
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org