Trait

org.clulab.processors

ProcessorAnnotator

Related Doc: package processors

Permalink

trait ProcessorAnnotator extends ProcessorCSController

Common interface for accessing either CLU Lab or CoreNLP processors. Written by: Tom Hicks. 10/3/2017. Last Modified: Extend client/server controller trait.

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

Abstract Value Members

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

    Permalink

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

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

    Permalink

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

  3. abstract 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.

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. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    Runs preprocessText on each sentence.

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

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

    Permalink

    Runs preprocessText on each token.

  18. 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
  19. 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
  20. 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
  21. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from ProcessorCSController

Inherited from AnyRef

Inherited from Any

Ungrouped