Object

org.clulab.reach.assembly.sieves

SieveUtils

Related Doc: package sieves

Permalink

object SieveUtils extends LazyLogging

Utilities commonly used by Sieves

Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SieveUtils
  2. LazyLogging
  3. AnyRef
  4. 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. val E1PrecedesE2: String

    Permalink
  5. val E2PrecedesE1: String

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def assemblyViaRules(rulesPath: String, existingMentions: Seq[Mention]): Seq[Mention]

    Permalink

    Applies a set of assembly rules to provide mentions (existingMentions).

    Applies a set of assembly rules to provide mentions (existingMentions).
    Care is taken to apply the rules to each set of mentions from the same Document.

    rulesPath

    a path to a rule file (under resources)

    existingMentions

    a Seq of Odin Mentions

    returns

    a Seq of RelationMentions

  8. val classifierPath: String

    Permalink
  9. def classifyCausalPrecedencePairs(validMentions: Seq[Mention], manager: AssemblyManager, sieveName: String, isValidPair: (Mention, Mention) ⇒ Boolean): AssemblyManager

    Permalink

    Classifies pairs of mentions meeting given criteria using the feature-based precedence classifier

    Classifies pairs of mentions meeting given criteria using the feature-based precedence classifier

    validMentions

    a set of candidate mentions to generate pairs for classification

    sieveName

    the name of the sieve applying the classifier (used when storing a precedence relation)

    isValidPair

    a function that tests whether or not a pair of mentions should be considered for classification

  10. lazy val clf: AssemblyRelationClassifier

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val config: Config

    Permalink
  13. def createEvidenceForCPR(before: Mention, after: Mention, foundBy: String): Set[Mention]

    Permalink

    Create evidence from Causal Precedence relation

    Create evidence from Causal Precedence relation

    before

    an Odin-style Mention preceding 'after'

    after

    an Odin-style Mention following 'before'

    foundBy

    the name of the sieve that found the relation

    returns

    a set of Mention

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def findTrigger(m: Mention): TextBoundMention

    Permalink

    Retrieve trigger from Mention

    Retrieve trigger from Mention

    Annotations
    @tailrec()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def isEvent(m: Mention): Boolean

    Permalink

    Returns true if the mention is an Event and therefore a candidate for precedence

    Returns true if the mention is an Event and therefore a candidate for precedence

    m

    an Odin Mention

    returns

    a Boolean

  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. val kWindow: Int

    Permalink
  23. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. val precedenceMentionLabel: String

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. def validPrecedenceCandidate(m: Mention): Boolean

    Permalink

    Check if mention is a causal precedence candidate

    Check if mention is a causal precedence candidate

    m

    an Odin-style Mention

    returns

    true or false

  31. final def wait(): Unit

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

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

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

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped