edu.arizona.sista.processors

Processor

Related Docs: object Processor | package processors

trait Processor extends AnyRef

User: mihais Date: 3/1/13

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Processor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def chunking(doc: Document): Unit

    Shallow parsing; modifies the document in place

  2. abstract def discourse(doc: Document): Unit

    Discourse parsing; modifies the document in place

  3. abstract def labelSemanticRoles(doc: Document): Unit

    SRL; modifies the document in place

  4. abstract def lemmatize(doc: Document): Unit

    Lematization; modifies the document in place

  5. abstract def mkDocument(text: String, keepText: Boolean = false): Document

    Constructs a document of tokens from free text; includes sentence splitting and tokenization

  6. abstract def mkDocumentFromSentences(sentences: Iterable[String], keepText: Boolean = false, charactersBetweenSentences: Int = 1): Document

    Constructs a document of tokens from an array of untokenized sentences

  7. abstract def mkDocumentFromTokens(sentences: Iterable[Iterable[String]], keepText: Boolean = false, charactersBetweenSentences: Int = 1, charactersBetweenTokens: Int = 1): Document

    Constructs a document of tokens from an array of tokenized sentences

  8. abstract def parse(doc: Document): Unit

    Syntactic parsing; modifies the document in place

  9. abstract def recognizeNamedEntities(doc: Document): Unit

    NER; modifies the document in place

  10. abstract def resolveCoreference(doc: Document): Unit

    Coreference resolution; modifies the document in place

  11. abstract def tagPartsOfSpeech(doc: Document): Unit

    Part of speech tagging This modifies the document in place, which is not too elegant.

    Part of speech tagging This modifies the document in place, which is not too elegant. But there are two reasons for this: (a) Some annotators (e.g., Stanford's CoreNLP) require some state (i.e., their Annotation object) to be passed between operations; (b) This is more efficient during annotate() where all the possible operations are chained.

Concrete Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. def annotate(doc: Document): Document

  5. def annotate(text: String, keepText: Boolean = false): Document

  6. def annotateFromSentences(sentences: Iterable[String], keepText: Boolean = false): Document

  7. def annotateFromTokens(sentences: Iterable[Iterable[String]], keepText: Boolean = false): Document

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. def preprocessSentences(origSentences: Iterable[String]): Iterable[String]

    Runs preprocessText on each sentence

  20. def preprocessText(origText: String): String

    Hook to allow the preprocessing of input text This is useful for domain-specific corrections, such as the ones in BioNLPProcessor, where we remove Table and Fig references Note that this is allowed to change character offsets

    Hook to allow the preprocessing of input text This is useful for domain-specific corrections, such as the ones in BioNLPProcessor, where we remove Table and Fig references Note that this is allowed to change character offsets

    origText

    The original input text

    returns

    The preprocessed text

  21. def preprocessTokens(origSentences: Iterable[Iterable[String]]): Iterable[Iterable[String]]

    Runs preprocessText on each token

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped