---
title: "Normalisation of Historical Text Using Context-Sensitive"
description: "The paper normalizes historical Swedish spelling to modern forms by comparing each historical token… 17 references, cited by 18 papers here."
authors: ["Eva Pettersson", "Beáta Megyesi", "Joakim Nivre"]
year: 2013
venue: "Proceedings of the 19th Nordic Conference of Computational Linguistics (NODALIDA 2013)"
source: "https://aclanthology.org/W13-5617/"
licence: "CC BY-NC-SA 3.0 (ACL Anthology, before 2016)"
licence_url: "https://creativecommons.org/licenses/by-nc-sa/3.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/pettersson-2013-normalisation-historical-text-context-sensitive/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/pettersson-2013-normalisation-historical-text-context-sensitive/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2013](https://md.research.elamur.ai/free/en/papers/2013/page/2/) / Normalisation of Historical Text Using Context-Sensitive Weighted Levenshtein Distance and Compound Splitting

# Normalisation of Historical Text Using Context-Sensitive Weighted Levenshtein Distance and Compound Splitting

Paper · 2013 · Eva Pettersson, Beáta Megyesi and Joakim Nivre

**Authors:** [Eva Pettersson](https://md.research.elamur.ai/free/en/authors/eva-pettersson/), [Beáta Megyesi](https://md.research.elamur.ai/free/en/authors/beata-megyesi/) and [Joakim Nivre](https://md.research.elamur.ai/free/en/authors/joakim-nivre/) · **Year:** 2013 · **Venue:** Proceedings of the 19th Nordic Conference of Computational Linguistics (NODALIDA 2013) **Link:** [aclanthology.org/W13-5617](https://aclanthology.org/W13-5617/) · **Licence:** [CC BY-NC-SA 3.0](https://creativecommons.org/licenses/by-nc-sa/3.0/) — summary only

[**35** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2135716572) · [Cited by **18** papers in our library of the 151,627 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/pettersson-2013-normalisation-historical-text-context-sensitive/cited-by/) · [Nordic Conference on Computational Linguistics (NoDaLiDa)](https://md.research.elamur.ai/free/en/venues/nodalida/) · [NoDaLiDa 2013](https://md.research.elamur.ai/free/en/venues/nodalida/2013/) — Proceedings of the 19th Nordic Conference of Computational Linguistics (NODALIDA 2013) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/W13-5617/)
- [PDF](https://aclanthology.org/W13-5617.pdf)
- [OpenAlex](https://openalex.org/W2135716572)

**Authors (3)**

1. [Eva Pettersson](https://openalex.org/A5003870300) [ORCID](https://orcid.org/0000-0002-1447-4501) · [Semantic Scholar](https://www.semanticscholar.org/author/145512306) · h 10 · 347 citations · 47 works
2. [Beáta Megyesi](https://openalex.org/A5050966080) [ORCID](https://orcid.org/0000-0002-4838-6518) · [Semantic Scholar](https://www.semanticscholar.org/author/2114807) · h 18 · 1,149 citations · 156 works
3. [Joakim Nivre](https://openalex.org/A5077063699) [Semantic Scholar](https://www.semanticscholar.org/author/1720988) · h 60 · 16,139 citations · 333 works

Citations and author metrics: OpenAlex, 2026-10-14; authors with the same name are not always told apart.

## What it is about

The paper normalizes historical Swedish spelling to modern forms by comparing each historical token with a modern dictionary. The comparison uses a weighted Levenshtein distance, where some edits cost less because they are common spelling variation in the period, and the weights depend on context. Compounds are split before lookup, since historical Swedish writes many compounds apart or together differently. A small set of hand-checked normalizations is kept as a cache that overrides the automatic choice. Without any manually annotated training data, the share of tokens spelled as in the gold standard rises from a baseline of 64.6 percent to 77.0 percent. With the edit weights and the validated cache, it reaches 86.9 percent. Verb identification with a modern tagger also improves after normalization, which is the practical goal.

## Ideas

- I1. Set edit costs by counting. For each edit (a letter change in a context, say), the cost falls with its frequency in aligned pairs. The counts are kept in BTreeMap order, so the costs are deterministic. This suits spelling deltas for an author and the Hebrew transliteration of names.
- I2. Treat the validated cache as the shape of the author delta. Override the standard only where the author's form is hand-checked, and keep an override only if it fixes at least three more tokens. Compare the two thresholds on dev.
- I3. Split compounds before a merge, so phrase concepts such as *unto_thou* are broken into parts that keep their function words. This targets open problem 2 directly: merges that drop function words are the noise the lexicon needs to avoid.
- I4. Bound candidate pairs by length difference. The paper shows that most true normalizations differ in length by only a little. For the lexicon, a length-ratio bound on candidate merges would cut noise merges cheaply.

## More ideas (a second reading)

- I5. `en/src/morph.rs`: rank candidate modern forms for archaic English words that are not in the dictionary, by a weighted edit distance with the paper's limits (length change from +1 to -3, distance at most 4). Measure the exact-match rate on held-out tools/gutenberg lessons against the `archaic` rules alone.
- I6. Learn the edit weights from pairs: count the edits that separate archaic forms from their modern lemmas in the training lessons, and store them in a BTreeMap. Two identical runs are needed before any gain is claimed.
- I7. `en/src/lexgen.rs`: split unknown words into two dictionary parts, as the compound splitter does, and report how many unknown historical words are compounds. Use the count to decide whether the step is worth building.

## For Mova

The code is `tools/translate` (`meta.rs` for the merges and compound handling, `profile.rs` for the cache-as-delta). The weighted edit idea is count-based and fits Mova's rules. The paper's compound split and length bound address open problem 2 directly, and the validated cache is the delta shape already in use.

## Institutions

[🎓**Uppsala University** Uppsala · Sweden 65 works · 13,178 citations](https://md.research.elamur.ai/free/en/universities/uppsala-university/)

## Fields, topics and concepts

📚 Shelves 5 The field of science this work belongs to (OpenAlex fields).[Computer Science · 19,503 works](https://md.research.elamur.ai/free/en/shelves/computer-science/) · [Artificial Intelligence · 18,805 works](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · [Arts and Humanities · 17,959 works](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · [Language and Linguistics · 17,789 works](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · [Literature and Literary Theory · 542 works](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/literature-and-literary-theory/)

🧭 Topics 2 Research subjects and languages the work is about.[Machine translation · 1,109 works](https://md.research.elamur.ai/free/en/topics/machine-translation/) · [Morphology · 421 works](https://md.research.elamur.ai/free/en/topics/morphology/)

## Cite

Cite as Eva Pettersson, Beáta Megyesi and Joakim Nivre. 2013. Normalisation of Historical Text Using Context-Sensitive Weighted Levenshtein Distance and Compound Splitting. Proceedings of the 19th Nordic Conference of Computational Linguistics (NODALIDA 2013).

The paper itself, not this card. BibTeX from the library's record of the work.

```bibtex
@inproceedings{pettersson2013normalisation,
  title = {{Normalisation of Historical Text Using Context-Sensitive Weighted Levenshtein Distance and Compound Splitting}},
  author = {Eva Pettersson, Beáta Megyesi and Joakim Nivre},
  booktitle = {Proceedings of the 19th Nordic Conference of Computational Linguistics (NODALIDA 2013)},
  year = {2013},
  url = {https://aclanthology.org/W13-5617/}
}
```

- [← previous Arabic text summarization based on latent semantic analysis to enhance arabic documents clustering](https://md.research.elamur.ai/free/en/papers/froud-2013-arabic-text-summarization-based-latent/)
- [next → Introducing the Prague Discourse Treebank 1.0](https://md.research.elamur.ai/free/en/papers/polakova-2013-introducing-prague-discourse-treebank-1/)
- [↑ back to papers of 2013](https://md.research.elamur.ai/free/en/papers/2013/page/2/)

## References

17 references, 2 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Ågren, M., Fiebranz, R., Lindberg, E., and Lindström, J. (2011). Making verbs count. The research project ’Gender and Work’ and its methodology. Scandinavian Economic History Review, 59(3):271–291. Forthcoming. [find](https://scholar.google.com/scholar?q=%C3%85gren%2C+M%2E%2C+Fiebranz%2C+R%2E%2C+Lindberg%2C+E%2E%2C+and+Lindstr%C3%B6m%2C+J%2E+%282011%29%2E+Making+verbs+count%2E+The+research+project+%E2%80%99Gender+and+Work%E2%80%99+and+its+methodology%2E+Scandinavian+Economic+History+Review%2C+59%283%29%3A271%E2%80%93291%2E+Fo)
2. Baron, A. and Rayson, P. (2008). Vard2: A tool for dealing with spelling variation in historical corpora. In Postgraduate Conference in Corpus Linguistics, Aston University, Birmingham. [find](https://scholar.google.com/scholar?q=Baron%2C+A%2E+and+Rayson%2C+P%2E+%282008%29%2E+Vard2%3A+A+tool+for+dealing+with+spelling+variation+in+historical+corpora%2E+In+Postgraduate+Conference+in+Corpus+Linguistics%2C+Aston+University%2C+Birmingham%2E)
3. Black, A. W. and Taylor, P. (1997). Festival speech synthesis system: system documentation. Technical report, University of Edinburgh, Centre for Speech Technology Research. [find](https://scholar.google.com/scholar?q=Black%2C+A%2E+W%2E+and+Taylor%2C+P%2E+%281997%29%2E+Festival+speech+synthesis+system%3A+system+documentation%2E+Technical+report%2C+University+of+Edinburgh%2C+Centre+for+Speech+Technology+Research%2E)
4. Bollmann, M. (2012). (semi-)Automatic Normalization of Historical Texts using Distance Measures and the norma tool. In Proceedings of the Second Workshop on Annotation of Corpora for Research in the Humanitites (ACRH-2). [find](https://scholar.google.com/scholar?q=Bollmann%2C+M%2E+%282012%29%2E+%28semi%2D%29Automatic+Normalization+of+Historical+Texts+using+Distance+Measures+and+the+norma+tool%2E+In+Proceedings+of+the+Second+Workshop+on+Annotation+of+Corpora+for+Research+in+the+H)
5. Bollmann, M., Petran, F., and Dipper, S. (2011). [Rule-based normalization of historical texts](https://md.research.elamur.ai/free/en/papers/bollmann-2011-rule-based-normalization-historical-texts/). In Proceedings of the Workshop on Language Technologies for Digital Humanities and Cultural Heritage, pages 34–42, Hissar, Bulgaria.
6. Borin, L., Forsberg, M., and Lönngren, L. (2008). Saldo 1.0 (svenskt associationslexikon version 2). Språkbanken, University of Gothenburg. [find](https://scholar.google.com/scholar?q=Borin%2C+L%2E%2C+Forsberg%2C+M%2E%2C+and+L%C3%B6nngren%2C+L%2E+%282008%29%2E+Saldo+1%2E0+%28svenskt+associationslexikon+version+2%29%2E+Spr%C3%A5kbanken%2C+University+of+Gothenburg%2E)
7. Brants, T. (2000). [TnT - a statistical part-of-speech tagger](https://md.research.elamur.ai/free/en/papers/brants-2000-tnt-statistical-part-speech-tagger/). In Proceedings of the 6th Applied Natural Language Processing Conference (ANLP), Seattle, Washington, USA.
8. Ejerhed, E. and Källgren, G. (1997). Stockholm Umeå Corpus. Version 1.0. Produced by Department of Linguistics, Umeå University and Department of Linguistics, Stockholm University. ISBN 91-7191-348-3. [find](https://scholar.google.com/scholar?q=Ejerhed%2C+E%2E+and+K%C3%A4llgren%2C+G%2E+%281997%29%2E+Stockholm+Ume%C3%A5+Corpus%2E+Version+1%2E0%2E+Produced+by+Department+of+Linguistics%2C+Ume%C3%A5+University+and+Department+of+Linguistics%2C+Stockholm+University%2E+ISBN+91%2D7191%2D348%2D3%2E)
9. Halácsy, P., Kornai, A., and Oravecz, C. (2007). HunPos - an open source trigram tagger. In Proceedings of the 45th Annual Meeting of the Association for Computational Linguistics, pages 209–212, Prague, Czech Republic. [find](https://scholar.google.com/scholar?q=Hal%C3%A1csy%2C+P%2E%2C+Kornai%2C+A%2E%2C+and+Oravecz%2C+C%2E+%282007%29%2E+HunPos+%2D+an+open+source+trigram+tagger%2E+In+Proceedings+of+the+45th+Annual+Meeting+of+the+Association+for+Computational+Linguistics%2C+pages+209%E2%80%93212%2C+Prag)
10. Jurish, B. (2008). Finding canonical forms for historical German text. In Storrer, A., Geyken, A., Siebert, A., and Würzner, K.-M., editors, Text Resources and Lexical Knowledge: Selected Papers from the 9th Conference on Natural Language Processing (KONVENS 2008), pages 27–37. Mouton de Gruyter, Berlin. [find](https://scholar.google.com/scholar?q=Jurish%2C+B%2E+%282008%29%2E+Finding+canonical+forms+for+historical+German+text%2E+In+Storrer%2C+A%2E%2C+Geyken%2C+A%2E%2C+Siebert%2C+A%2E%2C+and+W%C3%BCrzner%2C+K%2E%2DM%2E%2C+editors%2C+Text+Resources+and+Lexical+Knowledge%3A+Selected+Papers+from+)
11. Jurish, B. (2010). More Than Words: Using Token Context to Improve Canonicalization of Historical German. Journal for Language Technology and Computational Linguistics, 25(1):23– 39. [find](https://scholar.google.com/scholar?q=Jurish%2C+B%2E+%282010%29%2E+More+Than+Words%3A+Using+Token+Context+to+Improve+Canonicalization+of+Historical+German%2E+Journal+for+Language+Technology+and+Computational+Linguistics%2C+25%281%29%3A23%E2%80%93+39%2E)
12. Kukich, K. (1992). Techniques for automatically correcting words in text. ACM Computing Surveys (CSUR), 24(4):377–439. [find](https://scholar.google.com/scholar?q=Kukich%2C+K%2E+%281992%29%2E+Techniques+for+automatically+correcting+words+in+text%2E+ACM+Computing+Surveys+%28CSUR%29%2C+24%284%29%3A377%E2%80%93439%2E)
13. Levenshtein, V. (1966). Binary Codes Capable of Correcting Deletions, Insertions and Reversals. Soviet Physics Doklady, 10(8):707–710. [find](https://scholar.google.com/scholar?q=Levenshtein%2C+V%2E+%281966%29%2E+Binary+Codes+Capable+of+Correcting+Deletions%2C+Insertions+and+Reversals%2E+Soviet+Physics+Doklady%2C+10%288%29%3A707%E2%80%93710%2E)
14. Pettersson, E., Megyesi, B., and Nivre, J. (2012). Rule-based normalisation of historical text - a diachronic study. In Proceedings of the First International Workshop on Language Technology for Historical Text(s), Vienna, Austria. [find](https://scholar.google.com/scholar?q=Pettersson%2C+E%2E%2C+Megyesi%2C+B%2E%2C+and+Nivre%2C+J%2E+%282012%29%2E+Rule%2Dbased+normalisation+of+historical+text+%2D+a+diachronic+study%2E+In+Proceedings+of+the+First+International+Workshop+on+Language+Technology+for+Histo)
15. Rayson, P., Archer, D., and Nicholas, S. (2005). VARD versus Word – A comparison of the UCREL variant detector and modern spell checkers on English historical corpora. In Proceedings from the Corpus Linguistics Conference Series on-line e-journal, volume 1, Birmingham, UK. [find](https://scholar.google.com/scholar?q=Rayson%2C+P%2E%2C+Archer%2C+D%2E%2C+and+Nicholas%2C+S%2E+%282005%29%2E+VARD+versus+Word+%E2%80%93+A+comparison+of+the+UCREL+variant+detector+and+modern+spell+checkers+on+English+historical+corpora%2E+In+Proceedings+from+the+Corpus+L)
16. Stymne, S. (2008). German compounds in factored statistical machine translation. In Ranta, A. and Nordström, B., editors, Proceedings of GoTAL, 6th International Conference on Natural Language Processing, volume 5221, pages 464–475, Gothenburg, Sweden. Springer LNCS/LNAI. [find](https://scholar.google.com/scholar?q=Stymne%2C+S%2E+%282008%29%2E+German+compounds+in+factored+statistical+machine+translation%2E+In+Ranta%2C+A%2E+and+Nordstr%C3%B6m%2C+B%2E%2C+editors%2C+Proceedings+of+GoTAL%2C+6th+International+Conference+on+Natural+Language+Process)
17. Stymne, S. and Holmqvist, M. (2008). Processing of Swedish Compounds for Phrase-Based Statistical Machine Translation. In Proceedings of the 12th EAMT conference, Hamburg, Germany. [find](https://scholar.google.com/scholar?q=Stymne%2C+S%2E+and+Holmqvist%2C+M%2E+%282008%29%2E+Processing+of+Swedish+Compounds+for+Phrase%2DBased+Statistical+Machine+Translation%2E+In+Proceedings+of+the+12th+EAMT+conference%2C+Hamburg%2C+Germany%2E)

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
