javadr/PyTorch-Detect-Code-Switching
Implementation of a deep learning model (BiLSTM) to detect code-switching
This tool helps researchers and natural language processing practitioners identify different languages within a single piece of text, known as code-switching. You input text that mixes multiple languages, and it outputs labels identifying which language each word or phrase belongs to. It's ideal for anyone analyzing multilingual social media content, particularly tweets mixing English, Spanish, and other languages.
No commits in the last 6 months.
Use this if you need to accurately identify and separate different languages within text that frequently switches between them, especially in social media posts.
Not ideal if your primary need is general language identification for single-language documents, or if you require support for a very wide array of less common languages not represented in social media.
Stars
8
Forks
—
Language
Python
License
GPL-3.0
Category
Last pushed
Mar 26, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/javadr/PyTorch-Detect-Code-Switching"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
indix/whatthelang
Lightning Fast Language Prediction 🚀
nitotm/efficient-language-detector-js
Fast and accurate natural language detection. Detector written in Javascript. Nito-ELD, ELD.
pemistahl/lingua-py
The most accurate natural language detection library for Python, suitable for short text and...
nitotm/efficient-language-detector
Fast and accurate natural language detection. Detector written in PHP. Nito-ELD, ELD.
mbanon/fastspell
Targetted language identifier, based on FastText and Hunspell.