Class/Object

net.sansa_stack.ml.spark.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 allHypernyms(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]

  5. def antonyms(word: Word): List[Word]

    Permalink

    Returns the antonym of a word

    Returns the antonym of a word

    word

    : Word

    returns

    : List[Word]

  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def depth(synset: Synset): Int

    Permalink

    Returns the depth of a synset Since there can be several paths to root, the minimum lenth is considered

    Returns the depth of a synset Since there can be several paths to root, the minimum lenth is considered

    synset

    : Synset

    returns

    : Integer

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

  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

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

    Permalink

    Returns an instance of the WordNet dictionary used in the package

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

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

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

  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. 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

  20. 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

  21. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Gets lemma name for a synset

    Gets lemma name for a synset

    synset

    :Synset

    returns

    : List[String]

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

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

  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. 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]

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

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

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

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

  33. 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

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

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

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

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

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

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

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

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

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped