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, copied in our repo to minimize dependencies), 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. lazy val chunker: Chunker

    Permalink
  10. def chunking(doc: Document): Unit

    Permalink

    Shallow parsing; modifies the document in place

    Shallow parsing; modifies the document in place

    Definition Classes
    CluProcessorProcessor
  11. def clone(): AnyRef

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

    Permalink
  13. lazy val depParser: Parser

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

    Permalink

    Discourse parsing; modifies the document in place

    Discourse parsing; modifies the document in place

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  26. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Lematization; modifies the document in place

    Lematization; modifies the document in place

    Definition Classes
    CluProcessorProcessor
  28. def lemmatizeWord(word: String): String

    Permalink
  29. 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
  30. 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
  31. 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
  32. final def ne(arg0: AnyRef): Boolean

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

    Permalink
  34. lazy val nerPostProcessor: Option[SentencePostProcessor]

    Permalink
  35. final def notify(): Unit

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

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

    Permalink

    Syntactic parsing; modifies the document in place

    Syntactic parsing; modifies the document in place

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

    Permalink
  39. lazy val posTagger: PartOfSpeechTagger

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

    Permalink

    Runs preprocessText on each sentence.

    Runs preprocessText on each sentence.

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

    Permalink

    Runs preprocessText on each token.

    Runs preprocessText on each token.

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

    Permalink

    NER; modifies the document in place

    NER; modifies the document in place

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

    Permalink

    Coreference resolution; modifies the document in place

    Coreference resolution; modifies the document in place

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

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

    Permalink

    Part of speech tagging

    Part of speech tagging

    Definition Classes
    CluProcessorProcessor
  50. def toString(): String

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

    Permalink
  52. lazy val tokenizerPostProcessor: Option[TokenizerPostProcessor]

    Permalink
  53. lazy val tokenizerPreProcessor: Option[TokenizerPreProcessor]

    Permalink
  54. val useUniversalDependencies: Boolean

    Permalink
  55. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. 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