mirror of
https://github.com/facebook/duckling.git
synced 2024-09-11 21:27:13 +03:00
328e59ebc4
Summary: I'm using Duckling in my project but I noticed that quantities in kg weren't being detected correctly, though other entities such as numeral/volume were all working as expected. Investigating more I noticed that this was just because in Portuguese the Quantity entity was only configured to detect cups and pounds, never grams. And even for cups/pounds, products weren't being detected correctly. So I've just adapted the rules from English Quantity to work in Portuguese as well, while keeping the cups/pounds too. It's all working as expected now and it's backwards compatible. Pull Request resolved: https://github.com/facebook/duckling/pull/631 Reviewed By: stroxler Differential Revision: D29701339 Pulled By: chessai fbshipit-source-id: fca08a14c50844d418f101b885ca54554d993f58 |
||
---|---|---|
.. | ||
AmountOfMoney | ||
CreditCardNumber | ||
Dimensions | ||
Distance | ||
DistanceUnits | ||
Duration | ||
Engine | ||
Numeral | ||
Ordinal | ||
PhoneNumber | ||
Quantity | ||
Ranking | ||
Regex | ||
Rules | ||
Temperature | ||
Testing | ||
Time | ||
TimeGrain | ||
Types | ||
Url | ||
Volume | ||
Api.hs | ||
Core.hs | ||
Debug.hs | ||
Dimensions.hs | ||
Engine.hs | ||
Locale.hs | ||
Region.hs | ||
Resolve.hs | ||
Rules.hs | ||
Types.hs |