Class

org.clulab.processors.fastnlp

FastNLPProcessorWithSemanticRoles

Related Doc: package fastnlp

Permalink

class FastNLPProcessorWithSemanticRoles extends FastNLPProcessor

Adds SRL functionality to FastNLPProcessor

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FastNLPProcessorWithSemanticRoles
  2. FastNLPProcessor
  3. OpenIEAnnotator
  4. ShallowNLPProcessor
  5. Processor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FastNLPProcessorWithSemanticRoles(internStrings: Boolean = true, withChunks: Boolean = true, withRelationExtraction: Boolean = false, withDiscourse: Int = ShallowNLPProcessor.NO_DISCOURSE)

    Permalink
  2. new FastNLPProcessorWithSemanticRoles(tokenizerPostProcessor: Option[TokenizerStep], internStrings: Boolean, withChunks: Boolean, withRelationExtraction: 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. 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
    ShallowNLPProcessor → 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
    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 cluProcessor: CluProcessor

    Permalink

    Used for SRL

  16. def combineDocuments(documents: IndexedSeq[Document], combinedTextOpt: Option[String]): Document

    Permalink
    Attributes
    protected
    Definition Classes
    Processor
  17. def discourse(doc: Document): Unit

    Permalink
    Definition Classes
    FastNLPProcessorShallowNLPProcessor → Processor
  18. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    ShallowNLPProcessor
  24. val internStrings: Boolean

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

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

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

    Permalink
    Definition Classes
    ShallowNLPProcessor
  28. lazy val localTokenizer: Tokenizer

    Permalink
    Attributes
    protected
    Definition Classes
    ShallowNLPProcessor
  29. def mkChunker: CRFChunker

    Permalink
    Definition Classes
    ShallowNLPProcessor
  30. def mkCombinedDocument(texts: IndexedSeq[String], trailers: IndexedSeq[String], keepText: Boolean): Document

    Permalink
    Definition Classes
    Processor
  31. def mkDocument(text: String, keepText: Boolean): Document

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

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

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

    Permalink
    Definition Classes
    ShallowNLPProcessor
  35. def mkNer: StanfordCoreNLP

    Permalink
    Definition Classes
    ShallowNLPProcessor
  36. def mkOpenIE: StanfordCoreNLP

    Permalink
    Definition Classes
    OpenIEAnnotator
  37. def mkPosTagger: StanfordCoreNLP

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

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

    Permalink
    Definition Classes
    AnyRef
  40. lazy val ner: StanfordCoreNLP

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

    Permalink
    Definition Classes
    ShallowNLPProcessor
  42. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  44. lazy val openIE: StanfordCoreNLP

    Permalink
    Definition Classes
    OpenIEAnnotator
  45. def parse(doc: Document): Unit

    Permalink
    Definition Classes
    FastNLPProcessorShallowNLPProcessor → Processor
  46. lazy val posTagger: StanfordCoreNLP

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

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

    Permalink
    Definition Classes
    OpenIEAnnotator
  50. def relationExtractionSanityCheck(doc: Document): Option[Annotation]

    Permalink
    Definition Classes
    OpenIEAnnotator
  51. def resolveCoreference(doc: Document): Unit

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

    Permalink

    Semantic role labeling

    Semantic role labeling

    Definition Classes
    FastNLPProcessorWithSemanticRolesFastNLPProcessorShallowNLPProcessor → Processor
  53. lazy val stanfordDepParser: DependencyParser

    Permalink

    Stanford's NN dependency parser

    Stanford's NN dependency parser

    Definition Classes
    FastNLPProcessor
  54. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ShallowNLPProcessor
  63. val withRelationExtraction: Boolean

    Permalink
    Definition Classes
    ShallowNLPProcessor

Inherited from FastNLPProcessor

Inherited from OpenIEAnnotator

Inherited from ShallowNLPProcessor

Inherited from Processor

Inherited from AnyRef

Inherited from Any

Ungrouped