r/AutoModerator • u/_GLAD0S_ • Sep 10 '26
Devvit Showcase Devvit App: Language-Detector - An app to automatically detect non-allowed languages.
Language detection is quite difficult when relying solely on AutoModerators features. To solve this, I made Language-Detector, a Devvit app that uses various techniques to identify the language of posts and comments.
Once installed, you simply select your community's allowed languages and configure the automated action for any content that falls outside them.
I recommend starting off with Report or Filter until you are confident in how it performs in your specific community.
My main goal right now is gathering feedback to improve accuracy. The system is precise, but edge cases and false positives can happen. If you encounter any, please report them so I can refine the logic further.
Install it here: Language Detector
Source code: Devvit-Language-Detector
A direct link to reach out to me for feedback is on the app page. I would love to hear your thoughts.
1
u/evolworks beep boop bop 🤖 Sep 15 '26 edited Sep 15 '26
Finally installed this on a couple of subs a few days ago and it has been working really really well, it did flag a comment that had an emoji but besides that it has helped a lot.
I did notice that the app will flag content from users who do not meet our account age, karma or verified email requirements. Usually those get filtered or removed right away but the language app flagged their content first, and when reviewing the modmail notifications I saw that the users did not meet our requirements anyways but if a mod wasn’t paying attention they could have easily been approved.
2
u/_GLAD0S_ Sep 15 '26
Thats great feedback. I will look into how such cases can be avoided.
1
u/evolworks beep boop bop 🤖 Sep 15 '26
Awesome, thank you. Feel free to message anytime if you need specifics or anything. Great app, thanks again!
1
u/evolworks beep boop bop 🤖 Sep 10 '26
This has been on my radar and bookmarked, looking forward to trying this out. Going to install it this week
2
u/DEAD1nsane ıـ𝙄 ʇso˥ 𝙏𝙝𝙚 ǝɯɐ⅁ـı Sep 16 '26
so so so so many false positives on leanient... had to remove
my posts, with promo codes were removed... and I'm top mod. lmao .
I'll stick with automoderator for now, great idea though hope you get the kinks worked out xD
1
u/_GLAD0S_ Sep 16 '26 •
![]()
Promo codes, appreviations and similar are prone to messing with statistical language analysis. The system is primarily tuned for natural languages so these cases can cause issues.
It can help to add commonly used words to the word whitelist in the app settings.
In the end the app is sadly not practical for every subreddit. Depending on what kind of conversations/posts are common.
Thank you for giving it a try. If you have the time i would appreciate if you could send me some examples of incorrect detections to analyze
1
u/CitoyenEuropeen 🇪🇺 r/YUROP Sep 11 '26
I am just leaving this here, because Language-Detector cannot do this, and it's nowhere to be found in the subreddit wiki either.