---
title: "Analysing LLMs for spelling normalization of 18th century"
description: "How well do language models update the spelling of 18th-century Portuguese while preserving the words and details that make the texts historical?"
canonical: "https://research.elamur.ai/free/en/papers/cameron-2026-analysing-llms-spelling-normalization-18th/"
---
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/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/cameron-2026-analysing-llms-spelling-normalization-18th/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2026](https://md.research.elamur.ai/free/en/papers/2026/) / Analysing LLMs for spelling normalization of 18th century Portuguese

# Analysing LLMs for spelling normalization of 18th century Portuguese

Paper · 2026 · Helena Freire Cameron, Aline Paes, Fernanda Olival et al.

**Authors:** Helena Freire Cameron, [Aline Paes](https://md.research.elamur.ai/free/en/authors/aline-paes/), Fernanda Olival and [Renata Vieira](https://md.research.elamur.ai/free/en/authors/renata-vieira/) · **Year:** 2026 · **Venue:** Proceedings of the 17th International Conference on Computational Processing of Portuguese (PROPOR 2026) - Vol. 1 · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[**0** citations OpenAlex, 2026-11-20](https://openalex.org/works?filter=cites:W7222388974) · [Proceedings of the 17th International Conference on Computational Processing of Portuguese (PROPOR 2026) - Vol. 1](https://aclanthology.org/volumes/2026.propor-1/) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2026.propor-1.49/)
- [PDF](https://aclanthology.org/2026.propor-1.49.pdf)
- [OpenAlex](https://openalex.org/W7222388974)

Citations: OpenAlex, 2026-11-20.

## Summary

A parish priest’s account can be hard to read because familiar words look unfamiliar on the page. Updating their spelling can make the account easier to follow, but replacing an unfamiliar title, place name, or unit of measure can change what the priest recorded. The authors test whether [large language models](https://md.research.elamur.ai/free/en/concepts/large-language-models/) can make the first kind of change while generally avoiding the second. Their standard is a conservative edition in contemporary Portuguese spelling that retains the original vocabulary, syntax, and style, with limited editorial intervention.

The experiment uses five accounts from the Parish Memories, a collection of responses by Portuguese parish priests to a survey in 1758. The selected accounts come from towns in the Alentejo. For each account, the authors start with a manual transcription of the manuscript and use a separately prepared, manually normalized version as the reference. They give the same prompt to Sabiá, Llama, GPT, and Qwen. It specifies which kinds of spelling changes to make, which historical expressions to preserve, and how to return the complete text in a structured response.

Across the five accounts, Sabiá produced 121 comparison lines containing errors, followed by Llama with 233, GPT with 324, and Qwen with 739. Sabiá had the fewest such lines in every account. The authors count both mistaken edits and required edits that a system missed. They allow differences in categories such as punctuation and capitalization, so the totals measure departures from the manual reference under an editorial policy. They count lines in a text comparison, which can contain groups of words.

The examples show why neither the volume of edits nor the fluency of the finished text is enough to judge the output. Qwen left many ordinary spelling updates undone. Other systems changed historical vocabulary into familiar but different words. Sabiá, despite its lead, made meaning-changing substitutions and missed updates to some names. The comparison identifies the strongest system under the shared prompt and the authors’ editorial standard. It also shows why reviewing the normalized text still requires attention to the language and subject matter of the original.

## Deep dive: Analysing LLMs for spelling normalization of 18th century Portuguese

How well do language models update the spelling of 18th-century Portuguese while preserving the words and details that make the texts historical? · about 31 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Why these accounts need a normalized version

Historical spelling creates a particular kind of difficulty for readers. A word can belong to the language a reader already knows and still be hard to recognize in an older written form. The reader must decide whether the unfamiliar letters represent a familiar word, an older word that has fallen out of regular use, or a different word altogether. Any of those possibilities can occur in an account whose subject is unfamiliar too. A description of a parish may mention its institutions, geographical boundaries, and customary measures in much the same stretch of text.

As the paper describes it, Portuguese had no standardized orthography until the early part of the twentieth century. Earlier writers could therefore use several spellings for the same word. The authors argue that eighteenth-century Portuguese is a useful place to study the resulting problem because its syntax was already relatively stable while its spelling still displayed considerable variation. That combination gives the editors a recognizable distinction between a written form they might adapt and a way of arranging words they intend to preserve.

A useful example is *freguezia*, which becomes *freguesia*. The normalized form lets a present-day reader recognize the word for a parish without having to infer the significance of the older spelling. The subject of the passage remains the same. In the same collection, however, a reader can encounter the word for a church’s patron saint. Replacing that word with a more familiar church-related term would affect the account even if the replacement looked perfectly natural on the page. The editorial problem includes deciding whether unfamiliarity comes from spelling or from the vocabulary itself.

The paper treats readability as one reason to prepare standardized versions. Its intended beneficiaries include people who are interested in the documents but lack specialist training, as well as readers for whom Portuguese is unfamiliar. The authors envisage normalized texts alongside originals. Keeping both makes it possible to read a version with fewer orthographic obstacles and return to the historical spelling when the distinction matters. For a scholar examining how a word varied in writing, the form that creates a reading obstacle in one setting can be the evidence of interest in another.

The documents are also records of social and material conditions. The authors mention customary units for such things as distance and weight, and a society whose titles, social categories, and organizations differ from current ones. Updating the spelling of the name of an old unit can help someone recognize it consistently. Updating the underlying unit, replacing a historical title with a current equivalent, or smoothing a description of an institution would entail different editorial decisions. The paper locates the experiment within [historical linguistics and language change](https://md.research.elamur.ai/free/en/topics/language-change/).

#### Where the editorial boundary falls

The authors want to retain lexical variation, meaning variation in the words and forms that writers actually used. Their examples include *ouro* and *oiro* for gold and *terremoto* and *terramoto* for earthquake. An edition could choose a preferred form for all instances of each concept. The authors’ policy allows the alternatives to remain. That choice lets the text retain distinctions between authors or passages even where a single preferred form might make the collection look more uniform.

The paper also discusses forms such as *asperosos* and *valeroso*. A word may be absent from the current dictionaries the editors have in view, or it may have a more familiar alternative, and still deserve to survive in the normalized text. Replacing it requires a judgment about what the original author meant and about whether the replacement would preserve the same word. Dictionary familiarity alone gives little basis for that decision. This makes restraint part of the task even though the systems are explicitly asked to edit.

The boundary allows exceptions. The authors discuss cases where editorial normalization can include correcting a writer’s error or updating a disused place name. They also give instances where a particular old lexical form can be modernized, such as *altar-maior* becoming *altar-mor*. These examples make the manual reference more than the product of a mechanical substitution list. It reflects a purpose for the edition and judgments about what kinds of intervention serve it. The automatic task seeks to reproduce the conservative part of that practice through a shared instruction.

Punctuation illustrates why purpose matters. Adding a full stop to a long account may make its structure easier to follow. Retaining the author’s punctuation or transcription conventions can serve a different editorial purpose. The authors aim for minimal intervention and accommodate correct punctuation differences when scoring the system outputs. Thus the study’s notion of a successful edition depends both on the instruction given to produce it and on the decisions used to assess it.

The distinction also applies to the manuscript and transcription. The systems receive text already transcribed by a person. They handle historical spelling and some signs associated with transcription within that text. The work begins after someone has read the manuscript and rendered its contents in a form that can be passed to a program. An uncertainty sign in the transcription belongs to a different layer of the document than a spelling written by the parish priest, even when both appear next to the same word.

#### What earlier approaches tried

The paper describes a history of automatic normalization that includes rules, statistical methods, and neural systems. Rules are a direct way to express recurring edits. A rule can describe an observed correspondence between an older written pattern and a contemporary one. As an explanation of the approach, the hard part is deciding where the correspondence applies. A rule that captures genuine historical spellings may also match names or words whose written forms should stay as they are.

Another line of research frames modernization as a version of [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). Here the source and destination can be historical and contemporary forms of the same language. The analogy concerns the mapping between written sequences. It helps explain why a character can be a useful unit of comparison, and why the relationship between a historical source and its normalized version can be studied using pairs of corresponding forms. One example cited by the authors is [Modernizing historical Slovene words with character-based SMT](https://md.research.elamur.ai/free/en/papers/scherrer-2013-modernizing-historical-slovene-words-character/).

The cited research includes normalization across various languages and historical periods. The paper mentions work involving historical Spanish, Swiss German varieties, and historical French. It also cites research on context-sensitive weighted edit distance and compound splitting, which illustrates that changing individual letters is only part of the problem. Splitting a compound or recognizing that the context favors a particular mapping calls for a decision about how pieces of the written text fit together. The paper gives this earlier work as context for its own experiments.

More recent work cited in the paper concerns the handling of person and place names in machine translation of historical texts. Names are a point of contact with this experiment because they can have presentations that look like ordinary orthographic variation while identifying specific people or places. The paper also describes prior spelling-normalization research by Domingo and Casacuberta, with an unsupervised training approach and an approach trained for machine translation. The authors characterize computational results for historical Portuguese as being at an early stage.

The present study asks what existing generative systems can do when the editors state their policy in a prompt. In this use, a prompt is the instruction supplied along with the historical text. It can name conventions to follow, exceptions to preserve, and a format for the response. Instead of asking the system to return a list of unfamiliar expressions or a modern paraphrase, the researchers ask it to reproduce the account with the appropriate orthographic changes in place. The manual edition supplies a way to examine the consequences of that choice.

### The method, step by step

The process starts with two human-produced texts for each parish account. The transcription supplies the input. The manual normalization supplies a reference for examining the finished output. The authors send the transcription and a shared instruction to each system, collect the normalized accounts, and use text comparisons to locate what changed. Reviewing those comparisons lets them distinguish spelling errors, omissions, and changes they are willing to accept.

From parish transcription to reviewed normalization The steps in order.

#### Preparing the source and the reference

In 1758, parish priests answered a survey of sixty questions, and their responses make up the Parish Memories collection. It gives the authors source material produced by people with similar roles across Portugal. The subject matter can still vary widely. The paper mentions descriptions ranging from population to the fish found in rivers. The resulting language covers ordinary connective and descriptive writing as well as names and vocabulary tied to particular places, practices, and institutions.

The researchers select 5 accounts, each associated with a principal town in the Alentejo in southern Portugal. They have a manual transcription and a corresponding normalized version for each. The authors produced the manual normalizations. A transcription represents a reading of the manuscript, while the reference represents a further editorial decision about how that reading should be presented in contemporary orthography. These are distinct roles even where a particular passage goes through both stages unchanged.

The study describes using the reference for comparison with the output. In the normalization run, the historical transcription is the text to be revised. The method relies on instructions at the time of generation, with no task-specific training stage described. This matters for interpreting what was evaluated. The systems encounter the task definition and the text to edit, and the researchers subsequently inspect how the resulting edition relates to their own.

Each source therefore has six textual versions in the dataset as described by the paper. These are the transcription, the manual normalization, and the outputs from the four systems. Their relationship is easiest to understand by choosing the starting point for each question. To ask what the editors changed, compare the manual version with the transcription. To ask how much a system intervened, compare its version with that same transcription. To ask where its changes or omissions caused problems, compare its version with the manual one and review the differences.

#### Defining what a good edit looks like

The research team initially wrote the prompt based on its knowledge of the documents and the normalization task. It later used ChatGPT-5.1 to refine the wording. The paper attributes the clarification of roles and response formatting to that refinement and says the underlying editorial rationale was retained. The prompt used for inference was in Portuguese. All evaluated systems received the same instruction.

The core instruction asks for contemporary Portuguese orthography while preserving the writer’s style, vocabulary, and syntax. Normalizable features include accents, capital letters, and hyphens. Some older written forms call for several character changes within a word. A sentence can contain several such words. The prompt makes both possibilities explicit so that the requested operation is understood as revising a passage thoroughly wherever the policy calls for it.

The paper’s examples illustrate the range of changes. In *priuilegio* becoming *privilégio*, a letter changes and the contemporary accent appears. In *ditta* becoming *dita*, the conspicuous change is to the doubled consonant. In *contheudo* becoming *conteúdo*, the older consonant sequence and the absence of an accent both matter. Changes like these make a reader’s task easier while retaining the word the historical author used. They also show why a count of changed characters would describe something different from a count of words or blocks.

A clitic pronoun is a pronoun closely attached to a neighboring word, here a verb. In the historical spelling, the verb and the pronoun may appear together without the separator that contemporary European Portuguese requires in the relevant forms. The prompt asks for a hyphen in such cases. The paper illustrates the point with *tomandose* and its normalized form *tomando-se*. The correction shows their written boundary while preserving the construction. It also provides an example of a required intervention that can be missed even when nearby words are normalized.

The prompt then names forms to preserve. Among them are *mui*, *cousa*, *el-Rei*, *Sua Senhoria*, and *Vossa mercê*. Some are older words or expressions whose continued presence is part of the character of the account. The list also contains *connosco*. The authors single out its double consonant as valid in the European Portuguese form. The examples give the system concrete guidance about where a general effort to modernize unfamiliar text should stop.

The preservation rule extends to Spanish and Latin material occurring within the discourse. A prompt that only asked for readable Portuguese could leave the treatment of embedded material open. The explicit instruction protects those words from conversion. Under this policy, a foreign-language word and a Portuguese word with an obsolete spelling may both look unfamiliar, yet call for different treatment. The task involves recognizing their roles as well as generating a fluent passage.

A separate instruction tells the system to remove *[sic]*. The paper describes this as a sign the transcriber added to confirm that an apparently unusual form was recorded deliberately. The human normalizers removed occurrences of that sign, so the automated instruction targets it too. This is an edit to an annotation around the historical writing. The instruction names this particular marker, which matters when interpreting the handling of other editorial symbols in the examples. [Linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/)

#### Requiring a complete, structured response

The requested response is JSON, a structured text format that a program can parse. The prompt specifies a collection called *textos*, with fields for a title and the corrected text. It directs the system to return only that structure and to leave out surrounding explanations or unsolicited fields. It also tells the system to check the syntax of its response before returning it. The authors report verifying JSON syntax after collection.

An unchanged passage must also be included in the response. A document can contain passages that are already acceptable under the editorial policy. Keeping them in the returned text gives the researcher a complete version to compare with the transcription and manual reference. If a system returned only its proposed edits or its corrected sentences, the downstream comparison would concern a different product. The experiment evaluates a regenerated version of the account.

The structured response provides a place for the finished text, while the text itself remains a passage instead of a list of independently labeled editorial decisions. A valid response can therefore contain an inaccurate correction, a missed update, or an altered name. The checks for syntax and for historical fidelity answer separate questions. The authors applied no additional post-processing beyond checking JSON syntax. As a consequence, the counts concern the generated text without a subsequent correction stage that could repair errors before assessment.

#### Running the same task on each system

The four systems in the comparison are Sabiá-3, Llama-70B-Versatile, GPT-OSS-120B, and Qwen-3-32B. The authors describe Sabiá as specialized for Portuguese and compare it with multilingual alternatives. They say availability influenced selection and point to reported performance on Portuguese tasks, especially for Sabiá and Qwen. The paper identifies the corresponding earlier technical works for [The Llama 3 Herd of Models](https://md.research.elamur.ai/free/en/papers/grattafiori-2024-llama-3-herd-models/), [gpt-oss-120b & gpt-oss-20b Model Card](https://md.research.elamur.ai/free/en/papers/agarwal-2025-gpt-oss-120b-gpt-oss/), and [Qwen3 Technical Report](https://md.research.elamur.ai/free/en/papers/yang-2025-qwen3-technical-report/).

The authors accessed Sabiá through its native API and the other systems through Groq. They set the temperature to 0.0. Temperature is a generation setting that controls how much randomness is allowed in selecting output. A shared setting reduces one deliberate source of variation in the comparison. The maximum output allowance was 16,384 tokens for the systems on Groq and 12,000 tokens for Sabiá because of its limit. In this setting, tokens are the units counted for the generation allowance. They are distinct from the word totals used to describe the accounts. [Tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/)

The paper describes each text as a single run of the prompt in its discussion of variation across accounts. The comparison therefore concerns how the systems responded on those particular runs. Changing the text changes the input while the editorial instruction stays fixed. Neither the shared wording nor the temperature setting supplies information about what would happen with repeated submissions or a different version of the instruction.

#### Comparing versions in blocks

The authors use a Python script to produce diffs, or lists of differences between pairs of texts. A diff identifies stretches that changed and presents them as blocks. The paper shows operations such as replacements and insertions. A replacement can contain several words, and an insertion can consist of a sign or punctuation mark. The comparison records positions on the two sides so the reviewer can find the relevant material.

The pairings support different kinds of counts. In the comparison of the transcription against the manual normalization, differences show how many changes the reference introduces. In the comparison of the transcription against a generated text, they show the changes made by that system. In the comparison of the manual normalization against the generated text, the reviewer decides which difference lines contain errors. A system can make many changes and still do well when those changes largely track the desired normalization. It can also change little and do poorly when the source needs substantial editing.

The blocks do not line up precisely across the comparisons. If several neighboring words are altered, a single replacement can contain multiple changes. A different text pair may group the same stretch differently, especially if a punctuation difference or an insertion changes the surrounding match. A line in the reference comparison thus cannot always be identified with a corresponding line in the comparison against the transcription. The paper presents counts in prose and tables and gives no evaluation equation.

This explains the role of the human reviewer. A block can show divergence from the reference without containing a scored error. The reviewers exclude differences in punctuation, capitalization, and numerals, as well as alternative accents where both are acceptable. Conversely, a system’s failure to alter an old spelling can appear in the diff against the manual normalization and be counted as an error. The error column consequently records reviewed lines where the output either makes a wrong change or leaves a required change undone.

Precision would ordinarily ask what share of the proposed corrections are right. Recall would ask what share of the required corrections were recovered. Both depend on having a comparable unit to match proposals and requirements. The authors use line counts because the grouped diffs do not furnish that alignment. Reading the results therefore starts with the pair of texts being compared and the meaning of a line in that comparison.

### Experiments and results

#### The corpus and the points of comparison

The selected documents account for 9109 source words. The paper’s results table gives 1501 words for Évora, 2153 for Portalegre, 1241 for Vila Viçosa, 1423 for Elvas, and 2791 for Beja. These are the word counts for the historical sources. They provide context for judging the editing counts, which describe changes to the sources or error-containing comparisons against the human edition. The paper reports the selected set together and also gives the counts by source.

The manual normalization is the benchmark for the editorial decisions. It supplies the desired versions of the text and an indication of how much work the editors found to do in each account. The multilingual systems provide the comparative baselines for Sabiá in the shared-prompt test. The paper mentions alternative normalization methods as background, while the results table compares the human reference and the generated versions from this particular experiment.

A source with more words can give a system more material to process without necessarily containing more differences that require normalization. The Beja source, for example, has 2791 words and 235 reference changes. The Elvas source has 1423 words and 254 reference changes. Portalegre has 2153 words and 188 reference changes. The reference change count belongs to the authors’ editing policy and to the structure of the text diff. It measures a different property from the length of the source.

#### Which output had fewer errors

The principal result is the ordering by reviewed error lines against the reference. Sabiá is first over the selected collection. Llama follows, with GPT behind it and Qwen reporting the most. The names in the chart use the shorter labels from the results discussion.

Error lines against the manual reference across the selected Parish Memories accounts Sabiá produces the fewest error lines under the shared prompt.

**The numbers**

| System or setting | error lines |
| --- | --- |
| Sabiá (this paper) | 121 |
| Llama | 233 |
| GPT | 324 |
| Qwen | 739 |

The ordering also holds within each account. In Évora, the paper reports 10 error lines for Sabiá, 25 for Llama, 41 for GPT, and 76 for Qwen. In Portalegre, the corresponding counts are 42, 58, 83, and 162. This gives a clear example of the distinction between ranking and difficulty. Sabiá leads in both accounts, yet Portalegre generates more error lines for it even though the reference shows fewer changes there than in Évora.

For Vila Viçosa, the comparison against the manual edition yields 27 error lines for Sabiá, 50 for Llama, 61 for GPT, and 197 for Qwen. Elvas yields 15 for Sabiá, 47 for Llama, 66 for GPT, and 184 for Qwen. In Beja, the counts are 27, 53, 73, and 120 in the same order. Since the result holds across the sources, Sabiá’s aggregate lead is also visible amid documents with different lengths and different amounts of reference editing.

The units matter when comparing these figures. An error line can represent a missed accent, a wrong word, or a block that contains more than one difference. The paper does not report a score that gives a meaning-changing substitution more weight than an orthographic omission. Nor does the main table separate all required-but-missed changes from all incorrect edits. The rankings describe the frequency of reviewed problem lines under the counting procedure.

The abstract calls the Portuguese-specialized system’s advantage statistically significant. The results section gives the counts by account and for the collection, without specifying a significance test or reporting uncertainty for that claim. The repeated ordering across the selected accounts can be verified directly from the reported results. Its scope is the sampled accounts under the common prompt, generation settings, and review criteria.

#### Comparing activity with accuracy

The paper also reports how often the generated text differs from the historical source. The manual edition has 1124 changes in the same comparison against the transcription. This is a useful point of reference for the amount of intervention the editorial standard calls for. It does not supply a target for an optimization score, because identical counts can result from changes in quite different places. The star in the chart marks Sabiá, the strongest system on the separate error measure.

Changes from the source transcriptions across the selected Parish Memories accounts Qwen changes the source far less often than the manual editors or the other systems do.

**The numbers**

| System or setting | changes |
| --- | --- |
| Manual reference | 1124 |
| Sabiá (this paper) | 1185 |
| Llama | 1161 |
| GPT | 1129 |
| Qwen | 365 |

Read the height of a bar here as the amount of observed intervention. GPT’s 1129 changes are close in count to the manual edition’s 1124. Yet GPT has 324 error lines and Sabiá has 121, even though Sabiá produces 1185 changes. The closeness of GPT’s change total to the reference thus gives a limited account of whether it edited the right stretches in the right way. Conversely, a bar above the manual reference does not by itself establish excessive intervention. An accepted punctuation change, for example, can affect the comparison against the original.

Some accounts make the distinction particularly clear because the edit volumes coincide. In Portalegre, the paper reports 187 source changes each for Sabiá and Llama, with 42 and 58 error lines, respectively, against the manual normalization. In Vila Viçosa, both make 230 source changes, while Sabiá has 27 error lines and Llama has 50. The differences against the reference show that equal activity in the source comparison can go with different levels of agreement with the editors.

Qwen has a visibly different pattern. It makes 205 changes to the Évora source, against 236 in the manual edition. In Portalegre it makes 27, against the reference’s 188. Its counts in Vila Viçosa and Elvas are 28 and 73, against reference counts of 211 and 254. In Beja it makes 32 changes where the manual edition has 235. The paper treats the differences across these runs as a noteworthy feature of Qwen’s response to the task.

That pattern also explains how Qwen can have 739 error lines while making 365 changes. The counts come from different comparisons. An untouched historical form contributes no change in the comparison of Qwen’s output with the source. If the manual reference updates that form, the same omission can contribute an error line in the comparison of Qwen’s output with the manual version. The authors give examples including *freguezia* remaining where the reference calls for *freguesia*, and *agoa* where it calls for *água*.

#### Reading a result at the scale of a passage

The paper illustrates what the aggregate counts bring together by printing a transcription, the manual reference, and Sabiá’s version of a passage. It begins with a formal address and goes on to give the parish’s location and surroundings. The opening alone gives the system several jobs: supplying contemporary accents, recognizing a verb with an attached pronoun, and carrying forward the formal language of the address. The description that follows includes a parish name, place names, and words that can look unusual to a contemporary reader.

Sabiá successfully produces *freguesia* and *São Julião* in the passage. Its version of the opening leaves *Ordename* without the hyphen found in the reference’s *Ordena-me*. It also leaves *subdito* without the accent in *súbdito*. Changes in punctuation and capitalization elsewhere in the passage are handled differently under the review policy. A reader could find a newly added comma helpful, while a missing accent is recorded as a spelling problem where the contemporary form calls for it.

One of the more consequential differences occurs in the description of the surrounding terrain. The manual reference uses *divisem*, where the discussion concerns what land can be made out from the parish. Sabiá produces *devolvam*, a different verb. The output also gives *Valência* where the reference has *Valença* in the name *Valença de Alcântara*. The passage shows how successful modernization of several recognizable forms can coexist with revisions that deserve closer attention because they concern the proposition or the named location.

The error analysis and results therefore operate at complementary scales. Comparing the reviewed lines across accounts establishes which system aligns more closely with the manual edition in this experiment. Reading a passage shows what that alignment consists of. It exposes whether the system normalized ordinary spellings, preserved the wording, and handled details that might be especially important to someone using the account as a historical source.

### What the ablations show

The paper reports no ablation that removes or changes an individual component, and instead compares systems under a common prompt, examines change and error counts by account, and reviews examples of specific failures.

#### The shared prompt helps frame the comparison

Using the same instruction on each run holds the stated editorial goal constant. Every system is asked to preserve designated words, normalize orthography, handle attached pronouns, and return the complete text in the specified structure. Differences in the results can therefore be read as differences between the evaluated configurations faced with the same request. They do not establish how much any individual instruction contributed to the scores.

This distinction matters for understanding Sabiá’s lead. Even within this one comparison, the systems differ in more than whether they specialize in Portuguese. The study uses distinct systems, obtains Sabiá through a different service, and applies the stated differences in maximum output allowance. The paper offers Portuguese specialization as a relevant interpretation of the ranking. The common prompt supports the observation that Sabiá performs best under the shared task description, while the experiment leaves the separate contribution of specialization unmeasured.

Nor does the paper compare the first prompt written by the researchers with the revised one. The changes in role description and response formatting are part of the task as run. A valid response can show that the output takes the requested form, but the experiment does not separate the effect of requiring that form from the effect of the orthographic instructions. The common prompt gives the result a clear condition of comparison without providing a breakdown of which wording produced it.

#### A low change count can signal missed work

The strongest evidence for a pattern of under-editing comes from reading Qwen’s change totals together with the examples. The counts show that it made especially few changes in several accounts. The examples show that forms requiring ordinary modernization frequently survived. These include *hum* instead of *um*, *distançia* instead of *distância*, and *meya* instead of *meia*. The problems therefore extend beyond rare ecclesiastical terms or obscure place names.

Other examples show that some interventions moved away from the intended spelling. Qwen changes *delle* into *d’elle*, while the expected form is *dele*. It changes *vila* into *villa*, although the reference calls for *vila*. The first example shows an inappropriate change to an already historical form. The second shows that an acceptable modern form can also be harmed by an intervention. These examples give separate reasons for reviewing what was changed and what was left in place.

The paper notes that Qwen’s behavior varies substantially between texts. The relatively high activity in Évora stands out against its activity elsewhere. That observation concerns the outcomes for different inputs, each run a single time. The study does not trace the cause to a specific feature of the texts, and it does not show whether Qwen would make the same set of changes if a given text were submitted again. The comparisons show where the omission pattern was most apparent in the runs that were actually scored.

The examples also show why lower activity should not automatically be read as compliance with the conservative editorial goal. Conservatism applies to the kind of change. It calls for preserving acceptable vocabulary and constructions while still making required spelling updates. A generated version can preserve much of the source for the wrong reason if it misses ordinary corrections throughout the account. The distinction is particularly visible in cases where the needed change is as familiar as *agoa* to *água*.

#### Fluent substitutions can carry different meanings

The examples from GPT include changes that maintain the broad subject area while changing a specific word. The paper gives *bispado* becoming *bispo*. Both concern the church, but the former refers to a bishopric and the latter to a bishop. Similarly, *orago* becomes *oratório*, moving from a church’s patron saint to an oratory. A reader familiar with the alternatives could recognize them as different concepts even if the generated passage remained plausible as a description of a parish.

Another example turns *côngrua*, identified in the paper as ecclesiastical income, into *coroa*, meaning crown. Elsewhere, *roins*, whose intended modernization was *ruins*, is rendered as *rochas*, or rocks. These shifts illustrate different ways an output can cease to represent the original language. In the first case a historical term is replaced by a word from another domain. In the second, an older spelling of an adjective gives way to a noun with a different meaning. The paper uses such cases for qualitative inspection. It does not give their frequency as a separate result.

The paper also points to failures involving old units. The expected *léguas* is missing when the source has *leguas*, and *moyos* is left without the requested normalization to *moios*. These are useful alongside the substitution examples because a unit can be mishandled without being replaced with an unrelated expression. A conservative edition would preserve the historical unit while making its written form recognizable under the editorial convention. Both over-editing and missed editing can obstruct that goal, through different effects on the returned account.

Llama also illustrates the difference between a plausible reading and compliance. The paper reports *a el-rei* becoming *ao Rei*. The revised phrase preserves a general reference to a king, but it alters a historical title of the sort singled out in the preservation instruction. The authors also give *Alemtejo* becoming *Além-Tejo*, where the expected geographical name is Alentejo. The naturalness of a returned phrase offers little assurance when the question concerns the identity of a title or place.

Other Llama examples affect how a statement is made and what it says about its participants. The change from *sem proporção* to *desproporcionadamente* recasts a phrase as an adverb. The rendering of *asolavão* as *asolou* alters the grammatical form of a verb and changes the construction in the passage. These are different types of intervention from updating a doubled consonant or inserting a hyphen. They show how the system can exceed the requested editorial scope even where the original provides enough context for a fluent rewrite.

#### The leading system still makes consequential errors

Sabiá’s results include instances of both kinds of error the reviewers count. The paper gives *orago* becoming *oráculo*. A word referring to a patron saint becomes a word referring to an oracle. It also gives *correyo* becoming *corrente*, where the old spelling referred to the post office. The substitutions reinforce the same point seen in the passage with *divisem*: the leading aggregate result still includes generated words that change the source’s meaning.

The authors also identify missed revisions involving names. Sabiá leaves *Caya* where the reference uses *Caia*, *Seuora* where it uses *Sévora*, and *Souza* where it uses *Sousa*. The examples cover a place, a river, and a family name as identified by the paper. An instruction to preserve historical language can interact with names in more than one way. The reference may expect an orthographic update to a name in one instance and the preservation of a particular historical form in another. A missed name update and a substitution of a different plausible name both appear as divergences in this setting.

The paper’s examples help differentiate confidence in a general ordering from confidence in individual edits. A system can lead across accounts because it commits fewer reviewed errors overall, while a particular error occurs in a detail that matters disproportionately to a historian. When an account is used to identify a parish’s patron, locate a boundary, or interpret the standing of an institution, a familiar but incorrect word can be harder to catch than an unmistakably archaic spelling.

The analysis also shows why the reviewers do not treat all visible differences alike. A change such as *pároco* to *Pároco* is shown among differences accepted in scoring. A change from *Senhor* to *Reverendo* is presented among errors, since it substitutes a form of address. A block can also contain an unimportant capitalization change alongside a failed spelling correction. The line review lets the authors recognize that mixture. The resulting count identifies a problem in the block without turning the entire block into a single diagnosis about its cause.

Taken together, the comparisons show two recurring ways of falling short of the reference. A system can leave legitimate work undone, or it can intervene where its reading of the old form is mistaken. Qwen’s low activity and ordinary omissions give clear examples of the first pattern. Meaning-changing substitutions in the other outputs illustrate the second. The paper’s analysis is strongest at identifying these observable behaviors. It gives examples to explain the counts without attributing the behaviors to a tested mechanism inside the systems.

### Limitations

#### Limits the authors identify

The authors describe evaluation as labor-intensive even with a manually normalized reference. An automated diff can locate differences, but the editors still decide which differences should count as errors. Their policy allows differences in areas such as capitalization and correct punctuation. Acceptable differences in accents can also depend on Portuguese usage. A literal mismatch count would give a different result because it would treat every divergence from the manually chosen rendering as equivalent.

The grouping of tokens creates another complication. The source-to-reference comparison and the other comparisons can divide the same stretch of text into differently sized blocks. Without a dependable way to align individual changes, the reviewers cannot automatically calculate precision or recall. The authors report reviewed error lines as a consequence of this limitation. An error line can be useful evidence of a problem and still leave the unit of evaluation less specific than a count of individual orthographic decisions.

The authors also identify the platform as a constraint on which systems they could evaluate. The comparison concerns the systems they selected and could run through the available services. The paper proposes examining other Portuguese systems, including GlorIA and Gervásio, and trying other prompt settings. It specifically names [few-shot learning](https://md.research.elamur.ai/free/en/concepts/few-shot-learning/) in the form of prompting with examples as a direction for future work. In such a setup, examples in the instruction could demonstrate the intended editing behavior before the system receives the text to normalize. Its effect remains an open question in this experiment.

A further plan is to change the form of the output so it can be checked against the reference with less manual effort. As used in the paper, JSON solves the problem of packaging a returned edition. It does not say where each intervention begins and ends or whether an apparent difference reflects punctuation, an orthographic correction, or a change of vocabulary. The authors’ interest in output design follows directly from that gap between receiving a structured response and being able to evaluate the edits within it.

The appropriate degree of editorial intervention also depends on the intended edition. The authors emphasize retaining historical and linguistic features in the manual reference used here. They discuss readability as an objective that could justify different choices. Accordingly, a version judged against this reference is being assessed for a particular kind of conservation. The study offers no separate reader evaluation of how easy the various output versions are to understand.

#### Limits that follow from the setup

The sample is drawn from a single survey, a shared kind of respondent, and a single region of Portugal. Its topics vary, and each town contributes a separate account, but the social and documentary setting is relatively specific. A conclusion about the sampled parish accounts gives only indirect evidence about other kinds of eighteenth-century Portuguese writing. Relatively stable syntax is part of the authors’ motivation for choosing this period, so earlier texts with different linguistic characteristics would also pose a distinct question.

The system inputs are manual transcriptions. That is an important starting condition when considering fields where a text still needs to be read from a manuscript. In this evaluation, the transcriber has already done that work. Some uncertainty can remain visible in the transcription, as the sample passage shows. Handling such signs inside a textual input differs from resolving the uncertainty by looking at handwriting. The experiment’s performance counts apply to normalization of the supplied transcriptions.

The consistently favorable ranking for Sabiá is descriptive evidence across the five sources, with each source processed as described. There are no repeated measurements to establish how much the result for a particular account varies across runs. The hosts and token limits are also different for Sabiá and the other systems. The observed lead belongs to the evaluated configurations. The design supplies no independent estimate of the effect of Portuguese specialization, output length allowance, hosting, or other differences among the systems.

The scoring rules also define what the error totals can establish. The prompt asks for contemporary use of capitalization and hyphenation, among other conventions. The review excludes capitalization differences and accepts some other departures from the reference. Two systems could score similarly on reviewed errors while following the requested presentation conventions to different degrees. The paper describes collecting responses and checking their syntax, but its main results are edit and error counts. They do not provide a separate quantitative breakdown of formatting compliance.

Comparing against one manual normalization per account also makes the results dependent on the editorial decisions embodied in that version. The exclusions for punctuation and other accepted variants account for some legitimate differences. For harder cases, such as an unusual word that might be a valid variant or a historical place name with more than one plausible rendering, the paper does not report a separate measure of agreement across reviewers. The ranking is therefore anchored to the authors’ reference and their review policy.

Finally, a line count gives an accent omission and a lexical substitution the same status as error-containing lines, without expressing their different consequences for interpretation. A missing accent can make a version less consistent with contemporary spelling while leaving the account intelligible. Substituting a different person, office, action, or place can change the evidence a reader takes away. The qualitative examples bring these differences into view. The aggregate counts on their own cannot tell a reader how frequently an output changes the historical content or how much expert review a particular edition would require.

### What came after

Subsequent research building directly on the study remains undocumented. The paper closes with plans to test more Portuguese systems, try prompts that show examples of the intended edits, and improve the output format for comparison with the manual reference. It reports these as directions for follow-up. The open questions are whether those changes would reduce missed updates and meaning-changing substitutions, and whether the resulting edits could be evaluated with less manual review.

## Cite

Cite as Helena Freire Cameron, Aline Paes, Fernanda Olival and Renata Vieira. 2026. Analysing LLMs for spelling normalization of 18th century Portuguese. Proceedings of the 17th International Conference on Computational Processing of Portuguese (PROPOR 2026) - Vol. 1.

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

```bibtex
@inproceedings{cameron2026analysing,
  title = {{Analysing LLMs for spelling normalization of 18th century Portuguese}},
  author = {Helena Freire Cameron, Aline Paes, Fernanda Olival and Renata Vieira},
  booktitle = {Proceedings of the 17th International Conference on Computational Processing of Portuguese (PROPOR 2026) - Vol. 1},
  year = {2026},
  url = {https://aclanthology.org/2026.propor-1.49/}
}
```

> 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)
