Trait/Object

org.clulab.processors

Processor

Related Docs: object Processor | package processors

Permalink

trait Processor extends ProcessorAnnotator

User: mihais Date: 3/1/13 Last Modified: Move preprocess* methods from here to ProcessorAnnotator.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Processor
  2. ProcessorAnnotator
  3. ProcessorCSController
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Permalink

    Shallow parsing; modifies the document in place.

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

    Permalink

    Discourse parsing; modifies the document in place.

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

    Permalink

    Lematization; modifies the document in place.

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

    Permalink

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

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

    Permalink

    Constructs a document of tokens from an array of untokenized sentences.

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

    Permalink

    Constructs a document of tokens from an array of tokenized sentences.

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

    Permalink

    Syntactic parsing; modifies the document in place.

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

    Permalink

    Named Entity Recognition; modifies the document in place.

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

    Permalink

    Coreference resolution; modifies the document in place.

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

    Permalink

    Part of speech tagging; modifies the document in place.

Concrete 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. def annotate(doc: Document): Document

    Permalink

    Annotate the given document, returning an annotated document.

    Annotate the given document, returning an annotated document. The default implementation is an NLP pipeline of side-effecting calls.

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

    Permalink

    Annotate the given text string, specify whether to retain the text in the resultant Document.

    Annotate the given text string, specify whether to retain the text in the resultant Document.

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

    Permalink

    Annotate the given sentences, specify whether to retain the text in the resultant Document.

    Annotate the given sentences, specify whether to retain the text in the resultant Document.

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

    Permalink

    Annotate the given tokens, specify whether to retain the text in the resultant Document.

    Annotate the given tokens, specify whether to retain the text in the resultant Document.

    Definition Classes
    ProcessorProcessorAnnotator
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Permalink

    Runs preprocessText on each sentence.

    Runs preprocessText on each sentence.

    Definition Classes
    ProcessorAnnotator
  20. def preprocessText(origText: String): String

    Permalink

    Hook to allow the preprocessing of input text.

    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

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

    Permalink

    Runs preprocessText on each token.

    Runs preprocessText on each token.

    Definition Classes
    ProcessorAnnotator
  22. def shutdownClient: Unit

    Permalink

    Shutdown the current instance of the client, if any.

    Shutdown the current instance of the client, if any.

    Definition Classes
    ProcessorCSController
  23. def shutdownClientServer: Unit

    Permalink

    Shutdown the remote processor server AND the current instance of the client.

    Shutdown the remote processor server AND the current instance of the client.

    Definition Classes
    ProcessorCSController
  24. def shutdownServer: Unit

    Permalink

    Send the server a message to shutdown actors and terminate the server.

    Send the server a message to shutdown actors and terminate the server.

    Definition Classes
    ProcessorCSController
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from ProcessorAnnotator

Inherited from ProcessorCSController

Inherited from AnyRef

Inherited from Any

Ungrouped