public class RelationService
extends java.lang.Object
Constructor and Description |
---|
RelationService(TerminologyService terminologyService,
Relation relation) |
public RelationService(TerminologyService terminologyService, Relation relation)
public Relation getRelation()
public TermService getFrom()
public TermService getTo()
public boolean notExtension()
public boolean isExtension()
public boolean isVariation()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public RelationType getType()
public int getRank()
public boolean isPropertySet(RelationProperty p)
public void setProperty(RelationProperty p, java.lang.Object value)
public java.util.Optional<TermService> getExtensionAffix(Term term)
public java.lang.Object get(RelationProperty property)
public boolean isMorphological()
public boolean notMorphological()
public boolean isSemantic()
public boolean notSemantic()
public boolean isGraphical()
public boolean notGraphical()
public boolean isDerivation()
public boolean notDerivation()
public boolean isPrefixation()
public boolean hasExtensionAffix()
public boolean notPrefixation()
public double getGraphicalSimilarity()
public boolean getBooleanIfSet(RelationProperty p)
public java.lang.String getString(RelationProperty p)
public java.lang.Double getDouble(RelationProperty p)
public java.lang.Integer getInteger(RelationProperty p)
public java.lang.Boolean getBoolean(RelationProperty p)
public java.lang.Integer getVariationRank()
public java.util.Set<java.lang.String> getVariationRules()
public java.lang.String getDerivationType()
public java.lang.Double getSemanticSimilarity()
public java.lang.Double getVariantScore()
public boolean isDistributional()
public java.lang.Double getAffixOrthographicScore()
public java.lang.Double getExtensionScore()
public java.lang.Double getAffixSpec()
public java.lang.Double getSourceGain()
public java.lang.Double getAffixGain()
public java.lang.Double getAffixRatio()
public java.lang.Double getAffixScore()
public java.lang.Double getNormalizedExtensionScore()
public java.lang.Double getNormalizedSourceGain()
public java.lang.Double getNormalizedAffixScore()
public boolean isInfered()
public boolean notInfered()
public boolean notSyntagmatic()
public boolean isSyntagmatic()
public java.lang.Integer getVariantBagFrequency()
public boolean isDico()
public java.lang.Double getSemanticScore()
public boolean isVariationOfType(VariationType type)
public void addVariationRule(java.lang.String rule)