|
Project Wonder 5.0.0.8658 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecter.chronic.Chronic
public class Chronic
| Field Summary | |
|---|---|
static String |
VERSION
|
| Method Summary | |
|---|---|
protected static List<Token> |
baseTokenize(String text)
Split the text on spaces and convert each word into a Token |
protected static Span |
guess(Span span)
Guess a specific time within the given span |
protected static String |
numericizeNumbers(String text)
Convert number words to numbers (three => 3) |
protected static String |
numericizeOrdinals(String text)
Convert ordinal words to numeric ordinals (third => 3rd) |
static Span |
parse(String text)
|
static Span |
parse(String text,
Options options)
Parses a string containing a natural language date or time. |
protected static String |
preNormalize(String text)
Clean up the specified input text by stripping unwanted characters, converting idioms to their canonical form, converting number words to numbers (three => 3), and converting ordinal words to numeric ordinals (third => 3rd) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VERSION
| Method Detail |
|---|
public static Span parse(String text)
public static Span parse(String text,
Options options)
protected static String preNormalize(String text)
protected static String numericizeNumbers(String text)
protected static String numericizeOrdinals(String text)
protected static List<Token> baseTokenize(String text)
protected static Span guess(Span span)
|
Last updated: Fri, Nov 21, 2008 04:36 AM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||