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

Normalize input sentences before translation #59

Open
martinpopel opened this issue Mar 13, 2023 · 1 comment
Open

Normalize input sentences before translation #59

martinpopel opened this issue Mar 13, 2023 · 1 comment

Comments

@martinpopel
Copy link
Member

There were reported cases when an extra space before question mark results in extra repetitive segment in the translation. I think, we could safely do s/ \?/?/g pre-processing unless the source language is French.
Spacing around other punctuation symbols (e.g. quotation marks) may be more tricky and some experiments will be needed.

@martinpopel
Copy link
Member Author

see also #38

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

1 participant