When I use SUTime's API, I provide text and receive a list of CoreMap
objects, each detailing the attributes of a time expression in the text. I wish to take such a CoreMap
and convert it into a Date
or Calendar
object, for easier handling and manipulations.
Is there any such method in the SUTime API? Anywhere else for that matter?
Is there a reverse method for building a CoreMap
out of a Date
or Calendar
object?