Support single word rule composition
- Ngôn ngữ chính
- Haskell
- Star
- 4.3k
- Fork
- 740
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Today Duckling doesn't allow to create multiple patterns to match against a single word.
As a result, we can't compose rules/dimensions and have to duplicate the regexes.
This is the case for DE (e.g. [here](https://github.com/facebook/duckling/blob/master/Duckling/Numeral/DE/Rules.hs#L105) and [here](https://github.com/facebook/duckling/blob/master/Duckling/Numeral/DE/Rules.hs#L323)), NL (e.g. [here](https://github.com/facebook/duckling/blob/master/Duckling/Numeral/NL/Rules.hs#L104)), EL (e.g. [here](https://github.com/facebook/duckling/blob/master/Duckling/Duration/EL/Rules.hs#L121)), and RU (e.g. [here](https://github.com/facebook/duckling/blob/master/Duckling/Duration/RU/Rules.hs#L48)).
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.