facebook / facebook/duckling

[AmountOfMoney] Utterances that match the pattern `<number> $ <number>` return the wrong amount

Đang mở
#268 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
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ả

The following requests replicate the issue the latest pull of `master`:

* `i have two $ 500 checks`
```
[
{
"body":"two $ 500",
"start":7,
"value": {"value":7,"type":"value","unit":"$"},
"end":16,
"dim":"amount-of-money",
"latent":false
}
]
```
* `a $ 100`
```
[
{
"body":"a $ 100",
"start":0,
"value":{"value":2,"type":"value","unit":"$"},
"end":7,
"dim":"amount-of-money",
"latent":false
}
]
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.