|
Rename Method public rankSuggestions(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : Pair<List<String>,List<Float>> renamed to public orderSuggestions(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<SuggestedReplacement> in class org.languagetool.rules.spelling.suggestions.XGBoostSuggestionsOrderer |
From |
To |
|
Rename Method public orderSuggestionsUsingModel(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<String> renamed to public orderSuggestions(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<SuggestedReplacement> in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor |
From |
To |
|
Rename Method public orderSuggestionsUsingModel(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<String> renamed to public orderSuggestions(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<SuggestedReplacement> in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererGSoC |
From |
To |
|
Rename Method public orderSuggestionsUsingModel(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<String> renamed to public orderSuggestions(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<SuggestedReplacement> in class org.languagetool.rules.spelling.suggestions.SuggestionsOrderer |
From |
To |
|
Pull Up Method public getRuleMatchMetadata() : SortedMap<String,Float> from class org.languagetool.rules.ExtendedRuleMatch to public getFeatures() : SortedMap<String,Float> from class org.languagetool.rules.RuleMatch |
From |
To |
|
Pull Up Method public isAutoCorrect() : boolean from class org.languagetool.rules.ExtendedRuleMatch to public isAutoCorrect() : boolean from class org.languagetool.rules.RuleMatch |
From |
To |
|
Pull Up Method public setRuleMatchMetadata(ruleMatchMetadata SortedMap<String,Float>) : void from class org.languagetool.rules.ExtendedRuleMatch to public setFeatures(features SortedMap<String,Float>) : void from class org.languagetool.rules.RuleMatch |
From |
To |
|
Pull Up Method public setAutoCorrect(autoCorrect boolean) : void from class org.languagetool.rules.ExtendedRuleMatch to public setAutoCorrect(autoCorrect boolean) : void from class org.languagetool.rules.RuleMatch |
From |
To |
|
Change Return Type List<String> to List<SuggestedReplacement> in method public orderSuggestions(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<SuggestedReplacement> in class org.languagetool.rules.spelling.suggestions.SuggestionsOrderer |
From |
To |
|
Change Return Type Pair<List<String>,List<Float>> to List<SuggestedReplacement> in method public orderSuggestions(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<SuggestedReplacement> in class org.languagetool.rules.spelling.suggestions.XGBoostSuggestionsOrderer |
From |
To |
|
Change Return Type List<String> to List<SuggestedReplacement> in method public orderSuggestions(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<SuggestedReplacement> in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor |
From |
To |
|
Change Return Type RuleMatch to void in method protected addSuggestionsToRuleMatch(word String, userCandidates List<String>, candidates List<String>, orderer SuggestionsOrderer, match RuleMatch) : void in class org.languagetool.rules.spelling.SpellingCheckRule |
From |
To |
|
Change Return Type List<String> to List<SuggestedReplacement> in method public orderSuggestions(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<SuggestedReplacement> in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererGSoC |
From |
To |
|
Change Return Type Triple<List<String>,SortedMap<String,Float>,List<SortedMap<String,Float>>> to Pair<List<SuggestedReplacement>,SortedMap<String,Float>> in method public computeFeatures(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : Pair<List<SuggestedReplacement>,SortedMap<String,Float>> in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor |
From |
To |
|
Change Variable Type candidatesAndFeatures : Triple<List<String>,SortedMap<String,Float>,List<SortedMap<String,Float>>> to candidatesAndFeatures : Pair<List<SuggestedReplacement>,SortedMap<String,Float>> in method public orderSuggestions(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<SuggestedReplacement> in class org.languagetool.rules.spelling.suggestions.XGBoostSuggestionsOrderer |
From |
To |
|
Change Variable Type candidates : List<String> to candidates : List<SuggestedReplacement> in method public orderSuggestions(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : List<SuggestedReplacement> in class org.languagetool.rules.spelling.suggestions.XGBoostSuggestionsOrderer |
From |
To |
|
Change Variable Type suggestionsData : List<SortedMap<String,Float>> to suggestionsData : List<SuggestedReplacement> in method public computeFeatures(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int) : Pair<List<SuggestedReplacement>,SortedMap<String,Float>> in class org.languagetool.rules.spelling.suggestions.SuggestionsOrdererFeatureExtractor |
From |
To |
|
Change Variable Type suggestions : Triple<List<String>,SortedMap<String,Float>,List<SortedMap<String,Float>>> to suggestions : Pair<List<SuggestedReplacement>,SortedMap<String,Float>> in method protected addSuggestionsToRuleMatch(word String, userCandidates List<String>, candidates List<String>, orderer SuggestionsOrderer, match RuleMatch) : void in class org.languagetool.rules.spelling.SpellingCheckRule |
From |
To |
|
Change Variable Type defaultSuggestions : Pair<List<String>,List<Float>> to defaultSuggestions : List<SuggestedReplacement> in method protected addSuggestionsToRuleMatch(word String, userCandidates List<String>, candidates List<String>, orderer SuggestionsOrderer, match RuleMatch) : void in class org.languagetool.rules.spelling.SpellingCheckRule |
From |
To |
|
Change Variable Type combinedSuggestions : List<String> to combinedSuggestions : List<SuggestedReplacement> in method protected addSuggestionsToRuleMatch(word String, userCandidates List<String>, candidates List<String>, orderer SuggestionsOrderer, match RuleMatch) : void in class org.languagetool.rules.spelling.SpellingCheckRule |
From |
To |