Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Allow for equivalent/alternative words #37

Open
mwoodsy opened this issue Dec 23, 2020 · 1 comment
Open

Feature Request: Allow for equivalent/alternative words #37

mwoodsy opened this issue Dec 23, 2020 · 1 comment

Comments

@mwoodsy
Copy link

mwoodsy commented Dec 23, 2020

When calculating WER, MER, and WIL it would be nice to allow for equivalent or alternative words. For example:

Hi, This is Ann.
Hi, This is Anne.

The cost is 21 dollars
The cost is $21.00 dollars
The cost is $21
The cost is twenty one dollars

I'm going to go for a walk
I'm gonna go for a walk

could all be equivalent

A method to implement something like this could be to allow for something like this syntax [<alternatives>] in the ground truth, for example:

Hi this is [Anne|Ann] I'm [going to|gonna] go for a walk

@nikvaessen
Copy link
Collaborator

nikvaessen commented Dec 23, 2020

I think that you should use the pre-processing transform API to solve these cases by normalizing all text to a single alternative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants