Package | Description |
---|---|
org.languagetool.rules.ml |
Modifier and Type | Method and Description |
---|---|
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.addAllSuggestedReplacements(Iterable<? extends MLServerProto.SuggestedReplacement> values)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.addAllSuggestions(Iterable<String> values)
legacy; use suggestedReplacements
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
MLServerProto.ProcessResponse.Builder.addMatchesBuilder()
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.Match.Builder |
MLServerProto.MatchList.Builder.addMatchesBuilder()
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.Match.Builder |
MLServerProto.ProcessResponse.Builder.addMatchesBuilder(int index)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.Match.Builder |
MLServerProto.MatchList.Builder.addMatchesBuilder(int index)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.Match.Builder |
MLServerProto.ProcessResponse.Builder.addRawMatchesBuilder()
repeated .lt_ml_server.Match rawMatches = 1; |
MLServerProto.Match.Builder |
MLServerProto.ProcessResponse.Builder.addRawMatchesBuilder(int index)
repeated .lt_ml_server.Match rawMatches = 1; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.addSuggestedReplacements(int index,
MLServerProto.SuggestedReplacement.Builder builderForValue)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.addSuggestedReplacements(int index,
MLServerProto.SuggestedReplacement value)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.addSuggestedReplacements(MLServerProto.SuggestedReplacement.Builder builderForValue)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.addSuggestedReplacements(MLServerProto.SuggestedReplacement value)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.addSuggestions(String value)
legacy; use suggestedReplacements
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.addSuggestionsBytes(com.google.protobuf.ByteString value)
legacy; use suggestedReplacements
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clear() |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearAutoCorrect()
is this correction eligible for auto-correction?
|
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearContextForSureMatch()
sint32 contextForSureMatch = 13; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearId()
prefix for rule ids; should use a common value for one model/server
string id = 3; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearLength()
length of matched area; >0
uint32 length = 2; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearMatchDescription()
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearMatchShortDescription()
shortened description of the match; displayed in e.g.
|
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearOffset()
start position in the sentence (i.e. not relative to whole text)
uint32 offset = 1; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearRule()
.lt_ml_server.Rule rule = 14; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearRuleDescription()
added later, optional (can be substituted by Java)
string ruleDescription = 6; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearSubId()
more specific suffix for rule ids; i.e. one model/server can return multiple values to distinguish between mach types
string sub_id = 4; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearSuggestedReplacements()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearSuggestions()
legacy; use suggestedReplacements
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearType()
.lt_ml_server.Match.MatchType type = 12; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clearUrl()
to show a link, e.g. with further explanations for this error
string url = 9; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.clone() |
MLServerProto.Match.Builder |
MLServerProto.ProcessResponse.Builder.getMatchesBuilder(int index)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.Match.Builder |
MLServerProto.MatchList.Builder.getMatchesBuilder(int index)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.Match.Builder |
MLServerProto.ProcessResponse.Builder.getRawMatchesBuilder(int index)
repeated .lt_ml_server.Match rawMatches = 1; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.mergeFrom(com.google.protobuf.Message other) |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.mergeFrom(MLServerProto.Match other) |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.mergeRule(MLServerProto.Rule value)
.lt_ml_server.Rule rule = 14; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static MLServerProto.Match.Builder |
MLServerProto.Match.newBuilder() |
static MLServerProto.Match.Builder |
MLServerProto.Match.newBuilder(MLServerProto.Match prototype) |
MLServerProto.Match.Builder |
MLServerProto.Match.newBuilderForType() |
protected MLServerProto.Match.Builder |
MLServerProto.Match.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.removeSuggestedReplacements(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setAutoCorrect(boolean value)
is this correction eligible for auto-correction?
|
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setContextForSureMatch(int value)
sint32 contextForSureMatch = 13; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setId(String value)
prefix for rule ids; should use a common value for one model/server
string id = 3; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setIdBytes(com.google.protobuf.ByteString value)
prefix for rule ids; should use a common value for one model/server
string id = 3; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setLength(int value)
length of matched area; >0
uint32 length = 2; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setMatchDescription(String value)
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setMatchDescriptionBytes(com.google.protobuf.ByteString value)
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setMatchShortDescription(String value)
shortened description of the match; displayed in e.g.
|
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setMatchShortDescriptionBytes(com.google.protobuf.ByteString value)
shortened description of the match; displayed in e.g.
|
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setOffset(int value)
start position in the sentence (i.e. not relative to whole text)
uint32 offset = 1; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setRule(MLServerProto.Rule.Builder builderForValue)
.lt_ml_server.Rule rule = 14; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setRule(MLServerProto.Rule value)
.lt_ml_server.Rule rule = 14; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setRuleDescription(String value)
added later, optional (can be substituted by Java)
string ruleDescription = 6; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setRuleDescriptionBytes(com.google.protobuf.ByteString value)
added later, optional (can be substituted by Java)
string ruleDescription = 6; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setSubId(String value)
more specific suffix for rule ids; i.e. one model/server can return multiple values to distinguish between mach types
string sub_id = 4; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setSubIdBytes(com.google.protobuf.ByteString value)
more specific suffix for rule ids; i.e. one model/server can return multiple values to distinguish between mach types
string sub_id = 4; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setSuggestedReplacements(int index,
MLServerProto.SuggestedReplacement.Builder builderForValue)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setSuggestedReplacements(int index,
MLServerProto.SuggestedReplacement value)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setSuggestions(int index,
String value)
legacy; use suggestedReplacements
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setType(MLServerProto.Match.MatchType value)
.lt_ml_server.Match.MatchType type = 12; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setTypeValue(int value)
.lt_ml_server.Match.MatchType type = 12; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setUrl(String value)
to show a link, e.g. with further explanations for this error
string url = 9; |
MLServerProto.Match.Builder |
MLServerProto.Match.Builder.setUrlBytes(com.google.protobuf.ByteString value)
to show a link, e.g. with further explanations for this error
string url = 9; |
MLServerProto.Match.Builder |
MLServerProto.Match.toBuilder() |
Modifier and Type | Method and Description |
---|---|
List<MLServerProto.Match.Builder> |
MLServerProto.ProcessResponse.Builder.getMatchesBuilderList()
repeated .lt_ml_server.Match matches = 2; |
List<MLServerProto.Match.Builder> |
MLServerProto.MatchList.Builder.getMatchesBuilderList()
list of matches
repeated .lt_ml_server.Match matches = 1; |
List<MLServerProto.Match.Builder> |
MLServerProto.ProcessResponse.Builder.getRawMatchesBuilderList()
repeated .lt_ml_server.Match rawMatches = 1; |
Modifier and Type | Method and Description |
---|---|
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.addMatches(int index,
MLServerProto.Match.Builder builderForValue)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.MatchList.Builder |
MLServerProto.MatchList.Builder.addMatches(int index,
MLServerProto.Match.Builder builderForValue)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.addMatches(MLServerProto.Match.Builder builderForValue)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.MatchList.Builder |
MLServerProto.MatchList.Builder.addMatches(MLServerProto.Match.Builder builderForValue)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.addRawMatches(int index,
MLServerProto.Match.Builder builderForValue)
repeated .lt_ml_server.Match rawMatches = 1; |
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.addRawMatches(MLServerProto.Match.Builder builderForValue)
repeated .lt_ml_server.Match rawMatches = 1; |
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.setMatches(int index,
MLServerProto.Match.Builder builderForValue)
repeated .lt_ml_server.Match matches = 2; |
MLServerProto.MatchList.Builder |
MLServerProto.MatchList.Builder.setMatches(int index,
MLServerProto.Match.Builder builderForValue)
list of matches
repeated .lt_ml_server.Match matches = 1; |
MLServerProto.ProcessResponse.Builder |
MLServerProto.ProcessResponse.Builder.setRawMatches(int index,
MLServerProto.Match.Builder builderForValue)
repeated .lt_ml_server.Match rawMatches = 1; |