facebook / duckling

Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.
Other
4.05k stars 723 forks source link

AmountOfMoney add support for `bits` #617

Open rgstephens opened 3 years ago

rgstephens commented 3 years ago

Add support for amounts in bits for English. Two, four & six bits (.25, .50 & .75)

chessai commented 3 years ago

I hadn't heard of this before. Here is some context for other readers of this issue: https://en.m.wikipedia.org/wiki/Bit_(money)

rgstephens commented 3 years ago

Thanks for adding the reference. The Robert Louis Stevenson shopkeeper example is where I first heard this as a kid and I also hear it used when referring to bet amounts.