Skip to content

Duckling v0.1.3.0

Compare
Choose a tag to compare
@patapizza patapizza released this 16 Oct 23:48

Core

  • Support locales
  • Don't allow matches in the middle of words

Rulesets

  • Common
    • All: converted back all escaped characters to unicode
    • Time: don't shift duration on "Duration before/after Time"
    • Time: don't parse subsequent numbers
    • Time: fix nthDOWOfMonth
    • Time: reuse the weekend helper in all languages
  • BG_XX
    • AmountOfMoney: new!
    • Numeral: new!
  • DA_XX
    • Time: Consolidated rules for months and days of week
  • DE_XX
    • Time: don't parse "nächste 5"
    • Time: Consolidated rules for months and days of week
    • Time: Consolidated rules for holidays, instants and seasons
  • EN_CA
    • Time: Fixed Thanksgiving Day
  • EN_GB
    • Time: Fixed DDMM and YYYYDDMM
  • EN_XX
    • Time: "for Duration from Time"
    • Time: "from 10 to 16 August"
    • Time: "August 27th-30th"
    • Time: "23rd to 26th Oct", "1-8 september"
    • Time: Support misspelled "tonights" and "weekends"
    • Quantity: Support ounces
    • Email: restrict domain extensions to letters when spelling out
  • ES_XX
    • Time: Consolidated rules for months and days of week
    • Ordinal: Fixed "first" variants + accents
  • FR_XX
    • Time: don't parse "a un"
    • Time: Consolidated rules for months and days of week
  • GA_XX
    • Time: Consolidated rules for months and days of week
  • HE_XX
    • Time: Consolidated rules for months
  • HR_XX
    • Time: Consolidated rules for months and days of week
  • HU_XX
    • Duration: new!
    • Numeral: new!
    • Ordinal: new!
    • Time: new!
  • IT_XX
    • Time: Consolidated rules for months and days of week
  • JA_XX
    *Numeral: Optimized regex lookup
  • KA_XX
    • Numeral: new!
  • NB_XX
    • Time: Consolidated rules for months and days of week
  • NL_XX
    • Duration: new!
  • PL_XX
    • Time: don't parse "nie"
    • Time: don't parse ordinals without context
    • Time: Consolidated rules for months and days of week
  • PT_XX
    • Time: don't parse "um" alone
    • Time: don't parse "ter"
  • RO_XX
    • Time: Consolidated rules for months and days of week
    • Time: don't parse "sa"
  • SV_XX
    • Ordinal: Fixed ordinals
    • Time: "i + day-of-week"
    • Time: Consolidated rules for months and days of week
  • VI_XX
    • Time: Consolidated rules for months and days of week
  • ZH_TW
    • Time: Fixed National Day
  • ZH_XX
    • Time: Consolidated rules for months and days of week