gov.llnl.ontology.wordnet.feature
Interface SynsetPairFeatureMaker

All Known Implementing Classes:
ExtendedSnowEtAlFeatureMaker, SnowEtAlFeatureMaker, StandardFeatureMaker

public interface SynsetPairFeatureMaker

An interface for creating feature vectors that specify how similar two Synsets are to each other. Similarity may be measured based on feature vectors that have been applied to each Synset, their depth in the hierarchy, or any other measure.

Author:
Keith Stevens

Method Summary
 List<String> makeAttributeList()
          Returns a list of attribute labels.
 edu.ucla.sspace.vector.DoubleVector makeFeatureVector(Synset synset1, Synset synset2)
          Returns a feature vector that specifies how similar synset1 is to synset2 according to a variety of measures.
 

Method Detail

makeAttributeList

List<String> makeAttributeList()
Returns a list of attribute labels. This list must have the same length as the feature vector generated for every Synset pair.


makeFeatureVector

edu.ucla.sspace.vector.DoubleVector makeFeatureVector(Synset synset1,
                                                      Synset synset2)
Returns a feature vector that specifies how similar synset1 is to synset2 according to a variety of measures.



Copyright © 2010-2011. All Rights Reserved.