|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Synset in gov.llnl.ontology.mains |
---|
Methods in gov.llnl.ontology.mains with parameters of type Synset | |
---|---|
static void |
DisambiguateDocTags.addLexicallTerms(Synset synset,
edu.ucla.sspace.basis.BasisMapping<String,String> basis,
edu.ucla.sspace.vector.SparseDoubleVector vector)
|
double |
DecentralizedSearch.DistanceMatrix.get(Synset synset1,
Synset synset2)
|
Uses of Synset in gov.llnl.ontology.wordnet |
---|
Classes in gov.llnl.ontology.wordnet that implement Synset | |
---|---|
class |
BaseSynset
The core Synset implementation when interfacing directly with the
word net dictionary files. |
Methods in gov.llnl.ontology.wordnet that return Synset | |
---|---|
Synset |
Lemma.getSynset()
Returns the Synset for this Lemma . |
Synset |
BaseLemma.getSynset()
Returns the Synset for this Lemma . |
Synset |
WordNetCorpusReader.getSynset(String fullSynsetName)
Returns the Synset specified by the full synset name. |
Synset |
TagLinkedOntologyReader.getSynset(String tagName)
Returns the Synset linked to by the given tagName . |
Synset |
OntologyReader.getSynset(String fullSynsetName)
Returns the Synset specified by the full synset name. |
Synset |
UnsupportedOntologyReader.getSynset(String fullSynsetName)
|
Synset |
OntologyReaderAdaptor.getSynset(String fullSynsetName)
|
Synset |
WordNetCorpusReader.getSynset(String lemma,
Synset.PartsOfSpeech pos,
int senseNum)
Returns the single Synset specified by the given lemma name, part
of speech tag, and sense number. |
Synset |
OntologyReader.getSynset(String lemma,
Synset.PartsOfSpeech pos,
int senseNum)
Returns the single Synset specified by the given lemma name, part
of speech tag, and sense number. |
Synset |
UnsupportedOntologyReader.getSynset(String lemma,
Synset.PartsOfSpeech pos,
int senseNum)
|
Synset |
OntologyReaderAdaptor.getSynset(String lemma,
Synset.PartsOfSpeech pos,
int senseNum)
|
Synset[] |
WordNetCorpusReader.getSynsets(String lemma)
Returns all Synset s that match the given lemma name. |
Synset[] |
OntologyReader.getSynsets(String lemma)
Returns all Synset s that match the given lemma name. |
Synset[] |
UnsupportedOntologyReader.getSynsets(String lemma)
|
Synset[] |
OntologyReaderAdaptor.getSynsets(String lemma)
|
Synset[] |
WordNetCorpusReader.getSynsets(String lemma,
Synset.PartsOfSpeech pos)
Returns all Synset s that match the given lemma name and part of
speech. |
Synset[] |
OntologyReader.getSynsets(String lemma,
Synset.PartsOfSpeech pos)
Returns all Synset s that match the given lemma name and part of
speech. |
Synset[] |
UnsupportedOntologyReader.getSynsets(String lemma,
Synset.PartsOfSpeech pos)
|
Synset[] |
OntologyReaderAdaptor.getSynsets(String lemma,
Synset.PartsOfSpeech pos)
|
Synset[] |
WordNetCorpusReader.getSynsets(String lemma,
Synset.PartsOfSpeech pos,
boolean useMorphy)
Returns all Synset s that match the given lemma name and part of
speech. |
Synset[] |
OntologyReader.getSynsets(String lemma,
Synset.PartsOfSpeech pos,
boolean useMorphy)
Returns all Synset s that match the given lemma name and part of
speech. |
static Synset |
SynsetRelations.lowestCommonHypernym(Synset synset1,
Synset synset2)
Returns the deepest Synset that subsumes both synset1 and
synset2 . |
Methods in gov.llnl.ontology.wordnet that return types with arguments of type Synset | |
---|---|
Collection<Synset> |
Synset.allRelations()
Returns the set of all Synset s that are connected to this Synset , regardless of the relation type. |
Collection<Synset> |
BaseSynset.allRelations()
Returns the set of all Synset s that are connected to this Synset , regardless of the relation type. |
Set<Synset> |
WordNetCorpusReader.allSynsets()
Returns a Set of all Synset s maintained by this OntologyReader . |
Set<Synset> |
OntologyReader.allSynsets()
Returns a Set of all Synset s maintained by this OntologyReader . |
Set<Synset> |
UnsupportedOntologyReader.allSynsets()
|
Set<Synset> |
OntologyReaderAdaptor.allSynsets()
|
Set<Synset> |
WordNetCorpusReader.allSynsets(Synset.PartsOfSpeech pos)
Returns a Set of all Synset s for the given Synset.PartsOfSpeech maintained by this OntologyReader . |
Set<Synset> |
OntologyReader.allSynsets(Synset.PartsOfSpeech pos)
Returns a Set of all Synset s for the given Synset.PartsOfSpeech maintained by this OntologyReader . |
Set<Synset> |
UnsupportedOntologyReader.allSynsets(Synset.PartsOfSpeech pos)
|
Set<Synset> |
OntologyReaderAdaptor.allSynsets(Synset.PartsOfSpeech pos)
|
static edu.ucla.sspace.util.Duple<Synset,Double> |
SynsetRelations.bestAttachmentPoint(OntologyReader wordnet,
String[] attachmentLocations,
double[] attachmentScores,
Map<String,Double> cousinScores,
double lambda)
Returns the Synset , the liklihood of this being the best parent,
which is the best attachment point based on the set of possible hypernym
lemmas. |
static edu.ucla.sspace.util.Duple<Synset,Double> |
SynsetRelations.bestAttachmentPointWithError(OntologyReader wordnet,
String[] attachmentLocations,
double[] attachmentScores,
double lambda)
|
Set<Synset> |
Synset.getChildren()
Returns the Synset s that are more specific concepts of this
Synset . |
Set<Synset> |
BaseSynset.getChildren()
Returns the Synset s that are more specific concepts of this
Synset . |
List<List<Synset>> |
Synset.getParentPaths()
Returns a list of all paths from the current Synset to the root
of the IS-A hierarchy. |
List<List<Synset>> |
BaseSynset.getParentPaths()
Returns a list of all paths from the current Synset to the root
of the IS-A hierarchy. |
Set<Synset> |
Synset.getParents()
Returns the Synset s that are generalized concepts of this Synset . |
Set<Synset> |
BaseSynset.getParents()
Returns the Synset s that are generalized concepts of this Synset . |
Set<Synset> |
Synset.getRelations(String relation)
Returns the set of Synset s that are connected to this Synset through the specified relation string. |
Set<Synset> |
BaseSynset.getRelations(String relation)
Returns the set of Synset s that are connected to this Synset through the specified relation string. |
Set<Synset> |
Synset.getRelations(Synset.Relation relation)
Returns the set of Synset s that are connected to this Synset through the specified Synset.Relation . |
Set<Synset> |
BaseSynset.getRelations(Synset.Relation relation)
Returns the set of Synset s that are connected to this Synset through the specified Synset.Relation . |
static List<Synset> |
SynsetRelations.lowestCommonHypernyms(Synset synset1,
Synset synset2)
Returns the set of deepest Synset s that subsumes both synset1 and synset2 . |
static Map<Synset,Integer> |
SynsetRelations.parentDistances(Synset synset,
boolean findMax)
Returns a mapping from a Synset to it's maximum (or minimum)
distance to the given Synset . |
Methods in gov.llnl.ontology.wordnet with parameters of type Synset | |
---|---|
void |
Synset.addDerivationallyRelatedForm(Synset related,
RelatedForm form)
Adds a RelatedForm to this Synset , signifiying that the
two Synset s share a Lemma that are closely related. |
void |
BaseSynset.addDerivationallyRelatedForm(Synset related,
RelatedForm form)
Adds a RelatedForm to this Synset , signifiying that the
two Synset s share a Lemma that are closely related. |
boolean |
Synset.addRelation(String relation,
Synset related)
Returns true if a new relation is added between this and
related by relation . |
boolean |
BaseSynset.addRelation(String relation,
Synset synset)
Returns true if a new relation is added between this and
related by relation . |
boolean |
Synset.addRelation(Synset.Relation relation,
Synset related)
Returns true if a new relation is added between this and
related by relation . |
boolean |
BaseSynset.addRelation(Synset.Relation relation,
Synset synset)
Returns true if a new relation is added between this and
related by relation . |
void |
WordNetCorpusReader.addSynset(Synset synset)
Adds synset to the OntologyReader . |
void |
OntologyReader.addSynset(Synset synset)
Adds synset to the OntologyReader . |
void |
UnsupportedOntologyReader.addSynset(Synset synset)
|
void |
OntologyReaderAdaptor.addSynset(Synset synset)
|
void |
WordNetCorpusReader.addSynset(Synset synset,
int index)
Adds synset to the OntologyReader . |
void |
OntologyReader.addSynset(Synset synset,
int index)
Adds synset to the OntologyReader . |
void |
UnsupportedOntologyReader.addSynset(Synset synset,
int index)
|
void |
OntologyReaderAdaptor.addSynset(Synset synset,
int index)
|
static void |
WordNetCondenser.condense(Synset root,
SynsetPairFeatureMaker featureMaker)
Agglomeratively clusters the competing Synset s for each lemma
in WordNet. |
double |
FileBasedInformationContent.contentForSynset(Synset synset)
Returns the raw content counts for a given Sysnet . |
double |
InformationContent.contentForSynset(Synset synset)
Returns the raw content counts for a given Sysnet . |
static edu.ucla.sspace.util.Pair<Integer> |
SynsetRelations.getCousinDistance(Synset[] term1Synsets,
Synset[] term2Synsets,
int maxDepth)
Returns a Pair of Integer s that specifies the the minimum
distances from a Synset and term1 a Synset of
term2 to lowest common parent Synset which creates the
shorest path between the two synsets. |
static edu.ucla.sspace.util.Pair<Integer> |
SynsetRelations.getCousinDistance(Synset[] term1Synsets,
Synset[] term2Synsets,
int maxDepth)
Returns a Pair of Integer s that specifies the the minimum
distances from a Synset and term1 a Synset of
term2 to lowest common parent Synset which creates the
shorest path between the two synsets. |
RelatedForm |
Synset.getDerivationallyRelatedForm(Synset synset)
Returns a if the provided Synset has a Lemma which is a derivationally related form of a Lemma from
this Synset , or null if there is no relation. |
RelatedForm |
BaseSynset.getDerivationallyRelatedForm(Synset synset)
Returns a if the provided Synset has a Lemma which is a derivationally related form of a Lemma from
this Synset , or null if there is no relation. |
static SynsetRelations.HypernymStatus |
SynsetRelations.getHypernymStatus(Synset[] childSynsets,
Synset[] ancestorSynsets)
Returns the hypernym relationship between some Synset of childTerm and some Synset of ancestorTerm . |
static SynsetRelations.HypernymStatus |
SynsetRelations.getHypernymStatus(Synset[] childSynsets,
Synset[] ancestorSynsets)
Returns the hypernym relationship between some Synset of childTerm and some Synset of ancestorTerm . |
double |
FileBasedInformationContent.informationContent(Synset synset)
Returns the information theoretic content value for a given Synset . |
double |
InformationContent.informationContent(Synset synset)
Returns the information theoretic content value for a given Synset . |
static int |
SynsetRelations.longestPathDistance(Synset synset1,
Synset synset2)
Returns the length of the longest path connecting synset1 and
synset2 . |
static Synset |
SynsetRelations.lowestCommonHypernym(Synset synset1,
Synset synset2)
Returns the deepest Synset that subsumes both synset1 and
synset2 . |
static List<Synset> |
SynsetRelations.lowestCommonHypernyms(Synset synset1,
Synset synset2)
Returns the set of deepest Synset s that subsumes both synset1 and synset2 . |
void |
Synset.merge(Synset other)
Merges this Synset with the provided Synset . |
void |
BaseSynset.merge(Synset synset)
Merges this Synset with the provided Synset . |
static Map<Synset,Integer> |
SynsetRelations.parentDistances(Synset synset,
boolean findMax)
Returns a mapping from a Synset to it's maximum (or minimum)
distance to the given Synset . |
boolean |
Synset.removeRelation(String relation,
Synset related)
Returns true if a relation between this and related by the link relation was removed. |
boolean |
BaseSynset.removeRelation(String relation,
Synset synset)
Returns true if a relation between this and related by the link relation was removed. |
boolean |
Synset.removeRelation(Synset.Relation relation,
Synset related)
Returns true if a relation between this and related by the link relation was removed. |
boolean |
BaseSynset.removeRelation(Synset.Relation relation,
Synset synset)
Returns true if a relation between this and related by the link relation was removed. |
void |
WordNetCorpusReader.removeSynset(Synset synset)
Removes synset from the OntologyReader . |
void |
OntologyReader.removeSynset(Synset synset)
Removes synset from the OntologyReader . |
void |
UnsupportedOntologyReader.removeSynset(Synset synset)
|
void |
OntologyReaderAdaptor.removeSynset(Synset synset)
|
void |
WordNetCorpusReader.replaceSynset(Synset synset,
Synset replacement)
Removes the Synset from the known hierarchy. |
void |
OntologyReader.replaceSynset(Synset synset,
Synset replacement)
Removes the Synset from the known hierarchy. |
void |
UnsupportedOntologyReader.replaceSynset(Synset synset,
Synset replacement)
|
void |
OntologyReaderAdaptor.replaceSynset(Synset synset,
Synset replacement)
|
String |
SynsetWriter.serializeSynset(Synset synset)
Returns a String version of a single Synset . |
String |
WordNetSynsetWriter.serializeSynset(Synset synset)
Returns a string form of this Synset formatted in the WordNet
data.pos file format. |
List<String> |
SynsetWriter.serializeSynsetKeys(Synset synset)
Returns a List of each sense key linked to it's Synset 's
serialziation id. |
List<String> |
WordNetSynsetWriter.serializeSynsetKeys(Synset synset)
Returns a List of each sense key linked to it's Synset 's
serialziation id. |
static void |
SynsetPagerank.setTransitionAttribute(Synset synset,
Map<Synset,Integer> synsetMap)
Create a Attribute for the transition probabilities of the given
Synset . |
static int |
SynsetRelations.shortestPathDistance(Synset synset1,
Synset synset2)
Returns the length of the shortest path connecting synset1 and
synset2 . |
double |
SynsetSimilarity.similarity(Synset synset1,
Synset synset2)
Returns the similarity between synset1 and synset2 based
on how they are connected in the word net hierarchy. |
Method parameters in gov.llnl.ontology.wordnet with type arguments of type Synset | |
---|---|
static edu.ucla.sspace.vector.SparseDoubleVector |
SynsetPagerank.computePageRank(List<Synset> synsetList,
edu.ucla.sspace.vector.SparseDoubleVector sourceWeights,
double weight)
Returns a SparseDoubleVector representing the page rank scores of
each synset in synsetList . |
static void |
SynsetPagerank.setTransitionAttribute(Synset synset,
Map<Synset,Integer> synsetMap)
Create a Attribute for the transition probabilities of the given
Synset . |
static void |
SynsetPagerank.setupTransitionAttributes(List<Synset> synsetList,
Map<Synset,Integer> synsetMap)
Adds transition probability Attribute s for each Synset in
synsetList . |
static void |
SynsetPagerank.setupTransitionAttributes(List<Synset> synsetList,
Map<Synset,Integer> synsetMap)
Adds transition probability Attribute s for each Synset in
synsetList . |
Constructors in gov.llnl.ontology.wordnet with parameters of type Synset | |
---|---|
BaseLemma(Synset synset,
String lemmaName,
String syntacticMarker)
Creates a new Lemma . |
|
BaseLemma(Synset synset,
String lemmaName,
String lexName,
int lexNameIndex,
int lexId,
String syntacticMarker)
Creates a new Lemma . |
Uses of Synset in gov.llnl.ontology.wordnet.builder |
---|
Constructor parameters in gov.llnl.ontology.wordnet.builder with type arguments of type Synset | |
---|---|
BuilderScorer(Map<String,Set<Synset>> wordParents)
|
Uses of Synset in gov.llnl.ontology.wordnet.feature |
---|
Methods in gov.llnl.ontology.wordnet.feature with parameters of type Synset | |
---|---|
protected void |
ExtendedSnowEtAlFeatureMaker.addExtraFeatures(Synset sense1,
Synset sense2,
edu.ucla.sspace.vector.DoubleVector featureVector,
int index)
Adds the distributional similarity score for sense1 and sense2 for each of the specified ontological vectors associated with each
synset. |
protected void |
SnowEtAlFeatureMaker.addExtraFeatures(Synset sense1,
Synset sense2,
edu.ucla.sspace.vector.DoubleVector featureVector,
int index)
Adds extra feature values to featureVector . |
void |
OntologicalFeatureMaker.applyOntologicalFeatures(Synset root,
Set<Synset> leafNodes)
Recursively traverses the Synset hierarchy based at root . |
void |
OntologicalFeatureMaker.induceOntologicalFeatures(Synset root)
Creates feature vectors for every Synset reachable by root . |
edu.ucla.sspace.vector.DoubleVector |
SynsetPairFeatureMaker.makeFeatureVector(Synset synset1,
Synset synset2)
Returns a feature vector that specifies how similar synset1 is to
synset2 according to a variety of measures. |
edu.ucla.sspace.vector.DoubleVector |
StandardFeatureMaker.makeFeatureVector(Synset sense1,
Synset sense2)
Returns a feature vector that specifies how similar synset1 is to
synset2 according to a variety of measures. |
edu.ucla.sspace.vector.DoubleVector |
SnowEtAlFeatureMaker.makeFeatureVector(Synset sense1,
Synset sense2)
Returns a feature vector that specifies how similar synset1 is to
synset2 according to a variety of measures. |
Method parameters in gov.llnl.ontology.wordnet.feature with type arguments of type Synset | |
---|---|
void |
OntologicalFeatureMaker.applyOntologicalFeatures(Synset root,
Set<Synset> leafNodes)
Recursively traverses the Synset hierarchy based at root . |
Uses of Synset in gov.llnl.ontology.wordnet.sim |
---|
Methods in gov.llnl.ontology.wordnet.sim with parameters of type Synset | |
---|---|
double |
LeskSimilarity.similarity(Synset synset1,
Synset synset2)
Returns the similarity between synset1 and synset2 based
on how they are connected in the word net hierarchy. |
double |
PathSimilarity.similarity(Synset synset1,
Synset synset2)
Returns the similarity between synset1 and synset2 based
on how they are connected in the word net hierarchy. |
double |
ResnickSimilarity.similarity(Synset synset1,
Synset synset2)
Returns the similarity between synset1 and synset2 based
on how they are connected in the word net hierarchy. |
double |
LeacockChodorowScaledSimilarity.similarity(Synset synset1,
Synset synset2)
Returns the similarity between synset1 and synset2 based
on how they are connected in the word net hierarchy. |
double |
LeacockChodorowSimilarity.similarity(Synset synset1,
Synset synset2)
Returns the similarity between synset1 and synset2 based
on how they are connected in the word net hierarchy. |
double |
ExtendedLeskSimilarity.similarity(Synset synset1,
Synset synset2)
Returns the similarity between synset1 and synset2 based
on how they are connected in the word net hierarchy. |
double |
WuPalmerSimilarity.similarity(Synset synset1,
Synset synset2)
Returns the similarity between synset1 and synset2 based
on how they are connected in the word net hierarchy. |
double |
LinSimilarity.similarity(Synset synset1,
Synset synset2)
Returns the similarity between synset1 and synset2 based
on how they are connected in the word net hierarchy. |
double |
HirstStOngeSimilarity.similarity(Synset synset1,
Synset synset2)
Returns the similarity between synset1 and synset2 based
on how they are connected in the word net hierarchy. |
double |
JiangConrathSimilarity.similarity(Synset synset1,
Synset synset2)
Returns the similarity between synset1 and synset2 based
on how they are connected in the word net hierarchy. |
Uses of Synset in gov.llnl.ontology.wordnet.wsd |
---|
Methods in gov.llnl.ontology.wordnet.wsd that return Synset | |
---|---|
protected Synset[] |
GraphConnectivityDisambiguation.getSynsets(edu.stanford.nlp.pipeline.Annotation annot)
Returns all of the GraphConnectivityDisambiguation.AnnotationSynset s found given the word and part of
speech information, if present, in annot . |
protected Synset[] |
FirstSenseDisambiguation.getSynsets(OntologyReader reader,
edu.stanford.nlp.pipeline.Annotation annot)
Returns all of the Synset s found given the word and part of
speech information, if present, in annot . |
protected Synset[] |
SlidingWindowDisambiguation.getSynsets(OntologyReader reader,
edu.stanford.nlp.pipeline.Annotation annot)
Returns all of the Synset s found given the word and part of
speech information, if present, in annot . |
Method parameters in gov.llnl.ontology.wordnet.wsd with type arguments of type Synset | |
---|---|
protected void |
PageRankCentralityDisambiguation.processSentenceGraph(List<GraphConnectivityDisambiguation.AnnotationSynset> targetWords,
Set<Synset> synsets,
edu.ucla.sspace.basis.StringBasisMapping synsetBasis,
edu.ucla.sspace.matrix.Matrix adjacencyMatrix)
|
protected abstract void |
GraphConnectivityDisambiguation.processSentenceGraph(List<GraphConnectivityDisambiguation.AnnotationSynset> targetWords,
Set<Synset> synsets,
edu.ucla.sspace.basis.StringBasisMapping synsetBasis,
edu.ucla.sspace.matrix.Matrix adjacencyMatrix)
Disambiguates the Annotations in targetWords by using
the Set GraphConnectivityDisambiguation.AnnotationSynset s carved out of the ontology for a given
setnence. |
protected void |
DegreeCentralityDisambiguation.processSentenceGraph(List<GraphConnectivityDisambiguation.AnnotationSynset> targetWords,
Set<Synset> synsets,
edu.ucla.sspace.basis.StringBasisMapping synsetBasis,
edu.ucla.sspace.matrix.Matrix adjacencyMatrix)
Disambiguates the Annotations in targetWords by using
the Set GraphConnectivityDisambiguation.AnnotationSynset s carved out of the ontology for a given
setnence. |
Constructors in gov.llnl.ontology.wordnet.wsd with parameters of type Synset | |
---|---|
GraphConnectivityDisambiguation.AnnotationSynset(Synset[] senses,
edu.stanford.nlp.pipeline.Annotation annotation,
String term)
Creates a new GraphConnectivityDisambiguation.AnnotationSynset . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |