Duckling v0.1.4.0
Core
- Bumped to LTS 9.10
- API: Added
Node
toEntity
to return the parse tree
Rulesets
- Common
- AmountOfMoney: don't recursively compare cents
- AmountOfMoney: don't allow decreasing intervals
- Duration: added
type
in response - Numeral: common rule to parse numbers
- Numeral: common rule to parse fractions
- Numeral: don't compose negative numbers
- Time: fixed empty values for past datetimes
- Time: fixed case sensitivity for timezones
- Url: fragments support
- AR_XX
- AmountOfMoney: new!
- Duration: new!
- Ordinal: more rules
- Quantity: new!
- Temperature: new!
- Time: new!
- Volume: new!
- DE_XX
- Numeral: fixed keiner
- Time: fixed this/next/last for holidays/months/days of week/seasons/weekend only
- EL_XX
- Duration: new!
- Numeral: new!
- Ordinal: new!
- Time: new!
- EN_GB
- Time: fix parsing Oct-Dec months
- EN_XX
- AmountOfMoney: intervals support
- Distance: intervals support
- Email: spelled out 'dot'
- Numeral: prevent double negatives
- Numeral: skip hundred for alphabetical numbers only
- Quantity: intervals support
- Time: don't parse "at" + phone number
- Time: fixed date format in non-US locales
- Time: fixed Thanksgiving in locales
- Time: don't parse "this in 2 minutes"
- Time: spelled out times + AM/PM
- Time: fixed case sensitivity
- Time: fixed "from" + time of day
- Time: support MM.DD.YYYY
- FR_XX
- Numeral: space as thousand separator
- GA_XX
- Numeral: fix old vigesimal
- HI_XX
- Numeral: new!
- Ordinal: new!
- JA_XX
- Time: removed dimension, as it is not implemented yet
- NE_XX
- Numeral: new!
- NL_XX
- Time: new!
- Time: don't be too eager on days of week
- Time: today/tomorrow/yesterday evening/afternoon/morning
- Time: fixed this/next/last for holidays/months/days of week/seasons/weekend only
- PT_XX
- Numeral: fixed rules
- RU_XX
- AmountOfMoney: new!
- Distance: new!
- Duration:: new!
- Numeral: 1.5 rule, more 0 rules, fixed 11, 300 and 400
- Ordinal: fixes
- Quantity: new!
- Volume: new!
- SV_XX
- Duration: extend support for "about" + duration
Server
- Fixed Dockerfile
- Added reference time parameter