| Package | Description |
|---|---|
| javatools.parsers |
| Modifier and Type | Field and Description |
|---|---|
static Language |
Language.ENGLISH
Modern English
|
static Language |
Language.FRENCH
French
|
static Language |
Language.GERMAN
German
|
static Language |
Language.ITALIAN
Italian
|
static Language |
Language.SPANISH
Spanish
|
| Modifier and Type | Method and Description |
|---|---|
protected static Language |
Language.generateLanguage(String id) |
| Modifier and Type | Method and Description |
|---|---|
int |
Language.compareTo(Language other) |
static boolean |
NameML.couldBePersonName(String s,
Language lang)
Returns true if it is possible that the string is a person name
|
static Collection<Triple<String,Integer,Integer>> |
DateParser.getAllDatePositions(CharSequence s,
Language language)
Returns all the dates values and their position in the text
|
static Collection<String> |
DateParser.getAllDates(CharSequence s,
Language language)
Normalizes all dates in a String
|
static boolean |
NameML.isPersonName(String m,
Language lang)
Returns true if it is highly probable that the string is a person name.
|
static boolean |
NameML.isStopWord(String w,
Language l)
TRUE for stopwords
|
static boolean |
NameML.isTitle(String s,
Language lang)
Says whether this String is a title
|
static String |
DateParser.normalize(CharSequence s,
Language language)
Normalizes all dates in a String Note: If you bugfix something in this
version, please check for applying the same fix at the position change
tracking function below
|
static String |
DateParser.normalize(CharSequence s,
Language language,
PositionTracker posTracker)
Normalizes all dates in a String keeping track of the position changes
with respect to the newly created string Note: If you bugfix something in
this version, please try and check for applying the same fix at the
non-tracking function
|
static NameML |
NameML.of(String s,
Language lang)
Factory pattern
|
| Constructor and Description |
|---|
PersonNameML(String s,
Language lang)
Constructs a person name from a String
|
Copyright © 2018. All rights reserved.