Package edu.stanford.nlp.pipeline
Interface CoreNLPProtos.SemgrexRequest.DependenciesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CoreNLPProtos.SemgrexRequest.Dependencies,CoreNLPProtos.SemgrexRequest.Dependencies.Builder
- Enclosing class:
- CoreNLPProtos.SemgrexRequest
public static interface CoreNLPProtos.SemgrexRequest.DependenciesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoreNLPProtos.DependencyGraphgetEnhancedGraph()The enhanced dependency graph, searched by relations written with @enhanced, such as >nsubj@enhanced.CoreNLPProtos.DependencyGraphOrBuildergetEnhancedGraphOrBuilder()The enhanced dependency graph, searched by relations written with @enhanced, such as >nsubj@enhanced.CoreNLPProtos.DependencyGraphgetGraph()The basic dependency graph.CoreNLPProtos.DependencyGraphOrBuildergetGraphOrBuilder()The basic dependency graph.StringgetSentenceID()The sent_id of the sentence, if it has one.com.google.protobuf.ByteStringgetSentenceIDBytes()The sent_id of the sentence, if it has one.CoreNLPProtos.TokengetToken(int index)repeated .edu.stanford.nlp.pipeline.Token token = 1;intgetTokenCount()repeated .edu.stanford.nlp.pipeline.Token token = 1;List<CoreNLPProtos.Token>getTokenList()repeated .edu.stanford.nlp.pipeline.Token token = 1;CoreNLPProtos.TokenOrBuildergetTokenOrBuilder(int index)repeated .edu.stanford.nlp.pipeline.Token token = 1;List<? extends CoreNLPProtos.TokenOrBuilder>getTokenOrBuilderList()repeated .edu.stanford.nlp.pipeline.Token token = 1;booleanhasEnhancedGraph()The enhanced dependency graph, searched by relations written with @enhanced, such as >nsubj@enhanced.booleanhasGraph()The basic dependency graph.booleanhasSentenceID()The sent_id of the sentence, if it has one.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTokenList
List<CoreNLPProtos.Token> getTokenList()
repeated .edu.stanford.nlp.pipeline.Token token = 1;
-
getToken
CoreNLPProtos.Token getToken(int index)
repeated .edu.stanford.nlp.pipeline.Token token = 1;
-
getTokenCount
int getTokenCount()
repeated .edu.stanford.nlp.pipeline.Token token = 1;
-
getTokenOrBuilderList
List<? extends CoreNLPProtos.TokenOrBuilder> getTokenOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Token token = 1;
-
getTokenOrBuilder
CoreNLPProtos.TokenOrBuilder getTokenOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token token = 1;
-
hasGraph
boolean hasGraph()
The basic dependency graph. Semgrex matching starts here unless the pattern names the graph it searches
required .edu.stanford.nlp.pipeline.DependencyGraph graph = 2;- Returns:
- Whether the graph field is set.
-
getGraph
CoreNLPProtos.DependencyGraph getGraph()
The basic dependency graph. Semgrex matching starts here unless the pattern names the graph it searches
required .edu.stanford.nlp.pipeline.DependencyGraph graph = 2;- Returns:
- The graph.
-
getGraphOrBuilder
CoreNLPProtos.DependencyGraphOrBuilder getGraphOrBuilder()
The basic dependency graph. Semgrex matching starts here unless the pattern names the graph it searches
required .edu.stanford.nlp.pipeline.DependencyGraph graph = 2;
-
hasEnhancedGraph
boolean hasEnhancedGraph()
The enhanced dependency graph, searched by relations written with @enhanced, such as >nsubj@enhanced. Built over the same tokens as graph, including any empty nodes
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedGraph = 3;- Returns:
- Whether the enhancedGraph field is set.
-
getEnhancedGraph
CoreNLPProtos.DependencyGraph getEnhancedGraph()
The enhanced dependency graph, searched by relations written with @enhanced, such as >nsubj@enhanced. Built over the same tokens as graph, including any empty nodes
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedGraph = 3;- Returns:
- The enhancedGraph.
-
getEnhancedGraphOrBuilder
CoreNLPProtos.DependencyGraphOrBuilder getEnhancedGraphOrBuilder()
The enhanced dependency graph, searched by relations written with @enhanced, such as >nsubj@enhanced. Built over the same tokens as graph, including any empty nodes
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedGraph = 3;
-
hasSentenceID
boolean hasSentenceID()
The sent_id of the sentence, if it has one. An error about the sentence names it by this, rather than by its place in the request
optional string sentenceID = 4;- Returns:
- Whether the sentenceID field is set.
-
getSentenceID
String getSentenceID()
The sent_id of the sentence, if it has one. An error about the sentence names it by this, rather than by its place in the request
optional string sentenceID = 4;- Returns:
- The sentenceID.
-
getSentenceIDBytes
com.google.protobuf.ByteString getSentenceIDBytes()
The sent_id of the sentence, if it has one. An error about the sentence names it by this, rather than by its place in the request
optional string sentenceID = 4;- Returns:
- The bytes for sentenceID.
-
-