Introduction
Natural Language Processing (NLP) tools, such as parsers, taggers, and sentiment analyzers, are predominantly trained on modern, standardized text. Consequently, these tools often fail when applied to historical documents, such as 15th-century letters. Historical English lacked a written standard; a single word could be spelled in numerous ways depending on the author's region, social status, or personal preference. Researchers from the University of Helsinki are addressing this challenge by utilizing Neural Machine Translation (NMT) to bridge the 500-year gap between Early English and modern spelling.
This research is part of a broader project aimed at identifying neologisms within the Corpora of Early English Correspondence (CEEC). To determine if a word is truly "new," it must first be mapped to its modern equivalent to facilitate checking against the Oxford English Dictionary (OED). This paper focuses on the "hard mode" of this problem: normalizing rare and highly deviant spellings that traditional, simpler methods often fail to resolve.
Methodology
The researchers approached normalization as a character-level translation task. Rather than translating between different languages, they "translated" historical character sequences into modern ones using the OpenNMT framework.
Technical Variations
Several technical configurations were explored:
- Model Architecture: The study compared standard Recurrent Neural Networks (RNNs) against Bi-directional RNNs (BRNNs) and models incorporating Multi-Layer Perceptron (MLP) attention.
- Feature Engineering: The models were tested with additional context, including the author's social rank, gender, and phonetic approximations (using Metaphone and eSpeak IPA), to determine if phonetic or social signals could improve normalization.
- Lexicographical Filtering: A "Dictionary-in-the-Loop" approach was implemented. Instead of relying solely on the model's top prediction, the system generated the top 10 candidates and used the OED as a validator. A candidate was selected if it existed in the OED, either directly or after lemmatization via spaCy.
Experimental Setup
The models were trained on a parallel dataset of 183,505 word pairs compiled from the CEEC, the OED, and the Middle English Dictionary (MED). Evaluation was conducted using five custom "Gold Standard" test sets—one generic and four century-specific—each containing 100 difficult words manually normalized by a historical linguistics expert.
Results and Discussion
Architecture Performance
The choice of architecture proved significant. Bi-directional RNNs (BRNNs) consistently outperformed standard RNNs. This is intuitive for spelling tasks, as the end of a word (e.g., a suffix) often provides critical context for normalizing the beginning.
As shown in the results, the BRNN achieved an accuracy of 39.8%, a notable improvement over the default RNN's 35.6%. Interestingly, adding more layers or MLP attention did not necessarily yield better results, suggesting that for character-level spelling, simpler bi-directional models are highly effective.
The Impact of Lexicographical Filtering
The most substantial performance gains were achieved through post-processing rather than architectural complexity. By using the OED as a "sanity check," the system could discard "hallucinated" words—strings that looked like plausible English but were not actual words.
When combining the BRNN with OED filtering and lemmatization, the mapping accuracy (finding the correct root word) reached impressive levels. For the 16th-century test set, accuracy reached 78%, and for the 17th century, it reached 71%. This demonstrates that while the NMT model provides a strong set of candidates, external linguistic knowledge is essential for high-precision normalization.
Feature Engineering Insights
Contrary to expectations, adding social metadata or phonetic transcriptions (IPA) generally decreased performance or offered no benefit. The noise introduced by these features likely outweighed any useful signal, suggesting that the NMT model is better off learning spelling patterns directly from the character sequences themselves.
Conclusion
This research demonstrates that character-level NMT, when paired with lexicographical filtering, is a powerful tool for normalizing highly deviant historical text. While standalone neural models provide a solid foundation, the integration of a "Dictionary-in-the-Loop" significantly enhances accuracy, particularly for the task of mapping historical variants to modern lemmas. Future work will focus on incorporating sentence-level context to resolve ambiguities that cannot be addressed word-by-word.
Summary updated