0bbb75f024f256fb38fbb1dd8964cbd1a66f862d
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type probabilityC : Probability to prob1 : double in method package Feature(prob1 double, prob3 double, prob4 double, wordCount long, levenshteinDistance int, word String) in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To | |
Change Parameter Type probabilityR : Probability to prob4 : double in method package Feature(prob1 double, prob3 double, prob4 double, wordCount long, levenshteinDistance int, word String) in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To | |
Change Parameter Type probabilityL : Probability to prob3 : double in method package Feature(prob1 double, prob3 double, prob4 double, wordCount long, levenshteinDistance int, word String) in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To | |
Move Method | 2 | ||
Move Method private get3gramProbabilityFor(token GoogleToken, tokens List<GoogleToken>, term String) : double from class org.languagetool.rules.ngrams.ConfusionProbabilityRule to package get3gramProbabilityFor(lang Language, lm LanguageModel, token GoogleToken, tokens List<GoogleToken>, term String) : double from class org.languagetool.rules.ngrams.LanguageModelUtils | From | To | |
Move Method protected getGoogleStyleWordTokenizer() : Tokenizer from class org.languagetool.rules.ngrams.ConfusionProbabilityRule to package getGoogleStyleWordTokenizer(language Language) : Tokenizer from class org.languagetool.rules.ngrams.LanguageModelUtils | From | To | |
Rename Variable | 2 | ||
Rename Variable probL : Probability to prob3 : double in method public orderSuggestionsUsingModel(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int, wordLength int) : List<String> in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer | From | To | |
Rename Variable languagesValue : String to testRule : String in method public testChanges() : void in class org.languagetool.rules.spelling.SuggestionsChangesTest | From | To | |
Rename Attribute | 3 | ||
Rename Attribute probabilityR : Probability to prob4gram : double in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To | |
Rename Attribute probabilityL : Probability to prob3gram : double in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To | |
Rename Attribute probabilityC : Probability to prob1gram : double in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To | |
Split Variable | 1 | ||
Split Variable probC : Probability to [prob1 : double, prob4 : double] in method public orderSuggestionsUsingModel(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int, wordLength int) : List<String> in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer | From | To | |
Change Variable Type | 1 | ||
Change Variable Type probL : Probability to prob3 : double in method public orderSuggestionsUsingModel(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int, wordLength int) : List<String> in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type probabilityR : Probability to prob4gram : double in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To | |
Change Attribute Type probabilityL : Probability to prob3gram : double in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To | |
Change Attribute Type probabilityC : Probability to prob1gram : double in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To | |
Inline Variable | 1 | ||
Inline Variable replacements : List<String> in method protected getRuleMatches(word String, startPos int, sentence AnalyzedSentence, ruleMatchesSoFar List<RuleMatch>) : List<RuleMatch> from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule | From | To | |
Rename Parameter | 3 | ||
Rename Parameter probabilityR : Probability to prob4 : double in method package Feature(prob1 double, prob3 double, prob4 double, wordCount long, levenshteinDistance int, word String) in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To | |
Rename Parameter probabilityL : Probability to prob3 : double in method package Feature(prob1 double, prob3 double, prob4 double, wordCount long, levenshteinDistance int, word String) in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To | |
Rename Parameter probabilityC : Probability to prob1 : double in method package Feature(prob1 double, prob3 double, prob4 double, wordCount long, levenshteinDistance int, word String) in class org.languagetool.rules.spelling.morfologik.suggestions_ordering.NewSuggestionsOrderer.Feature | From | To |