Class/Object

org.clulab.openie.entities

RuleBasedEntityFinder

Related Docs: object RuleBasedEntityFinder | package entities

Permalink

class RuleBasedEntityFinder extends EntityFinder with LazyLogging

Finds Open IE-style entities from a org.clulab.processors.Document.

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

Instance Constructors

  1. new RuleBasedEntityFinder(entityEngine: ExtractorEngine, avoidEngine: ExtractorEngine, maxHops: Int, maxLength: Int = ...)

    Permalink

    entityEngine

    an ExtractorEngine for entities. Runs AFTER avoidEngine.

    avoidEngine

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

    maxHops

    the maximum number of dependencies relations to follow during expansion.

    maxLength

    the maximum allowed length of an entity in tokens.

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.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val entityEngine: ExtractorEngine

    Permalink

    an ExtractorEngine for entities.

    an ExtractorEngine for entities. Runs AFTER avoidEngine.

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

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

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

    Permalink

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

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

    a org.clulab.processors.Document

    Definition Classes
    RuleBasedEntityFinderEntityFinder
  15. def extractAndFilter(doc: Document): Seq[Mention]

    Permalink
  16. def extractBaseEntities(doc: Document): Seq[Mention]

    Permalink

    Extracts entities without expanding or applying validation filters *

  17. def finalize(): Unit

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

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

    Permalink

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

  20. def hashCode(): Int

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

    Permalink
  22. def isCoord(i: Int, m: Mention): Boolean

    Permalink

    Checks if the indexed token is a coordination *

  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isValidOutgoingDependency(dep: String): Boolean

    Permalink

    Ensure dependency may be safely traversed

  25. lazy val logger: Logger

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

    Permalink

    the maximum number of dependencies relations to follow during expansion.

  27. val maxLength: Int

    Permalink

    the maximum allowed length of an entity in tokens.

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

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

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

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

    Permalink
  32. def splitCoordinatedEntities(m: Mention): Seq[Mention]

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

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

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

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

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

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

Inherited from LazyLogging

Inherited from EntityFinder

Inherited from AnyRef

Inherited from Any

Ungrouped