We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While using nlpaug with Python 3.12, the following warning is raised due to invalid escape sequences in string literals used for regular expressions:
SyntaxWarning: invalid escape sequence '\s' prefix_reg = '(?<=\s|\W)' SyntaxWarning: invalid escape sequence '\s' suffix_reg = '(?=\s|\W)'
These warnings originate from the context_word_embs.py file and are due to the use of unescaped backslashes in non-raw strings.
File Affected: nlpaug/augmenter/word/context_word_embs.py, lines 123–124.
Why This Matters:
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
While using nlpaug with Python 3.12, the following warning is raised due to invalid escape sequences in string literals used for regular expressions:
These warnings originate from the context_word_embs.py file and are due to the use of unescaped backslashes in non-raw strings.
File Affected:
nlpaug/augmenter/word/context_word_embs.py, lines 123–124.
Why This Matters:
The text was updated successfully, but these errors were encountered: