Package org.languagetool
Class ShortDescriptionProvider
java.lang.Object
org.languagetool.ShortDescriptionProvider
Provide short (~ up to 30 characters) descriptions for words.
Used to display as an additional hint when there are several suggestions.
- Since:
- 4.5
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable String
getShortDescription
(String word) private static void
loadConfusionSet
(Map<String, String> map, String path, ResourceDataBroker dataBroker)
-
Field Details
-
wordToDesc
-
cache
-
-
Constructor Details
-
ShortDescriptionProvider
-
-
Method Details
-
loadConfusionSet
private static void loadConfusionSet(Map<String, String> map, String path, ResourceDataBroker dataBroker) -
getShortDescription
-