|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.cage.Numex
public class Numex
Implements methods for recognizing numeric expressions in both Portuguese and English texts.
| Method Summary | |
|---|---|
static Numex |
getInstance()
Returns an instance of Numex. |
static void |
main(java.lang.String[] args)
Main method to test Numeric Expression Recognition. |
static java.util.Date |
recognizeDate(java.lang.String text)
Recognize a Date in a text. |
static java.lang.Double |
recognizeNumex(java.lang.String text)
Recognize a numeric expression in a text. |
static java.lang.String |
recognizePhoneNumber(java.lang.String text)
Recognize a Phone number in a text. |
static java.sql.Time |
recognizeTime(java.lang.String text)
Recognize a Time expression in a text. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Numex getInstance()
Numex.
Numex.public static java.lang.Double recognizeNumex(java.lang.String text)
text - A string with a numeric expression.
public static java.util.Date recognizeDate(java.lang.String text)
text - A string with a date.
public static java.sql.Time recognizeTime(java.lang.String text)
text - A string with a Time expression.
public static java.lang.String recognizePhoneNumber(java.lang.String text)
text - A string with a phone number.
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - The command line options, tokenized.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||