Class/Object

org.clulab.processors.clu

CluProcessor

Related Docs: object CluProcessor | package clu

Permalink

class CluProcessor extends Processor with Configured

Processor that uses only tools that are under Apache License Currently supports: tokenization (in-house), lemmatization (Morpha), POS tagging (in-house BiMEMM), dependency parsing (ensemble of Malt models)

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

Instance Constructors

  1. new CluProcessor(config: Config = ...)

    Permalink

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.

    Definition Classes
    CluProcessorProcessor
  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 chunking(doc: Document): Unit

    Permalink

    Shallow parsing; modifies the document in place

    Shallow parsing; modifies the document in place

    Definition Classes
    CluProcessorProcessor
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val config: Config

    Permalink
  12. lazy val depParser: Parser

    Permalink
  13. def discourse(doc: Document): Unit

    Permalink

    Discourse parsing; modifies the document in place

    Discourse parsing; modifies the document in place

    Definition Classes
    CluProcessorProcessor
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getArgBoolean(argPath: String, defaultValue: Option[Boolean]): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Configured
  18. def getArgInt(argPath: String, defaultValue: Option[Int]): Int

    Permalink
    Attributes
    protected
    Definition Classes
    Configured
  19. def getArgString(argPath: String, defaultValue: Option[String]): String

    Permalink
    Attributes
    protected
    Definition Classes
    Configured
  20. def getArgStrings(argPath: String, defaultValue: Option[Seq[String]]): Seq[String]

    Permalink
    Attributes
    protected
    Definition Classes
    Configured
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getConf: Config

    Permalink
    Definition Classes
    CluProcessorConfigured
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. val internStrings: Boolean

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def lemmatize(doc: Document): Unit

    Permalink

    Lematization; modifies the document in place

    Lematization; modifies the document in place

    Definition Classes
    CluProcessorProcessor
  27. def mkDocument(text: String, keepText: Boolean = false): Document

    Permalink

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

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

    Definition Classes
    CluProcessorProcessor
  28. def mkDocumentFromSentences(sentences: Iterable[String], keepText: Boolean = false, charactersBetweenSentences: Int = 1): Document

    Permalink

    Constructs a document of tokens from an array of untokenized sentences

    Constructs a document of tokens from an array of untokenized sentences

    Definition Classes
    CluProcessorProcessor
  29. 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

    Constructs a document of tokens from an array of tokenized sentences

    Definition Classes
    CluProcessorProcessor
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. lazy val ner: Option[Tagger[String]]

    Permalink
  32. lazy val nerPostProcessor: Option[SentencePostProcessor]

    Permalink
  33. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  35. def parse(doc: Document): Unit

    Permalink

    Syntactic parsing; modifies the document in place

    Syntactic parsing; modifies the document in place

    Definition Classes
    CluProcessorProcessor
  36. lazy val posPostProcessor: Option[SentencePostProcessor]

    Permalink
  37. lazy val posTagger: PartOfSpeechTagger

    Permalink
  38. def preprocessSentences(origSentences: Iterable[String]): Iterable[String]

    Permalink

    Runs preprocessText on each sentence.

    Runs preprocessText on each sentence.

    Definition Classes
    ProcessorAnnotator
  39. 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
    CluProcessorProcessorAnnotator
  40. def preprocessTokens(origSentences: Iterable[Iterable[String]]): Iterable[Iterable[String]]

    Permalink

    Runs preprocessText on each token.

    Runs preprocessText on each token.

    Definition Classes
    ProcessorAnnotator
  41. def recognizeNamedEntities(doc: Document): Unit

    Permalink

    NER; modifies the document in place

    NER; modifies the document in place

    Definition Classes
    CluProcessorProcessor
  42. def resolveCoreference(doc: Document): Unit

    Permalink

    Coreference resolution; modifies the document in place

    Coreference resolution; modifies the document in place

    Definition Classes
    CluProcessorProcessor
  43. 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
  44. 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
  45. 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
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. def tagPartsOfSpeech(doc: Document): Unit

    Permalink

    Part of speech tagging

    Part of speech tagging

    Definition Classes
    CluProcessorProcessor
  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. lazy val tokenizer: Tokenizer

    Permalink
  50. lazy val tokenizerPostProcessor: Option[TokenizerPostProcessor]

    Permalink
  51. lazy val tokenizerPreProcessor: Option[TokenizerPreProcessor]

    Permalink
  52. final def wait(): Unit

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

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

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

Inherited from Configured

Inherited from Processor

Inherited from ProcessorAnnotator

Inherited from ProcessorCSController

Inherited from AnyRef

Inherited from Any

Ungrouped