Skip to content

Conversation

@nattsw
Copy link
Contributor

@nattsw nattsw commented Jan 16, 2025

We're seeing some bugs where if a post starts with a image or quote, the translator provider thinks the post is english or the language of the quoted words.

This PR strips lightboxes and quotes when sending for language detection.

Copy link
Contributor

@Drenmi Drenmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🦘

@nattsw nattsw merged commit 620d774 into main Jan 16, 2025
3 checks passed
@nattsw nattsw deleted the skip-images-for-detection branch January 16, 2025 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants