package edu.stanford.nlp.pipeline

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message CorefChain

CoreNLP.proto:350

A coreference chain. These fields are not *really* optional. CoreNLP will crash without them.

Used in: Document

message CorefChain.CorefMention

CoreNLP.proto:351

Used in: CorefChain

message DependencyConverterRequest

CoreNLP.proto:859

A request for converting constituency trees to dependency graphs

message DependencyConverterResponse

CoreNLP.proto:865

The result of using the CoreNLP dependency converter. One graph per tree

message DependencyConverterResponse.DependencyConversion

CoreNLP.proto:866

Used in: DependencyConverterResponse

message DependencyEnhancerRequest

CoreNLP.proto:775

A protobuf which allows to pass in a document with basic dependencies to be converted to enhanced

message DependencyGraph

CoreNLP.proto:314

A dependency graph representation.

Used in: DependencyConverterResponse.DependencyConversion, Quote, RelationTriple, SemgrexRequest.Dependencies, Sentence, SsurgeonRequest, SsurgeonResponse.SsurgeonResult

message DependencyGraph.Edge

CoreNLP.proto:322

Used in: DependencyGraph

message DependencyGraph.Node

CoreNLP.proto:315

Used in: DependencyGraph

message Document

CoreNLP.proto:40

A document; that is, the equivalent of an Annotation.

Used in: DependencyEnhancerRequest, TokensRegexRequest

message Entity

CoreNLP.proto:466

A representation of an entity in a relation. This corresponds to the EntityMention, and more broadly the ExtractionObject classes.

Used in: Relation, Sentence

message EvaluateParserRequest

CoreNLP.proto:802

A protobuf for calling the java constituency parser evaluator from elsewhere

message EvaluateParserRequest.ParseResult

CoreNLP.proto:803

Used in: EvaluateParserRequest

message EvaluateParserResponse

CoreNLP.proto:813

message FlattenedParseTree

CoreNLP.proto:787

A version of ParseTree with a flattened structure so that deep trees don't exceed the protobuf stack depth

Used in: DependencyConverterRequest, DependencyConverterResponse.DependencyConversion, EvaluateParserRequest.ParseResult, TsurgeonRequest, TsurgeonResponse

message FlattenedParseTree.Node

CoreNLP.proto:788

Used in: FlattenedParseTree

message IndexedWord

CoreNLP.proto:423

Used in: Mention

enum Language

CoreNLP.proto:23

An enumeration for the valid languages allowed in CoreNLP

Used in: DependencyEnhancerRequest, DependencyGraph.Edge

message MapIntString

CoreNLP.proto:613

A map from integers to strings. Used, minimally, in the CoNLLU featurizer

message MapStringString

CoreNLP.proto:604

A map from strings to strings. Used, minimally, in the CoNLLU featurizer

Used in: Token

message Mention

CoreNLP.proto:373

Used in: Document, Sentence

message MorphologyRequest

CoreNLP.proto:837

Sent in Morphology requests - a stream of sentences with tagged words

message MorphologyRequest.TaggedWord

CoreNLP.proto:838

Used in: MorphologyRequest

message MorphologyResponse

CoreNLP.proto:847

Sent back from the Morphology request - the words and their tags

message MorphologyResponse.WordTagLemma

CoreNLP.proto:848

Used in: MorphologyResponse

message NERMention

CoreNLP.proto:542

An NER mention in the text

Used in: Document, Sentence

enum NaturalLogicRelation

CoreNLP.proto:516

The seven informative Natural Logic relations

Used in: Polarity

message Operator

CoreNLP.proto:503

A Natural Logic operator

Used in: Token

message ParseTree

CoreNLP.proto:302

A syntactic parse tree, with scores.

Used in: Sentence

message Polarity

CoreNLP.proto:529

The polarity of a word, according to Natural Logic

Used in: Token

message Quote

CoreNLP.proto:275

A quotation marker in text

Used in: Document, Section

message Relation

CoreNLP.proto:486

A representation of a relation, mirroring RelationMention

Used in: Sentence

message RelationTriple

CoreNLP.proto:584

An OpenIE relation triple. Created by the openie annotator.

Used in: Sentence

message Section

CoreNLP.proto:622

Used in: Document

message SemgrexRequest

CoreNLP.proto:642

A message for requesting a semgrex Each sentence stores information about the tokens making up the corresponding graph An alternative would have been to use the existing Document or Sentence classes, but the problem with that is it would be ambiguous which dependency object to use.

message SemgrexRequest.Dependencies

CoreNLP.proto:643

Used in: SemgrexRequest

message SemgrexResponse

CoreNLP.proto:660

The response from running a semgrex If you pass in M semgrex expressions and N dependency graphs, this returns MxN nested results. Each SemgrexResult can match multiple times in one graph You may want to send multiple semgrexes per query because translating large numbers of dependency graphs to protobufs will be expensive, so doing several queries at once will save time

message SemgrexResponse.GraphResult

CoreNLP.proto:700

Used in: SemgrexResponse

message SemgrexResponse.Match

CoreNLP.proto:681

Used in: SemgrexResult

message SemgrexResponse.NamedEdge

CoreNLP.proto:671

Used in: Match

message SemgrexResponse.NamedNode

CoreNLP.proto:661

Used in: Match

message SemgrexResponse.NamedRelation

CoreNLP.proto:666

Used in: Match

message SemgrexResponse.SemgrexResult

CoreNLP.proto:696

Used in: GraphResult

message Sentence

CoreNLP.proto:82

The serialized version of a CoreMap representing a sentence.

Used in: Document

message SentenceFragment

CoreNLP.proto:561

An entailed sentence fragment. Created by the openie annotator.

Used in: Sentence

enum Sentiment

CoreNLP.proto:264

An enumeration of valid sentiment values for the sentiment classifier.

Used in: ParseTree

message Span

CoreNLP.proto:442

A Span of text

Used in: Token

message SpeakerInfo

CoreNLP.proto:434

Used in: Mention

message SsurgeonRequest

CoreNLP.proto:720

A message for processing an Ssurgeon Each sentence stores information about the tokens making up the corresponding graph An alternative would have been to use the existing Document or Sentence classes, but the problem with that is it would be ambiguous which dependency object to use. Another problem is that if the intent is to use multiple graphs from a Sentence, then edits to the nodes of one graph would show up in the nodes of the other graph (same backing CoreLabels) and the operations themselves may not have the intended effect. The Ssurgeon is composed of two pieces, the semgrex and the ssurgeon operations, along with some optional documentation.

message SsurgeonRequest.Ssurgeon

CoreNLP.proto:721

Used in: SsurgeonRequest

message SsurgeonResponse

CoreNLP.proto:733

message SsurgeonResponse.SsurgeonResult

CoreNLP.proto:734

Used in: SsurgeonResponse

message Timex

CoreNLP.proto:451

A Timex object, representing a temporal expression (TIMe EXpression) These fields are not *really* optional. CoreNLP will crash without them.

Used in: NERMention, Token

message Token

CoreNLP.proto:149

The serialized version of a Token (a CoreLabel).

Used in: DependencyGraph, Document, Section, SemgrexRequest.Dependencies, Sentence

message TokenLocation

CoreNLP.proto:573

The index of a token in a document, including the sentence index and the offset.

Used in: RelationTriple

message TokensRegexRequest

CoreNLP.proto:744

It's possible to send in a whole document, but we only care about the Sentences and Tokens

message TokensRegexResponse

CoreNLP.proto:753

The result will be a nested structure: repeated PatternMatch, one for each pattern each PatternMatch has a repeated Match, which tells you which sentence matched and where

message TokensRegexResponse.Match

CoreNLP.proto:760

Used in: PatternMatch

message TokensRegexResponse.MatchLocation

CoreNLP.proto:754

Used in: Match

message TokensRegexResponse.PatternMatch

CoreNLP.proto:766

Used in: TokensRegexResponse

message TsurgeonRequest

CoreNLP.proto:822

A protobuf for running Tsurgeon operations on constituency trees

message TsurgeonRequest.Operation

CoreNLP.proto:823

Used in: TsurgeonRequest

message TsurgeonResponse

CoreNLP.proto:832

The results of the Tsurgeon operation