Class/Object

org.clulab.wm.eidos.groundings.grounders

SRLCompositionalGrounder

Related Docs: object SRLCompositionalGrounder | package grounders

Permalink

class SRLCompositionalGrounder extends EidosOntologyGrounder

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SRLCompositionalGrounder
  2. EidosOntologyGrounder
  3. OntologyGrounder
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SRLCompositionalGrounder(name: String, domainOntology: DomainOntology, w2v: EidosWordToVec, canonicalizer: Canonicalizer, tokenizer: EidosTokenizer)

    Permalink

Type Members

  1. case class GraphNode(index: Int, sentenceHelper: SentenceHelper, backoff: Boolean, topN: Option[Int], threshold: Option[Float], ancestors: Set[Int]) extends Product with Serializable

    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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val conceptEmbeddings: Seq[ConceptEmbedding]

    Permalink
    Definition Classes
    EidosOntologyGrounder
  7. lazy val conceptEmbeddingsMap: Map[String, Seq[ConceptEmbedding]]

    Permalink
    Attributes
    protected
  8. val conceptExamples: Seq[ConceptExamples]

    Permalink
    Definition Classes
    EidosOntologyGrounder
  9. lazy val conceptExamplesMap: Map[String, Seq[ConceptExamples]]

    Permalink
    Attributes
    protected
  10. val conceptPatterns: Seq[ConceptPatterns]

    Permalink
    Definition Classes
    EidosOntologyGrounder
  11. lazy val conceptPatternsMap: Map[String, Seq[ConceptPatterns]]

    Permalink
    Attributes
    protected
  12. def createPredicateTupleFromPath(path: List[GraphNode]): PredicateTuple

    Permalink
  13. val domainOntology: DomainOntology

    Permalink
  14. val emptyOntologyGrounding: OntologyGrounding

    Permalink
    Definition Classes
    EidosOntologyGrounder
  15. def emptyPredicateTuple: PredicateTuple

    Permalink
  16. def ensureSRLs(sentence: Sentence): Sentence

    Permalink
  17. def enumeratePaths(children: Array[GraphNode], traversed: List[List[GraphNode]]): List[List[GraphNode]]

    Permalink
  18. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def exactMatchForPreds(splitText: Array[String], embeddings: Seq[ConceptEmbedding]): Option[(OntologyNodeGrounding, Range)]

    Permalink
    Definition Classes
    EidosOntologyGrounder
  21. def filterAndSlice(fullGrounding: IndividualGroundings, topNOpt: Option[Int] = None, thresholdOpt: Option[Float] = None): IndividualGroundings

    Permalink

    Removes all groundings below a provided threshold (if provided), then truncates the remaining groundings if there are more than asked for (if topN provided)

    Removes all groundings below a provided threshold (if provided), then truncates the remaining groundings if there are more than asked for (if topN provided)

    fullGrounding

    the multiple groundings to different nodes in the ontology

    topNOpt

    optional number of groundings you want to return

    thresholdOpt

    optional threshold for the grounding score, below which you want to prune

    returns

    surviving groundings

    Definition Classes
    EidosOntologyGrounder
  22. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def groundEidosMention(mention: EidosMention, topN: Option[Int] = None, threshold: Option[Float] = None): Seq[OntologyGrounding]

    Permalink
  25. def groundPatternsThenEmbeddings(text: String, splitText: Array[String], patterns: Seq[ConceptPatterns], examples: Seq[ConceptExamples], embeddings: Seq[ConceptEmbedding]): IndividualGroundings

    Permalink
    Definition Classes
    EidosOntologyGrounder
  26. def groundPatternsThenEmbeddings(splitText: Array[String], patterns: Seq[ConceptPatterns], examples: Seq[ConceptExamples], embeddings: Seq[ConceptEmbedding]): IndividualGroundings

    Permalink
    Definition Classes
    EidosOntologyGrounder
  27. def groundPatternsThenEmbeddings(text: String, patterns: Seq[ConceptPatterns], examples: Seq[ConceptExamples], embeddings: Seq[ConceptEmbedding]): IndividualGroundings

    Permalink
    Definition Classes
    EidosOntologyGrounder
  28. def groundSentenceSpan(s: Sentence, tokenInterval: Interval, exclude: Set[String], topNOpt: Option[Int], thresholdOpt: Option[Float]): Seq[OntologyGrounding]

    Permalink
  29. def groundSentenceSpan(s: Sentence, start: Int, end: Int, exclude: Set[String], topN: Option[Int], threshold: Option[Float]): Seq[OntologyGrounding]

    Permalink
  30. def groundStrings(strings: Array[String]): Seq[OntologyGrounding]

    Permalink
  31. def groundText(text: String, canonicalNameParts: Array[String]): OntologyGrounding

    Permalink
  32. def groundable(mention: EidosMention, primaryGrounding: Option[OntologyGroundingMap]): Boolean

    Permalink
    Definition Classes
    EidosOntologyGrounder
  33. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  34. def inBranch(s: String, branches: Seq[ConceptEmbedding]): Boolean

    Permalink
  35. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  36. val name: String

    Permalink
  37. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  38. def newOntologyGrounding(individualGroundings: IndividualGroundings = Seq.empty, branchOpt: Option[String] = None): OntologyGrounding

    Permalink
    Definition Classes
    EidosOntologyGrounder
  39. def nodeExamplesMatch(string: String, examples: Option[Array[String]]): Float

    Permalink
    Definition Classes
    EidosOntologyGrounder
  40. def nodePatternsMatch(string: String, patternsOpt: Option[Array[Regex]]): Boolean

    Permalink
    Definition Classes
    EidosOntologyGrounder
  41. def nodesExampleMatched(string: String, nodes: Seq[ConceptExamples]): Map[Namer, Float]

    Permalink
    Definition Classes
    EidosOntologyGrounder
  42. def nodesPatternMatched(s: String, nodes: Seq[ConceptPatterns]): Seq[OntologyNodeGrounding]

    Permalink
    Definition Classes
    EidosOntologyGrounder
  43. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  45. lazy val proc: CluProcessor

    Permalink
  46. def squeezeNodeList(nodes: List[GraphNode], processed: List[GraphNode]): List[GraphNode]

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

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

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

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

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

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

Inherited from EidosOntologyGrounder

Inherited from OntologyGrounder

Inherited from AnyRef

Inherited from Any

Ungrouped