Class/Object

org.clulab.processors.corenlp

CoreNLPProcessor

Related Docs: object CoreNLPProcessor | package corenlp

Permalink

class CoreNLPProcessor extends ShallowNLPProcessor

API for Stanford's CoreNLP tools User: mihais Date: 3/1/13 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. CoreNLPProcessor
  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 CoreNLPProcessor(internStrings: Boolean = true, withChunks: Boolean = true, withDiscourse: Int = ShallowNLPProcessor.NO_DISCOURSE, maxSentenceLength: Int = 100)

    Permalink
  2. new CoreNLPProcessor(tokenizerPostProcessor: Option[TokenizerStep], internStrings: Boolean, withChunks: Boolean, withDiscourse: Int, maxSentenceLength: 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. val LEFT_PARENS: Regex

    Permalink
    Definition Classes
    ShallowNLPProcessor
  5. val RIGHT_PARENS: Regex

    Permalink
    Definition Classes
    ShallowNLPProcessor
  6. def annotate(doc: Document): Document

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

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

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

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

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

    Permalink
    Definition Classes
    ShallowNLPProcessor
  12. lazy val chunker: CRFChunker

    Permalink
    Definition Classes
    ShallowNLPProcessor
  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. lazy val coref: StanfordCoreNLP

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

    Permalink
    Definition Classes
    CoreNLPProcessorShallowNLPProcessor → Processor
  17. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. lazy val gsf: GrammaticalStructureFactory

    Permalink
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. lazy val headFinder: SemanticHeadFinder

    Permalink
  24. def in(s: String): String

    Permalink
    Definition Classes
    ShallowNLPProcessor
  25. val internStrings: Boolean

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

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

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

    Permalink
    Definition Classes
    ShallowNLPProcessor
  29. val maxSentenceLength: Int

    Permalink
  30. def mkChunker: CRFChunker

    Permalink
    Definition Classes
    ShallowNLPProcessor
  31. def mkCoref: StanfordCoreNLP

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

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

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

    Permalink
    Definition Classes
    ShallowNLPProcessor → Processor
  35. def mkGSF: GrammaticalStructureFactory

    Permalink
  36. def mkLemmatizer: StanfordCoreNLP

    Permalink
    Definition Classes
    ShallowNLPProcessor
  37. def mkLexicalizedParser: LexicalizedParser

    Permalink
  38. def mkNer: StanfordCoreNLP

    Permalink
    Definition Classes
    ShallowNLPProcessor
  39. def mkPosTagger: StanfordCoreNLP

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

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

    Permalink
    Definition Classes
    AnyRef
  42. lazy val ner: StanfordCoreNLP

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

    Permalink
    Attributes
    protected
    Definition Classes
    ShallowNLPProcessor
  44. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    CoreNLPProcessorShallowNLPProcessor → Processor
  47. lazy val posTagger: StanfordCoreNLP

    Permalink
    Definition Classes
    ShallowNLPProcessor
  48. 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
  49. def recognizeNamedEntities(doc: Document): Unit

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

    Permalink
    Definition Classes
    CoreNLPProcessorShallowNLPProcessor → Processor
  51. lazy val rstConstituentParser: RSTParser

    Permalink
  52. def shutdownClient: Unit

    Permalink
    Definition Classes
    ProcessorCSController
  53. def shutdownClientServer: Unit

    Permalink
    Definition Classes
    ProcessorCSController
  54. def shutdownServer: Unit

    Permalink
    Definition Classes
    ProcessorCSController
  55. def stanfordParse(sentence: CoreMap): Tree

    Permalink
  56. lazy val stanfordParser: LexicalizedParser

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

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

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

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

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

    Permalink
    Definition Classes
    ShallowNLPProcessor
  62. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. val withChunks: Boolean

    Permalink
    Definition Classes
    ShallowNLPProcessor
  66. val withDiscourse: Int

    Permalink

Inherited from ShallowNLPProcessor

Inherited from Processor

Inherited from ProcessorAnnotator

Inherited from ProcessorCSController

Inherited from AnyRef

Inherited from Any

Ungrouped