facebook / facebook/duckling

FR support for decimal spelled out

Open
#494 0 comments 0 reactions 0 assignees View on GitHub
enhancement FR (French)
Dominant language
Haskell
Stars
4.3k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

In [EN](https://github.com/facebook/duckling/blob/04d0db6efa92ec3e933668be3ed7f6c99b346bbd/Duckling/Numeral/EN/Rules.hs#L205) and [ES](https://github.com/facebook/duckling/blob/04d0db6efa92ec3e933668be3ed7f6c99b346bbd/Duckling/Numeral/ES/Rules.hs#L218) it appears there is support for decimal points "spelled out", i.e.:

`one point four` -> 1.4
`uno punto cuatro` -> 1.4

It does not appear that FR supports the same behavior, for instance, `un virgule quatre` will find the 1 and the 4 separately but the virgule (`,`) will not identify it as a float. Is there something I'm missing? I am not a native French speaker, so perhaps this is supported but using a different word?

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.