AmyOlex / Chrono

Parsing time normalizations from text.
GNU General Public License v3.0
15 stars 4 forks source link

merging updates to LAST parsing #9

Closed AmyOlex closed 6 years ago

AmyOlex commented 6 years ago

I made 3 updates regarding the LAST entity. 1) I added the word "last" as a temporal word so that it is not included in the temporal phrase. 2) I updated the buildPeriodInterval() method to specifically look for a "last" or "next" word using the hasModifier() method and to create and link the entity. 3) A minor change was to the buildDayOfWeek() method where the default Last Semantic property is now changed to "Interval-Included".