gov.llnl.ontology.wordnet
Class WordNetCondenser

java.lang.Object
  extended by gov.llnl.ontology.wordnet.WordNetCondenser

public class WordNetCondenser
extends Object

This runnable class creates a series of feature vectors for every synset reachable from the noun "entity" Synset. Competing Synsets for every noun lemma are merged using agglomerative merging. The similarity between any two Synsets is the average simiarlity of the created feature vectors for the two Synsets, along with any additional features created by a SynsetPairFeatureMaker. The resulting WordNet hierarchy is then saved to disk.

Author:
Keith Stevens

Nested Class Summary
static class WordNetCondenser.DataSet
          The SynsetPairFeatureMaker implementations that are usable by this WordNetCondenser.
 
Constructor Summary
WordNetCondenser()
           
 
Method Summary
static void condense(Synset root, SynsetPairFeatureMaker featureMaker)
          Agglomeratively clusters the competing Synsets for each lemma in WordNet.
static void main(String[] args)
          Performs the merge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordNetCondenser

public WordNetCondenser()
Method Detail

main

public static void main(String[] args)
                 throws IOException
Performs the merge.

Throws:
IOException

condense

public static void condense(Synset root,
                            SynsetPairFeatureMaker featureMaker)
Agglomeratively clusters the competing Synsets for each lemma in WordNet. The similarity between any two Synsets the average value of the feature vector generated by the featureMaker.



Copyright © 2010-2011. All Rights Reserved.