Class/Object

org.clulab.openie.entities

CustomizableRuleBasedFinder

Related Docs: object CustomizableRuleBasedFinder | package entities

Permalink

class CustomizableRuleBasedFinder extends RuleBasedEntityFinder

Linear Supertypes
RuleBasedEntityFinder, LazyLogging, EntityFinder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CustomizableRuleBasedFinder
  2. RuleBasedEntityFinder
  3. LazyLogging
  4. EntityFinder
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CustomizableRuleBasedFinder(entityEngine: ExtractorEngine, avoidEngine: ExtractorEngine, tagSet: TagSet, stopNER: Set[String], maxHops: Int, maxLength: Int, INVALID_OUTGOING: Set[Regex], INVALID_INCOMING: Set[Regex], VALID_OUTGOING: Set[Regex])

    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. val INVALID_INCOMING: Set[Regex]

    Permalink
  5. val INVALID_OUTGOING: Set[Regex]

    Permalink
  6. val VALID_OUTGOING: Set[Regex]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val avoidEngine: ExtractorEngine

    Permalink

    an ExtractorEngine for tokens/spans to be avoided.

    an ExtractorEngine for tokens/spans to be avoided. Runs BEFORE entityEngine.

    Definition Classes
    RuleBasedEntityFinder
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def containsValidNounVerb(entity: Mention): Boolean

    Permalink

    Determines if the entity has at least one noun/verb that is not a stopNER

    Determines if the entity has at least one noun/verb that is not a stopNER

    entity

    the candidate entity Mention

  11. val entityEngine: ExtractorEngine

    Permalink

    an ExtractorEngine for entities.

    an ExtractorEngine for entities. Runs AFTER avoidEngine.

    Definition Classes
    RuleBasedEntityFinder
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def expand(entity: Mention, maxHops: Int): Mention

    Permalink

    Expands an entity up to the specified number of hops along valid grammatical relations.

    Expands an entity up to the specified number of hops along valid grammatical relations.

    Definition Classes
    RuleBasedEntityFinder
  15. def extract(doc: Document): Seq[Mention]

    Permalink

    Performs rule-based entity extraction with selective expansion along syntactic dependencies.

    Performs rule-based entity extraction with selective expansion along syntactic dependencies. For filtering, see filterEntities.

    doc

    an org.clulab.processors.Document

    Definition Classes
    CustomizableRuleBasedFinderRuleBasedEntityFinderEntityFinder
  16. def extractAndFilter(doc: Document): Seq[Mention]

    Permalink
    Definition Classes
    RuleBasedEntityFinder
  17. def extractBaseEntities(doc: Document): Seq[Mention]

    Permalink

    Extracts entities without expanding or applying validation filters *

    Extracts entities without expanding or applying validation filters *

    Definition Classes
    RuleBasedEntityFinder
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def firstValid(tags: Seq[String], mentionStart: Int, tagSet: TagSet): Int

    Permalink
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hasValidIncomingDependencies(tokenIdx: Int, incomingDependencies: Array[Array[(Int, String)]]): Boolean

    Permalink

    Ensure current token does not have any incoming dependencies that are invalid *

    Ensure current token does not have any incoming dependencies that are invalid *

    Definition Classes
    RuleBasedEntityFinder
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def incomingEdges(s: Sentence): Array[Array[(Int, String)]]

    Permalink
    Definition Classes
    RuleBasedEntityFinder
  24. def isCoord(i: Int, m: Mention): Boolean

    Permalink

    Checks if the indexed token is a coordination *

    Checks if the indexed token is a coordination *

    Definition Classes
    RuleBasedEntityFinder
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def isValidBaseEntity(entity: Mention): Boolean

    Permalink

    Determines whether or not an entity is a valid base entity.

    Determines whether or not an entity is a valid base entity. We want to disallow JJ-only entities except when they are a result of the head noun being a trigger (i.e. being avoided)

  27. def isValidOutgoingDependency(dep: String): Boolean

    Permalink

    Ensure dependency may be safely traversed

    Ensure dependency may be safely traversed

    Definition Classes
    RuleBasedEntityFinder
  28. def lastValid(tags: Seq[String], mentionEnd: Int, tagSet: TagSet): Int

    Permalink
  29. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  30. val maxHops: Int

    Permalink

    the maximum number of dependencies relations to follow during expansion.

    the maximum number of dependencies relations to follow during expansion.

    Definition Classes
    RuleBasedEntityFinder
  31. val maxLength: Int

    Permalink

    the maximum allowed length of an entity in tokens.

    the maximum allowed length of an entity in tokens.

    Definition Classes
    RuleBasedEntityFinder
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def outgoingEdges(s: Sentence): Array[Array[(Int, String)]]

    Permalink
    Definition Classes
    RuleBasedEntityFinder
  36. def splitCoordinatedEntities(m: Mention): Seq[Mention]

    Permalink
    Definition Classes
    RuleBasedEntityFinder
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. val tagSet: TagSet

    Permalink
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. def trimEntityEdges(entity: Mention, tagSet: TagSet): Mention

    Permalink

    Trims found entities of leading or trailing unwanted tokens.

    Trims found entities of leading or trailing unwanted tokens. Currently, we define "unwanted" as being POS tagged with one of the tags in INVALID_EDGE_TAGS.

    entity

    the candidate entity Mention

    returns

    TextBoundMention with valid interval

  41. def validEdgeTag(tag: String, tagSet: TagSet): Boolean

    Permalink
  42. final def wait(): Unit

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

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

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

Inherited from RuleBasedEntityFinder

Inherited from LazyLogging

Inherited from EntityFinder

Inherited from AnyRef

Inherited from Any

Ungrouped