public class AcronymMatcher extends Object
isAcronym(String, List).| Constructor and Description |
|---|
AcronymMatcher() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getMainStrs(List<String> tokens) |
static boolean |
isAcronym(CoreMap chunk1,
CoreMap chunk2)
Returns true if either chunk1 or chunk2 is acronym of the other
|
static boolean |
isAcronym(String[] chunk1,
String[] chunk2) |
static boolean |
isAcronym(String str,
List<?> tokens) |
static boolean |
isAcronym(String str,
String[] tokens) |
static boolean |
isAcronymImpl(String str,
List<String> tokens) |
static boolean |
isFancyAcronym(String[] chunk1,
String[] chunk2) |
static boolean |
isFancyAcronymImpl(String str,
List<String> tokens) |