Package | Description |
---|---|
org.languagetool.rules | |
org.languagetool.rules.ml |
Modifier and Type | Method and Description |
---|---|
static MLServerProto.Match |
GRPCUtils.toGRPC(RuleMatch m) |
Modifier and Type | Method and Description |
---|---|
static RuleMatch |
GRPCUtils.fromGRPC(MLServerProto.Match m,
AnalyzedSentence s) |
protected abstract String |
GRPCRule.getMessage(MLServerProto.Match match,
AnalyzedSentence sentence)
messages can be provided by the ML server or the Java client
fill them in here or leave this empty if the server takes care of it
|
Modifier and Type | Method and Description |
---|---|
MLServerProto.Match |
MLServerProto.Match.Builder.build() |
MLServerProto.Match |
MLServerProto.Match.Builder.buildPartial() |
static MLServerProto.Match |
MLServerProto.Match.getDefaultInstance() |
MLServerProto.Match |
MLServerProto.Match.getDefaultInstanceForType() |
MLServerProto.Match |
MLServerProto.Match.Builder.getDefaultInstanceForType() |
MLServerProto.Match |
MLServerProto.ProcessResponseOrBuilder.getMatches(int index)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.Match |
MLServerProto.ProcessResponse.getMatches(int index)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.Match |
MLServerProto.ProcessResponse.Builder.getMatches(int index)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.Match |
MLServerProto.MatchListOrBuilder.getMatches(int index)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.Match |
MLServerProto.MatchList.getMatches(int index)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.Match |
MLServerProto.MatchList.Builder.getMatches(int index)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.Match |
MLServerProto.ProcessResponseOrBuilder.getRawMatches(int index)
repeated .lt_ml_server.Match rawMatches = 1; |
MLServerProto.Match |
MLServerProto.ProcessResponse.getRawMatches(int index)
repeated .lt_ml_server.Match rawMatches = 1; |
MLServerProto.Match |
MLServerProto.ProcessResponse.Builder.getRawMatches(int index)
repeated .lt_ml_server.Match rawMatches = 1; |
static MLServerProto.Match |
MLServerProto.Match.parseDelimitedFrom(InputStream input) |
static MLServerProto.Match |
MLServerProto.Match.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLServerProto.Match |
MLServerProto.Match.parseFrom(byte[] data) |
static MLServerProto.Match |
MLServerProto.Match.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLServerProto.Match |
MLServerProto.Match.parseFrom(ByteBuffer data) |
static MLServerProto.Match |
MLServerProto.Match.parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLServerProto.Match |
MLServerProto.Match.parseFrom(com.google.protobuf.ByteString data) |
static MLServerProto.Match |
MLServerProto.Match.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLServerProto.Match |
MLServerProto.Match.parseFrom(com.google.protobuf.CodedInputStream input) |
static MLServerProto.Match |
MLServerProto.Match.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLServerProto.Match |
MLServerProto.Match.parseFrom(InputStream input) |
static MLServerProto.Match |
MLServerProto.Match.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
List<MLServerProto.Match> |
MLServerProto.ProcessResponseOrBuilder.getMatchesList()
repeated .lt_ml_server.Match matches = 2; |
List<MLServerProto.Match> |
MLServerProto.ProcessResponse.getMatchesList()
repeated .lt_ml_server.Match matches = 2; |
List<MLServerProto.Match> |
MLServerProto.ProcessResponse.Builder.getMatchesList()
repeated .lt_ml_server.Match matches = 2; |
List<MLServerProto.Match> |
MLServerProto.MatchListOrBuilder.getMatchesList()
list of matches
repeated .lt_ml_server.Match matches = 1; |
List<MLServerProto.Match> |
MLServerProto.MatchList.getMatchesList()
list of matches
repeated .lt_ml_server.Match matches = 1; |
List<MLServerProto.Match> |
MLServerProto.MatchList.Builder.getMatchesList()
list of matches
repeated .lt_ml_server.Match matches = 1; |
com.google.protobuf.Parser<MLServerProto.Match> |
MLServerProto.Match.getParserForType() |
List<MLServerProto.Match> |
MLServerProto.ProcessResponseOrBuilder.getRawMatchesList()
repeated .lt_ml_server.Match rawMatches = 1; |
List<MLServerProto.Match> |
MLServerProto.ProcessResponse.getRawMatchesList()
repeated .lt_ml_server.Match rawMatches = 1; |
List<MLServerProto.Match> |
MLServerProto.ProcessResponse.Builder.getRawMatchesList()
repeated .lt_ml_server.Match rawMatches = 1; |
static com.google.protobuf.Parser<MLServerProto.Match> |
MLServerProto.Match.parser() |
Modifier and Type | Method and Description |
---|---|
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.addMatches(int index,
MLServerProto.Match value)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.MatchList.Builder |
MLServerProto.MatchList.Builder.addMatches(int index,
MLServerProto.Match value)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.addMatches(MLServerProto.Match value)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.MatchList.Builder |
MLServerProto.MatchList.Builder.addMatches(MLServerProto.Match value)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.addRawMatches(int index,
MLServerProto.Match value)
repeated .lt_ml_server.Match rawMatches = 1; |
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.addRawMatches(MLServerProto.Match value)
repeated .lt_ml_server.Match rawMatches = 1; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.mergeFrom(MLServerProto.Match other) |
static MLServerProto.Match.Builder |
MLServerProto.Match.newBuilder(MLServerProto.Match prototype) |
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.setMatches(int index,
MLServerProto.Match value)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.MatchList.Builder |
MLServerProto.MatchList.Builder.setMatches(int index,
MLServerProto.Match value)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.setRawMatches(int index,
MLServerProto.Match value)
repeated .lt_ml_server.Match rawMatches = 1; |
Modifier and Type | Method and Description |
---|---|
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.addAllMatches(Iterable<? extends MLServerProto.Match> values)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.MatchList.Builder |
MLServerProto.MatchList.Builder.addAllMatches(Iterable<? extends MLServerProto.Match> values)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.addAllRawMatches(Iterable<? extends MLServerProto.Match> values)
repeated .lt_ml_server.Match rawMatches = 1; |