Class/Object

net.sansa_stack.ml.common.nlp.wordnet

WordNet

Related Docs: object WordNet | package wordnet

Permalink

class WordNet extends Serializable

WordNet class that provide WordNet related basic services

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

Instance Constructors

  1. new WordNet()

    Permalink

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]

  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]

  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]

  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

  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]

  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]

  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]

  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

  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

  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]

  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]

  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

  24. var maxDepth: Int

    Permalink
  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]

  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

  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]

  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]

  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]

  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]

  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]

  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

  36. 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]

  37. 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]

  38. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped