Most modern Natural Language Processing (NLP) assumes a "dictionary-first" world. Models like BERT or GPT are trained on massive corpora of standardized text—Wikipedia, news articles, and books—where spelling is governed by strict institutional rules. However, for hundreds of millions of speakers of dialects, creoles, and endangered languages, the written word is a moving target.
In languages like Jamaican Patois, Swiss German, or "Arabizi" (Arabic dialects written in Latin script), there is often no single "correct" way to spell a word. Instead, writers use phonetic approximations, regional variants, or ad-hoc transliterations. This lack of standardized orthography creates a fundamental "lexical gap" that breaks the standard NLP pipeline.
The Tokenization Bottleneck
The first point of failure for non-standardized languages is tokenization. Most models use subword algorithms like Byte Pair Encoding (BPE) to break text into manageable chunks. These algorithms rely on statistical frequency; if a word is spelled five different ways, the model sees five different entities, or worse, fragments them into meaningless character shards.
As John Hewitt and colleagues observed in their work on JamPatoisNLI, the high lexical overlap between a creole and its base language (like English) should theoretically help models. However, the spelling variance in primarily spoken languages acts as a "noise" that prevents models from anchoring to the standardized concepts they already know. This is echoed in research on creole language models by authors like Jade Z. Abbott, who found that orthographic inconsistency leads to fragmented representations, hindering the performance of even well-resourced architectures.
Transliteration and Code-Mixing
The problem intensifies when speakers switch scripts entirely. In social media contexts, users often write languages like Hindi or Arabic using the Roman alphabet (transliteration). Because there are no formal rules for mapping these sounds to Latin characters, a single word can have dozens of valid representations.
Khyathi Chandu and Alan W. Black have highlighted how word-level embeddings struggle with this variance in "Hinglish" (Hindi-English code-switching). When a user writes "ye word kis lang ka hai bhai?" (what language is this word, brother?), the model must handle phonetic spelling variations that don't exist in formal training data. Similarly, Mohamed Al-Badrashiny and Nizar Habash developed the 3ARRIB system specifically to map the "noisy" Latin-script Arabizi back into a standardized Arabic script (CODA) to make it processable by downstream tools.
Beyond Tokens: Phonetic and Visual Robustness
If discrete tokens are too brittle to handle orthographic variation, how can models adapt? Researchers are exploring two main paths: phonetic modeling and visual "pixel" modeling.
- Phonetic and Character-Level Modeling: Instead of looking at whole words, models can look at characters or phonemes. Yves Scherrer and Owen Rambow demonstrated this by using georeferenced transformation rules to map Swiss German dialectal variants back to a common space. By focusing on how sounds change across geography, they could identify dialects despite the lack of a standard script.
- Pixel-Based Models: Perhaps the most radical departure from the "dictionary" approach is "reading" text as an image. Alberto Muñoz-Ortiz and Barbara Plank showed that pixel-based models significantly outperform traditional BERT-style models on non-standardized German dialects. Because humans can visually recognize that "hus" and "haus" are similar, a model that "sees" the text can map these variations to a shared semantic space more effectively than one that treats them as distinct integer IDs.
Normalization as a Bridge
For many researchers, the goal is "normalization"—translating the non-standard variant into a high-resource "standard" version of the language. This allows the use of existing tools for translation, sentiment analysis, or information retrieval.
In the VarDial Evaluation Campaigns, researchers like Noëmi Aepli have shown that while intent classification is becoming robust, fine-grained tasks still fail due to orthographic noise. The solution often involves dialect-to-standard normalization, where sequence-to-sequence models (often character-level Transformers) act as a "pre-processor" to clean the text before it reaches the main language model.
By treating orthographic variation not as "errors" to be corrected, but as a fundamental linguistic feature to be modeled, the field is moving toward a more inclusive AI that can communicate with users in their natural, informal, and diverse written voices.