smile.nlp.dictionary
Interface Abbreviations
-
- All Superinterfaces:
- Dictionary
public interface Abbreviations extends Dictionary
A dictionary interface for abbreviations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetAbbreviation(java.lang.String full)Returns the abbreviation for a word.java.lang.StringgetFull(java.lang.String abbr)Returns the full word for a given abbreviation.-
Methods inherited from interface smile.nlp.dictionary.Dictionary
contains, iterator, size
-
-
-
-
Method Detail
-
getFull
java.lang.String getFull(java.lang.String abbr)
Returns the full word for a given abbreviation. If the abbreviation doesn't exist in the dictionary return null.
-
getAbbreviation
java.lang.String getAbbreviation(java.lang.String full)
Returns the abbreviation for a word. If the word doesn't exist in the dictionary return null.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG