Package org.languagetool.rules.ml
Interface MLServerProto.PostProcessingRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MLServerProto.PostProcessingRequest,MLServerProto.PostProcessingRequest.Builder
- Enclosing class:
MLServerProto
public static interface MLServerProto.PostProcessingRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanallow logging of input on errorgetMatches(int index) matches of input text, to be transformedintmatches of input text, to be transformedmatches of input text, to be transformedgetMatchesOrBuilder(int index) matches of input text, to be transformedList<? extends MLServerProto.MatchListOrBuilder> matches of input text, to be transformedgetSentences(int index) input text to be analyzedcom.google.protobuf.ByteStringgetSentencesBytes(int index) input text to be analyzedintinput text to be analyzedinput text to be analyzedlonggetTextSessionID(int index) session ID, for partial rollout & A/B testsintsession ID, for partial rollout & A/B testssession ID, for partial rollout & A/B testsMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSentencesList
input text to be analyzed
repeated string sentences = 1;- Returns:
- A list containing the sentences.
-
getSentencesCount
int getSentencesCount()input text to be analyzed
repeated string sentences = 1;- Returns:
- The count of sentences.
-
getSentences
input text to be analyzed
repeated string sentences = 1;- Parameters:
index- The index of the element to return.- Returns:
- The sentences at the given index.
-
getSentencesBytes
com.google.protobuf.ByteString getSentencesBytes(int index) input text to be analyzed
repeated string sentences = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sentences at the given index.
-
getMatchesList
List<MLServerProto.MatchList> getMatchesList()matches of input text, to be transformed
repeated .lt_ml_server.MatchList matches = 2; -
getMatches
matches of input text, to be transformed
repeated .lt_ml_server.MatchList matches = 2; -
getMatchesCount
int getMatchesCount()matches of input text, to be transformed
repeated .lt_ml_server.MatchList matches = 2; -
getMatchesOrBuilderList
List<? extends MLServerProto.MatchListOrBuilder> getMatchesOrBuilderList()matches of input text, to be transformed
repeated .lt_ml_server.MatchList matches = 2; -
getMatchesOrBuilder
matches of input text, to be transformed
repeated .lt_ml_server.MatchList matches = 2; -
getInputLogging
boolean getInputLogging()allow logging of input on error
bool inputLogging = 3;- Returns:
- The inputLogging.
-
getTextSessionIDList
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 4;- Returns:
- A list containing the textSessionID.
-
getTextSessionIDCount
int getTextSessionIDCount()session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 4;- Returns:
- The count of textSessionID.
-
getTextSessionID
long getTextSessionID(int index) session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 4;- Parameters:
index- The index of the element to return.- Returns:
- The textSessionID at the given index.
-