Skip to content

Probably incorrect parsing with "and" in English: "thirty and six" -> 36 #97

@espdev

Description

@espdev

Hello,

It seems that for numerals, it is not correct to parse numbers that have "and" between them as single numbers.
For example:

  • "thirty and six" -> 36
  • "twenty and seven" -> 27

That's not how English-speaking people pronounce numbers with tens in English. This is true for numbers greater than a hundred, but not for numbers up to a hundred, for example: "one hundred and twenty-six" -> 126.

We have encountered a problem in our system where users say two numbers through "and" and we take it as one number (because we use number-parser for post-processing STT result), even though there should be two numbers.

It would be great if we could configure parsing rules and disable anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions