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

Always remove XML tags when detecting single-byte charset encodings that use ASCII letters #208

Merged
merged 2 commits into from Dec 12, 2020

Conversation

dan-blanchard
Copy link
Member

@dan-blanchard dan-blanchard commented Dec 12, 2020

This should prevent us from inadvertently having a bunch of XML/HTML tags influencing detection results.

Also rename filter_with_english_letters to remove_xml_tags since that's what it actually does.

This was originally part of #99 , but I'm trying to pull out the parts that didn't break there, so that all that's left is the model retraining in #99.

@dan-blanchard dan-blanchard merged commit dc8fe6c into master Dec 12, 2020
@dan-blanchard dan-blanchard deleted the feature/xml_tag_cleanup branch December 12, 2020 02:26
@dan-blanchard dan-blanchard mentioned this pull request Jun 25, 2022
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

Successfully merging this pull request may close these issues.

None yet

1 participant