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

expand contractions is not working as expected #17

Open
jonanem opened this issue Mar 25, 2019 · 1 comment
Open

expand contractions is not working as expected #17

jonanem opened this issue Mar 25, 2019 · 1 comment

Comments

@jonanem
Copy link

jonanem commented Mar 25, 2019

When there are more than one single quote(') such as "you'll've" , Expand contractions in text_normalizer.py is giving output as "you willve" but the expected output is "you will have"

@dipanjanS
Copy link
Owner

dipanjanS commented May 5, 2019

Yes sadly this is a known issue even with the contractions package on PyPI. The whole regex pattern framework used for this will need to be modified I am guessing. Will be taking a look at this some time in the future as I get some time.

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