facebook / facebook/duckling

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

Open
#268 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Haskell
Stars
4.3k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

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
}
]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.