This class can be used to parses and extract times of English text.
It takes a text string to analyze and recognizes time based expressions. Currently it recognizes about 20 time format variations.
The class extracts the time mentioned in the text as well the remaining action text that is related to the time expression.
Here few examples
1. 6pm call mom
2. 6:30pm call mom
3. 6:19p call mom
4. 6p call mom
5. 6am call mom
6. 6a call mom
7. 2 hours call mom
8. 2 hrs call mom
9. 30 minutes call mom
10. 30 mins call mom
11. today at 6pm call mom the next 6pm, if 6pm has already passed.
12. Saturday 6pm call mom The next Saturday, if Saturday has already passed
13. tomorrow at 6pm calculates tomorrow regardless if its after 6pm or not.
|
|
| Name: |
text2timestamp |
| Base name: |
text2timestamp |
| Description: |
Parses and extract times from text |
| Version: |
1.0 |
| PHP version: |
5.0 |
| License: |
Free for non-commercial use |
| All time users: |
183 users |
| All time rank: |
6746 |
| Week users: |
0 users |
| Week rank: |
2015  |
| |
|
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|