Abstract: ODIN, the Online Database of INterlinear text, is a resource built over language data harvested from linguistic documents (Lewis, 2006). It currently holds approximately 190,000 instances of Interlinear Glossed Text (IGT) from over 1100 languages, automatically extracted from nearly 3000 documents crawled from the Web. A crucial step in building ODIN is identifying the languages of extracted IGT, a challenging task due to the large number of languages and the lack of training data. We demonstrate that a coreference approach to the language ID task significantly outperforms existing algorithms as it provides an elegant solution to the unseen language problem. We also discuss several issues that make automated Language ID and the maintenance of ODIN very difficult.
Introduction
Identifying the language of short text snippets in scholarly papers is surprisingly difficult when dealing with over a thousand languages and minimal training data. This paper addresses the challenges of Language Identification (ID) within the Online Database of INterlinear text (ODIN), a resource built from language data harvested from linguistic documents. While identifying common languages like French or Spanish is straightforward for modern systems, identifying a snippet of Alumu-Tesu or Hmong inside a 30-page English PDF is a significant hurdle.
The authors highlight two main problems:
- The Unseen Language Problem: About half of the languages in ODIN do not appear in standard training sets. Traditional algorithms cannot identify a language they have never "seen" before.
- Naming Chaos: Language names are often ambiguous. One name might refer to dozens of distinct languages, while one language might have multiple names used by different authors.
Methods
The authors compare two distinct philosophies for Language ID:
- The Standard Approach (N-grams): This method relies on character sequence frequencies. While effective for long texts in common languages, it fails on short Interlinear Glossed Text (IGT) snippets where training data is scarce.
- The Coreference Approach: This innovative method treats Language ID as a coreference resolution task. Instead of analyzing the snippet in isolation, the system treats the IGT snippet as a "mention" and searches the surrounding document for language names ("entities"). By linking the snippet to a nearby language name (e.g., "The following example from Banka shows..."), the system can identify languages without prior training data.
Data Resources
The study utilizes the ODIN database, which contains approximately 190,000 IGT instances from over 1,100 languages, extracted from nearly 3,000 documents. To map names to unique identities, the researchers merged three major linguistic resources: ISO 639-3, Ethnologue v15, and the LinguistList table.
As shown in Table 1, the resulting merged table contains 7,816 unique language codes and over 47,000 (code, name) pairs. This scale illustrates the complexity of the naming ambiguity problem, where 5.95% of language names in the master table are ambiguous.
Results
- N-gram Failure: A standard N-gram algorithm that achieves 99.8% accuracy on common languages plummeted to just 51.4% accuracy on the diverse ODIN dataset.
- Coreference Success: The coreference approach significantly outperformed existing algorithms by leveraging document context to solve the "unseen language problem."
- Error Analysis: Manual auditing revealed that 1/3 of system errors were due to incomplete or incorrect mappings in the underlying language tables, such as assigning a Mexican language code to a Guatemalan dialect.
Discussion and Limitations
Despite improvements, Language ID remains difficult. Generic names (macrolanguages) like Quechua can refer to dozens of specific languages, requiring deep contextual cues to disambiguate. Furthermore, reconciling author intent (e.g., treating two varieties as dialects vs. separate languages) with rigid database codes is an ongoing challenge. The constant evolution of language standards necessitates a hybrid approach of automated tools and expert manual oversight to maintain the accuracy of resources like ODIN.
Summary updated