Class/Object

org.clulab.processors.shallownlp

ShallowNLPProcessor

Related Docs: object ShallowNLPProcessor | package shallownlp

Permalink

class ShallowNLPProcessor extends Processor

A Processor using only shallow analysis: tokenization, lemmatization, POS tagging, and NER. Tokenization is ours. All others implemented using Stanford's CoreNLP tools. User: mihais Date: 2/25/15 Last Modified: Update for Scala 2.12: java converters. Last modified 06/11/2018: Switched to our internal tokenizer

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

Instance Constructors

  1. new ShallowNLPProcessor(internStrings: Boolean = false, withChunks: Boolean = true, withRelationExtraction: Boolean = false)

    Permalink
  2. new ShallowNLPProcessor(tokenizerPostProcessor: Option[TokenizerStep], internStrings: Boolean, withChunks: Boolean, withRelationExtraction: Boolean)

    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. val LEFT_PARENS: Regex

    Permalink
  5. val RIGHT_PARENS: Regex

    Permalink
  6. def annotate(doc: Document): Document

    Permalink
    Definition Classes
    Processor
  7. def annotate(text: String, keepText: Boolean): Document

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

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

    Permalink
    Definition Classes
    Processor
  10. final def asInstanceOf[T0]: T0

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

    Permalink
  12. lazy val chunker: CRFChunker

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

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

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

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  16. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
  22. val internStrings: Boolean

    Permalink
  23. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
  26. lazy val localTokenizer: Tokenizer

    Permalink
    Attributes
    protected
  27. def mkChunker: CRFChunker

    Permalink
  28. def mkDocument(text: String, keepText: Boolean): Document

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

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

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

    Permalink
  32. def mkNer: StanfordCoreNLP

    Permalink
  33. def mkPosTagger: StanfordCoreNLP

    Permalink
  34. def namedEntitySanityCheck(doc: Document): Option[Annotation]

    Permalink
  35. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. lazy val ner: StanfordCoreNLP

    Permalink
  37. def newStanfordCoreNLP(props: Properties, enforceRequirements: Boolean = true): StanfordCoreNLP

    Permalink
    Attributes
    protected
  38. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  41. lazy val posTagger: StanfordCoreNLP

    Permalink
  42. 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

  43. def recognizeNamedEntities(doc: Document): Unit

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  44. def relationExtraction(doc: Document): Unit

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

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  46. def srl(doc: Document): Unit

    Permalink

    Semantic role labeling

    Semantic role labeling

    Definition Classes
    ShallowNLPProcessor → Processor
  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
  51. val tokenizerPostProcessor: Option[TokenizerStep]

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

    Permalink
  56. val withRelationExtraction: Boolean

    Permalink

Inherited from Processor

Inherited from AnyRef

Inherited from Any

Ungrouped