cb63a798481f74d5501fd0f2c90d224aaf54202d
Files Diff
- Added: 23
- Removed: 2
- Renamed: 0
- Modified: 29
Link to commit
Third party dependencies:
Dependency Action | |
---|---|
Added | |
org.apache.commons:commons-text:1.6 | |
ml.dmlc:xgboost4j:0.81 | |
org.apache.commons:commons-pool2:2.6.1 | |
Updated | |
From com.google.guava:guava 20.0 To 21.0 | |
From com.google.guava:guava 21.0 To 20.0 | |
From commons-io:commons-io 2.6 To 2.5 | |
From commons-io:commons-io 2.5 To 2.6 |
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public orderSuggestionsUsingModel(suggestions List<String>, word String, sentence AnalyzedSentence, startPos int, wordLength 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 | |
Pull Up Method | 1 | ||
Pull Up Method protected sortSuggestionByQuality(misspelling String, suggestions List<String>) : List<String> from class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule to protected sortSuggestionByQuality(misspelling String, suggestions List<String>) : List<String> from class org.languagetool.rules.spelling.hunspell.HunspellRule | 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 | |
Change Return Type | 1 | ||
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 | |
Rename Class | 1 | ||
Rename Class org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrderer renamed to org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererGSoC | From | To | |
Change Variable Type | 1 | ||
Change Variable Type lt : MultiThreadedJLanguageTool to lt : JLanguageTool in method public main(args String[]) : void in class org.languagetool.rules.patterns.PerformanceTest | From | To | |
Extract Variable | 1 | ||
Extract Variable startPos : int in method public match(sentence AnalyzedSentence) : RuleMatch[] from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule | From | To | |
Extract Interface | 1 | ||
Extract Interface org.languagetool.rules.spelling.suggestions.SuggestionsOrderer from classes [org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrdererGSoC] | From | To | |
Extract Method | 1 | ||
Extract Method private getSuggestionsFromSpellers(word String, spellerList List<MorfologikSpeller>) : List<String> extracted from public getSuggestions(word String) : List<String> in class org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller | From | To | |
Rename Parameter | 1 | ||
Rename Parameter lm : LanguageModel to languageModel : LanguageModel in method public GermanSpellerRule(messages ResourceBundle, language German, userConfig UserConfig, languageVariantPlainTextDict String, altLanguages List<Language>, languageModel LanguageModel) in class org.languagetool.rules.de.GermanSpellerRule | From | To |