Class/Object

org.clulab.processors.fastnlp

FastNLPProcessor

Related Docs: object FastNLPProcessor | package fastnlp

Permalink

class FastNLPProcessor extends ShallowNLPProcessor

Fast NLP tools Extends ShallowNLP with a dependency parser based on the Stanford NN dependency parser This means that constituent trees and coreference (which depends on constituent syntax) are not available The default setting is to use the Stanford parser with "basic" dependencies User: mihais Date: 1/4/14 Last Modified: Update for Scala 2.12: java converters.

Linear Supertypes
ShallowNLPProcessor, Processor, ProcessorAnnotator, ProcessorCSController, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FastNLPProcessor
  2. ShallowNLPProcessor
  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 FastNLPProcessor(internStrings: Boolean = true, withChunks: Boolean = true, withDiscourse: Int = ShallowNLPProcessor.NO_DISCOURSE)

    Permalink
  2. new FastNLPProcessor(tokenizerPostProcessor: Option[TokenizerStep], internStrings: Boolean, withChunks: Boolean, withDiscourse: Int)

    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
    Definition Classes
    Processor
  5. def annotate(text: String, keepText: Boolean): Document

    Permalink
    Definition Classes
    Processor → ProcessorAnnotator
  6. def annotateFromSentences(sentences: Iterable[String], keepText: Boolean): Document

    Permalink
    Definition Classes
    Processor → ProcessorAnnotator
  7. def annotateFromTokens(sentences: Iterable[Iterable[String]], keepText: Boolean): Document

    Permalink
    Definition Classes
    Processor → ProcessorAnnotator
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def basicSanityCheck(doc: Document, checkAnnotation: Boolean = true): Option[Annotation]

    Permalink
    Definition Classes
    ShallowNLPProcessor
  10. lazy val chunker: CRFChunker

    Permalink
    Definition Classes
    ShallowNLPProcessor
  11. def chunking(doc: Document): Unit

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def discourse(doc: Document): Unit

    Permalink
    Definition Classes
    FastNLPProcessorShallowNLPProcessor → Processor
  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. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def in(s: String): String

    Permalink
    Definition Classes
    ShallowNLPProcessor
  20. val internStrings: Boolean

    Permalink
    Definition Classes
    ShallowNLPProcessor
  21. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  23. lazy val lemmatizer: StanfordCoreNLP

    Permalink
    Definition Classes
    ShallowNLPProcessor
  24. def mkChunker: CRFChunker

    Permalink
    Definition Classes
    ShallowNLPProcessor
  25. def mkDocument(text: String, keepText: Boolean): Document

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  26. def mkDocumentFromSentences(sentences: Iterable[String], keepText: Boolean, charactersBetweenSentences: Int = 1): Document

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  27. def mkDocumentFromTokens(sentences: Iterable[Iterable[String]], keepText: Boolean, charactersBetweenSentences: Int = 1, charactersBetweenTokens: Int = 1): Document

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  28. def mkLemmatizer: StanfordCoreNLP

    Permalink
    Definition Classes
    ShallowNLPProcessor
  29. def mkNer: StanfordCoreNLP

    Permalink
    Definition Classes
    ShallowNLPProcessor
  30. def mkPosTagger: StanfordCoreNLP

    Permalink
    Definition Classes
    ShallowNLPProcessor
  31. def namedEntitySanityCheck(doc: Document): Option[Annotation]

    Permalink
    Definition Classes
    ShallowNLPProcessor
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. lazy val ner: StanfordCoreNLP

    Permalink
    Definition Classes
    ShallowNLPProcessor
  34. def newStanfordCoreNLP(props: Properties, enforceRequirements: Boolean = true): StanfordCoreNLP

    Permalink
    Attributes
    protected
    Definition Classes
    ShallowNLPProcessor
  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
    Definition Classes
    FastNLPProcessorShallowNLPProcessor → Processor
  38. lazy val posTagger: StanfordCoreNLP

    Permalink
    Definition Classes
    ShallowNLPProcessor
  39. def postprocessTags(annotation: Annotation): Unit

    Permalink

    Hook to allow postprocessing of CoreNLP POS tagging *in place*, overwriting original POS tags This is useful for domain-specific corrections

    Hook to allow postprocessing of CoreNLP POS tagging *in place*, overwriting original POS tags This is useful for domain-specific corrections

    annotation

    The CoreNLP annotation

    Definition Classes
    ShallowNLPProcessor
  40. def recognizeNamedEntities(doc: Document): Unit

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  41. def resolveCoreference(doc: Document): Unit

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  42. lazy val rstDependencyParser: RSTParser

    Permalink

    RST discourse parser using only dependency based syntax

  43. def shutdownClient: Unit

    Permalink
    Definition Classes
    ProcessorCSController
  44. def shutdownClientServer: Unit

    Permalink
    Definition Classes
    ProcessorCSController
  45. def shutdownServer: Unit

    Permalink
    Definition Classes
    ProcessorCSController
  46. lazy val stanfordDepParser: DependencyParser

    Permalink

    Stanford's NN dependency parser

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

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

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  49. def toString(): String

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

    Permalink
    Definition Classes
    ShallowNLPProcessor
  51. val tokenizerPostProcessor: Option[TokenizerStep]

    Permalink
    Definition Classes
    ShallowNLPProcessor
  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( ... )
  55. val withChunks: Boolean

    Permalink
    Definition Classes
    ShallowNLPProcessor

Inherited from ShallowNLPProcessor

Inherited from Processor

Inherited from ProcessorAnnotator

Inherited from ProcessorCSController

Inherited from AnyRef

Inherited from Any

Ungrouped