Package edu.stanford.nlp.pipeline
Interface CoreNLPProtos.ParseTreeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CoreNLPProtos.ParseTree,CoreNLPProtos.ParseTree.Builder
- Enclosing class:
- CoreNLPProtos
public static interface CoreNLPProtos.ParseTreeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoreNLPProtos.ParseTreegetChild(int index)repeated .edu.stanford.nlp.pipeline.ParseTree child = 1;intgetChildCount()repeated .edu.stanford.nlp.pipeline.ParseTree child = 1;List<CoreNLPProtos.ParseTree>getChildList()repeated .edu.stanford.nlp.pipeline.ParseTree child = 1;CoreNLPProtos.ParseTreeOrBuildergetChildOrBuilder(int index)repeated .edu.stanford.nlp.pipeline.ParseTree child = 1;List<? extends CoreNLPProtos.ParseTreeOrBuilder>getChildOrBuilderList()repeated .edu.stanford.nlp.pipeline.ParseTree child = 1;doublegetScore()optional double score = 5;CoreNLPProtos.SentimentgetSentiment()optional .edu.stanford.nlp.pipeline.Sentiment sentiment = 6;StringgetValue()optional string value = 2;com.google.protobuf.ByteStringgetValueBytes()optional string value = 2;intgetYieldBeginIndex()optional uint32 yieldBeginIndex = 3;intgetYieldEndIndex()optional uint32 yieldEndIndex = 4;booleanhasScore()optional double score = 5;booleanhasSentiment()optional .edu.stanford.nlp.pipeline.Sentiment sentiment = 6;booleanhasValue()optional string value = 2;booleanhasYieldBeginIndex()optional uint32 yieldBeginIndex = 3;booleanhasYieldEndIndex()optional uint32 yieldEndIndex = 4;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getChildList
List<CoreNLPProtos.ParseTree> getChildList()
repeated .edu.stanford.nlp.pipeline.ParseTree child = 1;
-
getChild
CoreNLPProtos.ParseTree getChild(int index)
repeated .edu.stanford.nlp.pipeline.ParseTree child = 1;
-
getChildCount
int getChildCount()
repeated .edu.stanford.nlp.pipeline.ParseTree child = 1;
-
getChildOrBuilderList
List<? extends CoreNLPProtos.ParseTreeOrBuilder> getChildOrBuilderList()
repeated .edu.stanford.nlp.pipeline.ParseTree child = 1;
-
getChildOrBuilder
CoreNLPProtos.ParseTreeOrBuilder getChildOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.ParseTree child = 1;
-
hasValue
boolean hasValue()
optional string value = 2;- Returns:
- Whether the value field is set.
-
getValue
String getValue()
optional string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
optional string value = 2;- Returns:
- The bytes for value.
-
hasYieldBeginIndex
boolean hasYieldBeginIndex()
optional uint32 yieldBeginIndex = 3;- Returns:
- Whether the yieldBeginIndex field is set.
-
getYieldBeginIndex
int getYieldBeginIndex()
optional uint32 yieldBeginIndex = 3;- Returns:
- The yieldBeginIndex.
-
hasYieldEndIndex
boolean hasYieldEndIndex()
optional uint32 yieldEndIndex = 4;- Returns:
- Whether the yieldEndIndex field is set.
-
getYieldEndIndex
int getYieldEndIndex()
optional uint32 yieldEndIndex = 4;- Returns:
- The yieldEndIndex.
-
hasScore
boolean hasScore()
optional double score = 5;- Returns:
- Whether the score field is set.
-
getScore
double getScore()
optional double score = 5;- Returns:
- The score.
-
hasSentiment
boolean hasSentiment()
optional .edu.stanford.nlp.pipeline.Sentiment sentiment = 6;- Returns:
- Whether the sentiment field is set.
-
getSentiment
CoreNLPProtos.Sentiment getSentiment()
optional .edu.stanford.nlp.pipeline.Sentiment sentiment = 6;- Returns:
- The sentiment.
-
-