public final class StringUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Set<Integer> |
compileIndexSet(String indexedStr)
Parses a string representation of index numbers and returns a set of
integers containing all numbers of the specified range.
|
static String |
removeReferences(String text)
Removes all references or literature patterns from the given input
text.
|
static String[] |
split(String text,
char divider)
Creates a new string array from the given string, in which each
field corresponds to a token of the input text.
|
static String |
strip(String text,
String characters)
Removes the specified characters from the left and right of the
specified text.
|
public static String[] split(String text, char divider)
public static String strip(String text, String characters)
public static String removeReferences(String text)
public static Set<Integer> compileIndexSet(String indexedStr)
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.