I'm one of the maintainers of this project. Comments, suggestions, or contributions are very welcome! Specially regarding expansion to support new languages/cultures.
We're looking at multiple ways to improve the project.
We're looking at multiple ways to improve the project.
One piece of feedback is: the documentation https://github.com/Microsoft/Recognizers-Text/tree/master/Ja... doesn't seem to cover the the various terms used in the results. Eg from my code:
const recognizedDateTimes = recognizeDateTime(filterValue, "English");
// TODO: clarify what is distinct between each 'recognizedDateTime'
// Seems like these are the 'recognisable items' that were found but I can't find docs.
const firstDateFound = recognizedDateTimes[0];
// TODO: clarify what is a 'resolution'
// Seems like this is each possible value for each recognisable item but I can't find docs.
// eg if the user enters 'october'
// values[0] is in the past
// values[1] is in the future
// we always want the past, hence picking 0.
const firstResolution = firstDateFound?.resolution?.values[0] || null;
A simple explainer in the README would be great.