public class ClausieUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
CONJUNCTION |
static HashSet<String> |
CONJUNCTION_STRICTER |
static HashSet<String> |
MODAL_VERBS |
static HashSet<String> |
PREPOSITIONS |
static HashSet<String> |
STOPWORDS |
| Constructor and Description |
|---|
ClausieUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <F> String |
arrayToString(F[] arr,
String separator) |
static boolean |
isNonAlphanumeric(String s) |
static <T> Iterable<T> |
nullableIter(Iterable<T> it)
for (T v: myCollection){} fails with nulls.
|
static <T> T[] |
nullableIter(T[] it) |
static String |
readStringFromUser(String msg) |
public static String readStringFromUser(String msg) throws IOException
IOExceptionpublic static boolean isNonAlphanumeric(String s)
public static <T> Iterable<T> nullableIter(Iterable<T> it)
public static <T> T[] nullableIter(T[] it)
Copyright © 2017. All rights reserved.