edu.knowitall.openparse.extract

TemplateExtractor

class TemplateExtractor extends GeneralExtractor

An extractor that is specified by a pattern and a template. the template can add a "to be" and/or preposition word around the relation. It can also change the preposition word to another preposition (i.e., switch "of" to "in").

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TemplateExtractor
  2. GeneralExtractor
  3. PatternExtractor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TemplateExtractor(template: Template, pattern: Pattern[DependencyNode], conf: Double)

  2. new TemplateExtractor(template: Template, pattern: ExtractorPattern, conf: Double)

    template

    a template in which to put the relation words

    pattern

    the pattern to extract

    conf

    the confidence of this extractor

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def confidence(extr: Extraction): Double

    Definition Classes
    GeneralExtractorPatternExtractor
  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  11. def extract(dgraph: DependencyGraph)(implicit buildExtraction: (DependencyGraph, Match[DependencyNode], PatternExtractor) ⇒ Iterable[DetailedExtraction], validMatch: (Graph[DependencyNode]) ⇒ (Match[DependencyNode]) ⇒ Boolean): List[DetailedExtraction]

  12. def extractWithMatches(dgraph: DependencyGraph)(implicit buildExtraction: (DependencyGraph, Match[DependencyNode], PatternExtractor) ⇒ Iterable[DetailedExtraction], validMatch: (Graph[DependencyNode]) ⇒ (Match[DependencyNode]) ⇒ Boolean): List[(DetailedExtraction, Match[DependencyNode])]

    Attributes
    protected
    Definition Classes
    GeneralExtractor
  13. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def maximumConfidence: Double

    A maximum confidence for any extraction from this extractor.

    A maximum confidence for any extraction from this extractor. This is used for optimization. If the minimum confidence is larger than the threshold, we don't need to run this extractor.

    Definition Classes
    GeneralExtractorPatternExtractor
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def prepMismatch: Boolean

    Definition Classes
    TemplateExtractorPatternExtractor
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def tabSerialize: String

    Definition Classes
    TemplateExtractorPatternExtractor
  24. val template: Template

    a template in which to put the relation words

  25. def toString(): String

    Definition Classes
    PatternExtractor → AnyRef → Any
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from GeneralExtractor

Inherited from PatternExtractor

Inherited from AnyRef

Inherited from Any

Ungrouped