gov.llnl.ontology.mains
Class ExtendWordNet.ClassScores
java.lang.Object
gov.llnl.ontology.mains.ExtendWordNet.ClassScores
- Enclosing class:
- ExtendWordNet
public class ExtendWordNet.ClassScores
- extends Object
An internal struct class that maintains the of two words having a
hypernym relationship and a cousin relationship within the wordnet
hierarchy based on word co-occurrence information.
Field Summary |
double |
cousinScore
The probablility that the first word and second word share a cousin
relationship. |
double |
hypernymScore
The probablility that the first word is a hypernym of the second
word. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hypernymScore
public double hypernymScore
- The probablility that the first word is a hypernym of the second
word.
cousinScore
public double cousinScore
- The probablility that the first word and second word share a cousin
relationship.
ExtendWordNet.ClassScores
public ExtendWordNet.ClassScores(double hypernymScore,
double cousinScore)
- Creates a new
ExtendWordNet.ClassScores
.
Copyright © 2010-2011. All Rights Reserved.