Skip to content

Duckling v0.1.5.0

Compare
Choose a tag to compare
@panagosg7 panagosg7 released this 21 Apr 00:05

Testing

  • Prompt ambiguous parses in corpus tests

Rulesets

  • Common

    • Add an option to return latent time entities.
    • AmountOfMoney: Distribute ruleUnitAmount to all languages
    • Time: Make all years latent
    • Lambda-case for Rule production
    • Numeral: fix intersect rule to work with negative numbers
    • Support custom dimensions
  • BG_XX:

    • Distance: new!
    • TimeGrain: new!
    • Duration: new!
    • Ordinal: new!
  • EN_XX

    • Time: periodic holidays
    • Time: handle Easter
    • Time: parse "DD MM YYYY", "MM DD YYYY" as date instead of only phone fix
    • Time: added rules for the beginning / end of year / month / week
    • Time: "late tonight"
    • Time: "last night" and "late last night"
    • Time: fixes in holidays
    • Time: Return Holiday Name in response
    • Duration: composite
    • Time: support for this|last|next season
    • Time: added Easter-based holidays
    • Time: precomputed Orthodox Easter dates
    • Time: added Orthodox Easter-based holidays
    • Time: fix Labour Day, add Heroes' Day and National Patriots' Day
    • Time: Chinese New Year
    • Time: added Boss's Day
    • Time: fix computed past series and Jewish holidays
    • Time: added rules to cover EOY, EOM, BOY, BOM
    • Time: rule of month
    • Time: Islamic holidays
    • Time: fix "in" + year
    • Time: Added precomputed Jewish holiday "Tu BiShvat"
    • Time: time + n years ago/in n years
    • Time: make "may" latent
    • Duration: move composite duration rule to English
    • Time: add Diwali, Navaratri, Vasant Panchami, Holika Dahan, Holi and other Hindu holidays
  • EN_AU

    • Time: add Reconciliation Day
  • EN_CA

    • Time: add Discovery day
    • Time: Add "Groundhogs day" in regex for "Groundhog Day"
  • EN_GB

    • Time: fixed mother's day
  • EN_US

    • Time: Washington's birthday, President day and Lincoln's birthday
    • Time: Add "Groundhogs day" in regex for "Groundhog Day"
  • ES_XX

    • Time: use mkRuleSeasons
  • DE_XX

    • Time: return Holiday Name in response
  • NL_XX

    • Time: return Holiday Name in response
    • AmountOfMoney: new!
  • PL_XX

    • Time: month regex fix
  • RU_XX

    • Ordinal: refactor pattern match to hashmap lookup
  • SV_XX

    • Distance: new!
    • Distance: fix mil
  • TA_XX

    • Numerals: new!
  • VI_XX

    • AmountOfMoney: Use comma "," as decimal separator
  • ZH_XX

    • Distance: new!
    • Time: remove unused ruleLastTuesdayLastJuly
    • Numeral/Distance/Time: generalize and expand digit specifier usage
    • AmountOfMoney: new!