[x] multiple sentences? (validated by nlp.text(TEXT).sentences.length)
[ ] repeat back the todo + reminder format
Date / Time
[ ] make sure dates are always in the future (AND, TO, THROUGH, OR)
[ ] multiple days / reminder times (chrono breaks it into multiple objects)
[x] Monday AND Friday or Monday, Wednesday, AND Friday
[x] Wednesday OR Friday
[ ] differentiate between AND and OR
OR is a much rarer use case (may revisit in next sprint)
[x] differentiate between prepositions and determiners
[x] ON / THIS (specific day)
[x] BY (daily reminder until that day)
[x] EVERY (should also apply to multiple days / reminder times)
[x] EVERY OTHER (maybe wait for this one?)
[x] NEXT (the week after the current one) >> temporarily resolved
chrono and nlp_compromise references the current week (Mon-Sun)
if on Sun and "next Thursday", identifies the first coming up Thursday
if on Mon and "next Thursday", idenifies the next week's Thursday
possibly ask the user which week they are referring to
[ ] ranges
[x] TO (e.g. Friday from 5 to 7PM)
[ ] THROUGH/THRU (e.g. Friday from 5 through 7PM)
[x] TO (e.g. Tuesday to Thursday)
[ ] THROUGH/THRU (e.g. Tuesday through Thursday)
[ ] other conditions
[ ] in 30 minutes
[ ] in an hour
[ ] in a day
[ ] in a week
[ ] next week/month
[ ] in a couple/few days
[ ] later today
[ ] every QUALIFIER (e.g. third) UNIT_OF_TIME
[ ] EVERY condition
[ ] day
[ ] hour
[ ] minutes
[ ] second
can't handle phrases like "this weekend"
nlp.text(TEXT).date() is currently broken, the returned values in the documentation doesn't accurately detect the date or multiple dates
can't handle multiple subjects (nouns) and date/times (e.g. pick up the groceries on Friday and call the babysitter on Monday) > leads to higher order question of breaking up a todo into segments
Date / Time
chrono
andnlp_compromise
references the current week (Mon-Sun)Quantity
currently using https://github.com/wanasit/chrono and https://github.com/nlp-compromise/nlp_compromise