Object

net.sansa_stack.ml.common.nlp.wordnet

WordNetSimilarity

Related Doc: package wordnet

Permalink

object WordNetSimilarity extends WordNet

Linear Supertypes
WordNet, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WordNetSimilarity
  2. WordNet
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def antonyms(word: Word): List[Word]

    Permalink

    Returns the antonym of a word

    Returns the antonym of a word

    word

    : Word

    returns

    : List[Word]

    Definition Classes
    WordNet
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def entailments(synset: Synset): List[Synset]

    Permalink

    Input is a synset returns a list of synsets

    Input is a synset returns a list of synsets

    synset

    :Synset

    returns

    : List[Synset]

    Definition Classes
    WordNet
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getAllHypernyms(synset: Synset): List[List[Synset]]

    Permalink

    Returns list of all hypernyms of a synset

    Returns list of all hypernyms of a synset

    synset

    :Synset

    returns

    : List[Synset]

    Definition Classes
    WordNet
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getDict: Dictionary

    Permalink

    Returns an instance of the WordNet dictionary used in the package

    Returns an instance of the WordNet dictionary used in the package

    Definition Classes
    WordNet
  14. def getSynset(lemma: String, pos: POS, sid: Int): List[Synset]

    Permalink

    Returns a Synset given a String Returns empty list if the lemma did not exist in the WordNet

    Returns a Synset given a String Returns empty list if the lemma did not exist in the WordNet

    lemma

    : String

    pos

    : POS

    sid

    : Integer

    returns

    : List[Synset]

    Definition Classes
    WordNet
  15. def getSynsets(lemma: String, pos: POS): List[Synset]

    Permalink

    Returns a Synset given a String, pos and synset id Returns empty list if the lemma did not exist in the WordNet

    Returns a Synset given a String, pos and synset id Returns empty list if the lemma did not exist in the WordNet

    lemma

    : String

    pos

    : POS

    returns

    List[Synset]

    Definition Classes
    WordNet
  16. def getSynsets(lemma: String): List[Synset]

    Permalink

    Returns a Synset belonging to a lemma String

    Returns a Synset belonging to a lemma String

    lemma

    : String

    returns

    : List[Synset]

    Definition Classes
    WordNet
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hypernyms(synset: Synset): List[Synset]

    Permalink

    Input is a synset returns a list of synsets

    Input is a synset returns a list of synsets

    synset

    :Synset

    Definition Classes
    WordNet
  19. def hyponyms(synset: Synset): List[Synset]

    Permalink

    Input is a synset returns a list of synsets

    Input is a synset returns a list of synsets

    synset

    :Synset

    Definition Classes
    WordNet
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def lemmaNames(synset: Synset): List[String]

    Permalink

    Gets lemma name for a synset

    Gets lemma name for a synset

    synset

    :Synset

    returns

    : List[String]

    Definition Classes
    WordNet
  22. def lowestCommonHypernym(synset1: Synset, synset2: Synset): List[Synset]

    Permalink

    Get lowestCommonHypernym of two Synsets

    Get lowestCommonHypernym of two Synsets

    synset1

    : Synset

    synset2

    : Synset

    returns

    : List[Synset]

    Definition Classes
    WordNet
  23. def maxDepth(synset: Synset): Int

    Permalink

    Returns the length of the longest hypernym path from this synset to the root Since there can be several paths to root, the minimum length is considered

    Returns the length of the longest hypernym path from this synset to the root Since there can be several paths to root, the minimum length is considered

    synset

    : Synset

    returns

    : Integer

    Definition Classes
    WordNet
  24. var maxDepth: Int

    Permalink
    Definition Classes
    WordNet
  25. def memberHolonyms(synset: Synset): List[Synset]

    Permalink

    Input is a synset returns a list of synsets

    Input is a synset returns a list of synsets

    synset

    :Synset

    returns

    : List[Synset]

    Definition Classes
    WordNet
  26. def minDepth(synset: Synset): Int

    Permalink

    Returns the length of the shortest hypernym path from this synset to the root Since there can be several paths to root, the minimum length is considered

    Returns the length of the shortest hypernym path from this synset to the root Since there can be several paths to root, the minimum length is considered

    synset

    : Synset

    returns

    : Integer

    Definition Classes
    WordNet
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def partHolonyms(synset: Synset): List[Synset]

    Permalink

    Input is a synset returns a list of synsets

    Input is a synset returns a list of synsets

    synset

    :Synset

    returns

    : List[Synset]

    Definition Classes
    WordNet
  31. def partMeronyms(synset: Synset): List[Synset]

    Permalink

    Input is a synset returns a list of synsets

    Input is a synset returns a list of synsets

    synset

    :Synset

    returns

    : List[Synset]

    Definition Classes
    WordNet
  32. def relatedLemmas(word: Word, ptr: PointerType): List[Word]

    Permalink

    Returns related lemmas of a word given the word and the type of relation

    Returns related lemmas of a word given the word and the type of relation

    word

    : Word

    ptr

    : PointerType

    returns

    : List[Word]

    Definition Classes
    WordNet
  33. def relatedSynsets(synset: Synset, ptr: PointerType): List[Synset]

    Permalink

    Gets related synsets per function given a pointer type from pointer class

    Gets related synsets per function given a pointer type from pointer class

    synset

    :Synset

    ptr

    : PointerType

    returns

    : List[Synset]

    Definition Classes
    WordNet
  34. def rootHypernyms(synset: Synset): List[Synset]

    Permalink

    Returns the list of root hypernyms of a Synset

    Returns the list of root hypernyms of a Synset

    synset

    : Synset

    returns

    : List[Synset]

    Definition Classes
    WordNet
  35. def shortestHypernymPathLength(synset1: Synset, hypernym: Synset): Int

    Permalink

    Get shortestPath Length to a Hypernim

    Get shortestPath Length to a Hypernim

    synset1

    : Synset

    hypernym

    : Synset

    returns

    : Integer

    Definition Classes
    WordNet
  36. def shortestPathSim(synset1: Synset, synset2: Synset): Double

    Permalink

    Returns the distance similarity of two synsets using the shortest path linking the two synsets (if one exists)

    Returns the distance similarity of two synsets using the shortest path linking the two synsets (if one exists)

    synset1

    : Synset

    synset2

    : Synset

    returns

    : Double

  37. def substanceHolonyms(synset: Synset): List[Synset]

    Permalink

    Input is a synset returns a list of synsets

    Input is a synset returns a list of synsets

    synset

    :Synset

    returns

    : List[Synset]

    Definition Classes
    WordNet
  38. def substanceMeronyms(synset: Synset): List[Synset]

    Permalink

    Input is a synset returns a list of synsets

    Input is a synset returns a list of synsets

    synset

    :Synset

    returns

    : List[Synset]

    Definition Classes
    WordNet
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def wupSimilarity(synset1: Synset, synset2: Synset): Double

    Permalink

    Wu & Palmer (1994) method of measuring semantic relatedness based on node counting.

    Wu & Palmer (1994) method of measuring semantic relatedness based on node counting. given two synsets, synset1 and synset2 returns the similarity score

    synset1

    :Synset

    synset2

    :Synset

    returns

    score :Double

Inherited from WordNet

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped