-
Notifications
You must be signed in to change notification settings - Fork 6
feat: English/Spanish call ASR normalizations for gladia-3 #32
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,15 @@ | ||
| ENGLISH_SENTENCE_REPLACEMENTS: dict[str, str] = { | ||
| "good bye": "goodbye", | ||
| # ASR / WER canonicalizations | ||
| "m a c": "mac", | ||
| "all right": "alright", | ||
| "fire fire": "firefires", | ||
| "paul s": "pauls", | ||
| "ray tuan": "raytwine", | ||
| "pre prepa": "prepaid", | ||
| "30 two": "32", | ||
| "for point": "point", | ||
| "eleventh 2000 and twelve": "112012", | ||
| "eleventh 2 thousand and twelve": "112012", | ||
| "eleventh 2 thousaond and twelve": "112012", | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -130,3 +130,40 @@ four hundred,400 | |
| five thousand dollars,5000 dollars | ||
| three thousand five hundred,3500 | ||
| two billion people,2000000000 people | ||
| itchys,itches | ||
| placed,placer | ||
| ruby,rudy | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| cannot,could not | ||
| peoples,people | ||
| dated,date | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| telephone,cell phone | ||
| try,tried | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| talk,talked | ||
| shi,shit | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| rudolph,rudolf | ||
| fimo,famo | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| holla,holler | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| pound,pounds | ||
| crystals,pistols | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| duckets,duckers | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| raytwine,raytron | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| twine,twan | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| paul,powell | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| streets,street | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| because,cuz | ||
| prepai,prepaid | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| solution,solutions | ||
| motherfuka,motherfucker | ||
| all right,alright | ||
| fire fire,firefires | ||
| paul s,pauls | ||
| ray tuan,raytron | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| pre prepa,prepaid | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not this one |
||
| 30 two,32 | ||
| 44 for point 5,44 point 5 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shoudl be done with a words2num2 normalization |
||
| eleventh 2000 and twelve,112012 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shoudl be done with a words2num2 normalization |
||
| eleventh 2 thousand and twelve,112012 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shoudl be done with a words2num2 normalization |
||
| eleventh 2 thousaond and twelve,112012 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shoudl be done with a words2num2 normalization |
||
| 25 hundred,2500 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shoudl be done with a words2num2 normalization |
||
| 35 hundred,3500 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shoudl be done with a words2num2 normalization |
||
| 20 thirteen,2013 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shoudl be done with a words2num2 normalization |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,3 +36,6 @@ cuarenta y cinco,45 | |
| setenta y ocho,78 | ||
| quinientos,500 | ||
| quince mil,15000 | ||
| ahorita,ahora | ||
| llama,llame | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not the same |
||
| cuchillo,culchi y yo | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not this one