public static interface TextAnnotationImpl.SentenceProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getGenerator()
Class name for the generator
|
com.google.protobuf.ByteString |
getGeneratorBytes()
Class name for the generator
|
double |
getScore()
Score of the sentence
|
int |
getSentenceEndPositions(int index)
List of sentence end positions
|
int |
getSentenceEndPositionsCount()
List of sentence end positions
|
List<Integer> |
getSentenceEndPositionsList()
List of sentence end positions
|
boolean |
hasGenerator()
Class name for the generator
|
boolean |
hasScore()
Score of the sentence
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasGenerator()
Class name for the generator
required string generator = 1;
String getGenerator()
Class name for the generator
required string generator = 1;
com.google.protobuf.ByteString getGeneratorBytes()
Class name for the generator
required string generator = 1;
boolean hasScore()
Score of the sentence
optional double score = 2 [default = 0];
double getScore()
Score of the sentence
optional double score = 2 [default = 0];
List<Integer> getSentenceEndPositionsList()
List of sentence end positions
repeated int32 sentenceEndPositions = 3;
int getSentenceEndPositionsCount()
List of sentence end positions
repeated int32 sentenceEndPositions = 3;
int getSentenceEndPositions(int index)
List of sentence end positions
repeated int32 sentenceEndPositions = 3;
Copyright © 2017. All rights reserved.