|
Change Parameter Type detectedLang : Language to detectedLang : DetectedLanguage in method public ruleMatchesToJson(matches List<RuleMatch>, text String, contextSize int, detectedLang DetectedLanguage) : String in class org.languagetool.tools.RuleMatchesAsJsonSerializer |
From |
To |
|
Change Parameter Type detectedLang : Language to detectedLang : DetectedLanguage in method private writeLanguageSection(g JsonGenerator, detectedLang DetectedLanguage) : void in class org.languagetool.tools.RuleMatchesAsJsonSerializer |
From |
To |
|
Change Parameter Type detectedLang : Language to detectedLang : DetectedLanguage in method public ruleMatchesToJson(matches List<RuleMatch>, hiddenMatches List<RuleMatch>, text String, contextSize int, detectedLang DetectedLanguage, incompleteResultsReason String) : String in class org.languagetool.tools.RuleMatchesAsJsonSerializer |
From |
To |
|
Change Parameter Type detectedLang : Language to detectedLang : DetectedLanguage in method public ruleMatchesToJson(matches List<RuleMatch>, hiddenMatches List<RuleMatch>, text AnnotatedText, contextSize int, detectedLang DetectedLanguage, incompleteResultsReason String) : String in class org.languagetool.tools.RuleMatchesAsJsonSerializer |
From |
To |
|
Change Return Type String to Map.Entry<String,Double> in method private detectLanguageCode(text String) : Map.Entry<String,Double> in class org.languagetool.language.LanguageIdentifier |
From |
To |
|
Change Return Type Language to DetectedLanguage in method package detectLanguageOfString(text String, fallbackLanguage String, preferredVariants List<String>, noopLangs List<String>) : DetectedLanguage in class org.languagetool.server.TextChecker |
From |
To |
|
Change Return Type Language to DetectedLanguage in method public detectLanguage(text String, noopLangs List<String>) : DetectedLanguage in class org.languagetool.language.LanguageIdentifier |
From |
To |
|
Change Return Type String to Map.Entry<String,Double> in method private getHighestScoringResult(probs Map<String,Double>) : Map.Entry<String,Double> in class org.languagetool.language.LanguageIdentifier |
From |
To |
|
Change Variable Type detectedLang : Language to detectedLang : DetectedLanguage in method private langAssert(expectedLangCode String, text String, id LanguageIdentifier, noopLangCodes List<String>) : void in class org.languagetool.language.LanguageIdentifierTest |
From |
To |
|
Change Variable Type lang : Optional<LdLocale> to lang : List<com.optimaize.langdetect.DetectedLanguage> in method private detectLanguageCode(text String) : Map.Entry<String,Double> in class org.languagetool.language.LanguageIdentifier |
From |
To |
|
Change Variable Type languageCode : String to result : Map.Entry<String,Double> in method public detectLanguage(text String, noopLangs List<String>) : DetectedLanguage in class org.languagetool.language.LanguageIdentifier |
From |
To |
|
Change Variable Type detectedLang : Language to detectedLang : DetectedLanguage in method protected getLanguage(text String, parameters Map<String,String>, preferredVariants List<String>, noopLangs List<String>) : DetectedLanguage in class org.languagetool.server.V2TextChecker |
From |
To |