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
Adding Optional Text Preprocessing Steps #267
Comments
Can you send the snippet used for each. I believe they can be added as tokenizer exception rules |
Emoji Removal:
Text: Text: URL Removal:
Text: HTML Tags Removal:
Digit Removal:
Text: |
@ertugrul-dmr Is there any work or PR on this? If not, let's prioritize this for the release after the next one. |
Note to self: Should be done in a general way, allowing users to add their own custom preprocessing steps if necessary. |
Adding extra text pre-processing options might come in handy for different use cases and might improve our model performances on some datasets. These options can be implemented:
Since these steps applied on raw strings before tokenization comes with another question, where shall we implement them?
bblock.util.py
maybe?The text was updated successfully, but these errors were encountered: