Natural Language Parsing for -
- Numbers (e.g. one thousand and four)
- Currency Amounts (e.g. $13 million)
- Temporal Durations (e.g. 1 day 3 hours 17 minutes 10 seconds)
Requires Maven and a Java 8 compiler installed on your system.
See the Junit tests for usage and more examples.
To download the library into a folder called "language" run -
git clone https://github.com/trickl/language.git
To build the library run
mvn clean build
- The number parsed was built with an inspiration from a blog post https://blog.cordiner.net/2010/01/02/parsing-english-numbers-with-perl/