Elamur Research

Comparing Rule-based and SMT-based Spelling Normalisation for English Historical Texts

Paper · 2017 · Gerold Schneider, Eva Pettersson and Michael Percillier

Summary

A reader can recognise call’d as called without much trouble. Software can split the historical spelling into pieces, assign each piece its own grammatical label and carry that mistake into its analysis of the sentence. Spelling variation also complicates a simpler job. A search for a word can miss occurrences written differently, even within the same document. The authors compare ways to give natural language processing tools a more familiar version of historical English. The task is to update spelling while preserving the words and grammatical forms the writer used.

The comparison uses ARCHER, a corpus of British and American historical texts drawn from several kinds of writing. VARD2 starts with a present-day spelling dictionary. For words outside it, the tool uses known replacements, similarities in sound and rules for likely letter changes. The other approach treats spelling normalisation as a form of statistical machine translation. It learns how chunks of characters in historical forms correspond to chunks in their modern spellings, then uses evidence from modern English and normalised historical text to rank possible outputs. The authors use 109 manually annotated documents to develop the systems and describe a separate evaluation collection of 30 documents. In the subset checked by both annotators, agreement on possible changes was 83%. Cases such as whether to keep a hyphen or preserve an older verb ending help explain why the reference itself requires judgment.

On the full comparison set, VARD2 trained on ARCHER achieved 94.36% precision and 73.89% recall. Precision measures how often an attempted change matches the reference, while recall measures how many of the reference changes the system recovers. The strongest translation setting reported for that comparison reached 80.48% precision and 64.43% recall. The translation approach nonetheless improved the share of correctly spelled words over leaving the text untouched in every century tested. For the 17th- and 19th-century portions of its separate training comparison, it achieved its highest accuracy with examples drawn from the target century. For the 18th-century portion, it did better with pooled training.

The mistakes show where the systems need different kinds of evidence. The translation system frequently left apostrophe-related changes untreated. It also preferred they and the to thy and thee until a filter protected historical forms attested in the normalised training text. VARD2 could miss changes involving hyphens and overwrite forms such as hast and darest, where the ending carries grammatical information. In later texts, so few words need attention that a small set of missed or unnecessary edits can strongly affect the scores for changes. The study measures spelling agreement directly and leaves the effect on subsequent grammatical analysis for future evaluation.

Deep dive: Comparing Rule-based and SMT-based Spelling Normalisation for English Historical Texts

A comparison of spelling rules and character-based translation for historical English shows how each handles variation across centuries. · about 31 minutes to read

The problem and its context

Spelling variation affects both search and analysis

The same word can have several written forms in a historical collection, and their distribution can vary from one document to the next. Even a search restricted to a single document may have to account for multiple spellings. A researcher looking for a word through a dictionary or a corpus query then has to decide which variants to enumerate. Variants that the researcher fails to anticipate can turn into missing evidence. Normalisation puts likely variants into a common spelling so that finding them depends less on anticipating each written form. This makes the problem relevant to historical linguistics and language change, where the distribution of words and constructions is frequently part of the evidence.

Spelling can also affect the stages that determine what a piece of text is before anyone searches the resulting analysis. In tokenization, software divides a text into units it can process. Part-of-speech tagging assigns those units grammatical labels. Parsing uses evidence about the words and their labels to analyse how a sentence is put together. Tools developed for present-day spelling can make an early mistake that changes the inputs available to the subsequent stages. In the authors’ example, the apostrophe in call’d leads the software to treat the spelling as separate pieces. The resulting analysis treats call as a noun and d as a modal. Once the input has been divided that way, the parser is working with a different set of units from the one a reader sees in called.

Earlier work cited by the authors found that about half of the changes made by automatic normalisation led to improvements in tagging and parsing. That observation gives a reason to study spelling as a preprocessing step. It also helps define the scope of the comparison. The immediate question is whether a system outputs spellings that agree with manual decisions. The downstream question is whether replacing those spellings helps a tagger or parser make a better analysis. In the call’d example, it is easy to see a connection between the two questions. Across a collection, their answers depend on which edits a system makes and how the later tools respond to them.

What belongs in a spelling change

The target is the present-day spelling of a recorded word form. That can mean removing a letter that modern spelling leaves out, changing one letter to another, or revising how punctuation appears inside a word. It can also mean retaining a historical form that has no reason to be altered under the annotation policy. An unfamiliar ending sometimes marks morphology, the structure through which a word expresses grammatical information. The ending of hast in thou hast gives the authors a concrete example. One annotator regarded replacing it with have as a change of inflection. A system operating solely on spelling similarity and present-day familiarity can still rank have highly.

There are judgment calls even where the grammatical form is clear. A dictionary can recognise both British and American spellings. A hyphen can reflect a historical spelling convention, even when it divides recognizable components and poses little difficulty for a human reader. A name may retain a written form that looks out of place among the surrounding words. The authors’ use of manual normalisation gives the systems a common reference, while the examples show what that reference represents. It records decisions about the scope of spelling variation as well as knowledge of how modern words are written.

For ARCHER, the amount of editorial intervention also varies with the age of the documents. The authors observe a decline in the amount of non-standard spelling over time, alongside considerable variation among texts from the same period. In a document rich in unfamiliar spellings, the system repeatedly has a chance to recover one. In a document with a handful of changes, preserving the many forms already accepted by the reference takes on greater importance. The paper therefore asks when applying normalisation can introduce enough errors to outweigh the corrections it makes. A date helps define the comparisons, while the distributions within the periods bear directly on that question.

The approaches already available

The comparison begins with two existing approaches. The original VARD used a dictionary of replacements. If a known historical form appeared in the input, the dictionary supplied its modern counterpart. VARD2 extended that design to forms for which a direct entry might be missing. It paired dictionary evidence with phonetic resemblance and reusable letter rules. The paper identifies it as an established tool for English historical text and uses its distributed settings as a starting point. Additional annotation can extend its replacement inventory and adapt how it scores candidates.

The translation approach comes from earlier work on what happens when the units of translation are letters. The paper draws its settings from Pettersson and colleagues’ earlier work. By learning correspondences such as those between two chunks of a historical and modern spelling, it can assemble a proposal for a word whose complete form was absent from the training material. The same procedure can be fitted to another language if suitable resources are available, since the correspondences come from examples. The earlier multilingual comparison discussed by the authors assessed a filtering approach, a method based on Levenshtein distance and a character-based translation approach. Levenshtein distance measures how many basic edits it takes to turn one string into another. Character-based translation performed best for four of the five languages examined there, including English. A Multilingual Evaluation of Three Spelling Normalisation Methods

The authors also discuss work on historical Slovene that examined how spelling pairs might be obtained. In its supervised setting, the researchers had known historical and modern forms and learned from those correspondences. They used the modern side of the same material to estimate plausible target spellings and used a modern Slovene dictionary to screen their proposed outputs. In the unsupervised setting, they started with separate historical and modern word lists. They constructed pairs by comparing the strings for resemblance. The distinction matters for English as well. A system can learn its transformations without a handwritten list of language-specific rules, while still depending on someone to supply or construct the examples from which it learns. Modernizing Historical Slovene Words with Character-Based SMT

These lines of work made the comparison on ARCHER a question about how evidence is organised. The rule-based tool begins with English resources and assigns scores to candidate spellings using multiple sources. The statistical approach learns character correspondences, then uses target-language evidence to weigh the strings it can produce. Both can benefit from manually normalised text. In VARD2, that text supplements an existing inventory and changes the weights attached to evidence. In the translation approach, paired spellings supply the correspondences it needs to learn. Comparing the systems on a shared collection puts their practical behaviour in view, including what they change too readily and what they leave untouched.

The method, step by step

Establishing the target spelling

The work begins with linguistic annotation. An annotator reads a historical document and marks forms that should have a different spelling for this task. A marked form associates the original characters with a selected output. The original form supplies the evidence the system will see at prediction time. Its annotated counterpart supplies the answer used in development or evaluation. The normalised version of the training text also contains words that have been retained. Those unchanged forms matter because they can provide positive evidence that an apparently old-fashioned spelling belongs in the output.

For training, the authors annotated 109 ARCHER documents, comprising about 200,000 words and 6,975 manual normalisations. Sampling for that annotation was stratified across the periods 1650-99, 1700-49, 1750-99 and 1800-49. The authors annotated a further 30 documents for evaluation and describe that collection as containing 1,467 normalisations. They also report an internal evaluation arrangement for the translation experiments. The paper uses these arrangements for different comparisons, so a score needs to be read with the corresponding split.

The annotators’ decisions give the systems a task narrower than rewriting a passage for a modern reader. A pair such as onely and only supplies a spelling correspondence. The presence of thy in the normalised material supplies a different kind of evidence. It tells the system that this form can survive the editorial process as written. Both signals are needed to understand the translation pipeline. The paired material teaches it how a string can change. Evidence from target spellings helps determine whether the result is a plausible form. A lexical safeguard can then veto an unwanted change even if the procedure ranked it highly.

How the character-based system learns and applies spelling changes

The steps in order.

How the character-based system learns and applies spelling changesStep 1: Extract historical spellings paired with annotated targets1. Extract historical spellings paired with annotated targetsStep 2: Reserve selected pairs for tuning2. Reserve selected pairs for tuningStep 3: Align characters between paired forms3. Align characters between paired formsStep 4: Learn conversions between aligned character sequences4. Learn conversions between aligned character sequencesStep 5: Estimate target spelling plausibility from corpus evidence5. Estimate target spelling plausibility from corpus evidenceStep 6: Rank possible spellings for each historical form6. Rank possible spellings for each historical formStep 7: Apply the selected lexical safeguards7. Apply the selected lexical safeguards

Learning correspondences between character sequences

In ordinary phrase-based translation as discussed by the paper, a phrase can be a sequence of tokens used to map part of the input to part of the output. For spelling, the authors make individual characters the tokens. A phrase in this system is therefore a sequence of letters or other characters inside a word. The input and output represent historical and modern forms of the same language. This gives the system a way to use recurring spelling patterns without needing to see every historical word alongside its modern spelling.

The authors use Moses for the phrase-based translation procedure. They extract historical and normalised word pairs from the training material and reserve every 10th word form for tuning, with the rest used to learn the correspondences. Tuning is the development step in which the system can adjust how it weighs the evidence on examples set aside for that purpose. The pair-level tuning step serves a different role from the reported 90% training and 10% evaluation arrangement. The former prepares the translation procedure within its training data, while the latter is used to report its predictive performance.

Before the procedure can learn that chunks correspond, it needs a way to connect characters on the two sides of a pair. GIZA++, a toolkit built for alignment in statistical translation, is used at this stage. The characters of a historical form are the input units, and the characters of its annotation are the target units. Most of the spelling can frequently be shared between the sides, with relatively local changes accounting for the difference. For a pair such as loue and love, a reader can see a plausible correspondence between the differing letters within a largely preserved sequence. Alignments across many pairs let the procedure estimate which target sequences are likely given particular source sequences. The authors identify the alignment machinery through the work of Och and Ney on statistical alignment.

The system departs from the standard translation settings where the spelling task calls for it. It operates on character sequences. The authors switch off reordering during training because they expect little need for characters to move across an entire word. They allow a character phrase to have a maximum length of 10. This permits the translation procedure to learn some correspondences involving surrounding letters in addition to possible single-letter substitutions. The setting gives a limit on each learned phrase. The method can use phrases together to propose a spelling for an input word.

The paper gives this operational description without an explicit scoring equation. It identifies the evidence used by the statistical procedure, including likely character correspondences and the plausibility of the resulting string on the target side. It also describes the kinds of evidence that VARD2 combines. The account does not give numerical feature weights or a formula for combining them. The precision, recall and word accuracy reported for the experiments are defined by which edits or words agree with the annotations.

Judging possible outputs against target text

A form can be plausible as a sequence of letter substitutions and still be an unlikely output for the task. The statistical system uses IRSTLM to estimate how plausible a candidate string is on the target side. This supplies evidence that differs from the alignment. The alignment learns what pieces of a particular input have tended to become. The target component gauges whether the complete proposed result resembles forms in the material used to represent the output. Character transformation evidence and target plausibility can accordingly favour different candidates.

The main source of target evidence is the British National Corpus, abbreviated BNC. It contains approximately 100 million words sampled from late 20th-century British English. The authors keep only word forms that occur in it two or more times. Present-day corpus evidence is useful here because many outputs should have present-day spellings. The corpus also gives strong support to common modern forms, a property that becomes important when a legitimate historical form resembles a much more frequent modern one.

The authors add the manually normalised ARCHER training material to the target evidence. This helps represent forms that survive historical spelling normalisation and seldom occur in the BNC. The system can thus encounter those strings when learning what a plausible output looks like. Their presence gives them some support alongside the modern corpus. The large frequency advantage of modern competitors can still dominate a choice, as the results involving thy and thee show.

Adding safeguards around the translation output

The translation experiments consider two lexical filters. The first looks at the input form. If the unchanged spelling occurs in the manually normalised training text, the system keeps it. The decision behind the filter is that an attested form in edited historical text has already survived an intervention of the kind the system is being asked to perform. This safeguard directly addresses the case where modern corpus frequencies push the procedure towards replacing a valid historical form. Its evidence comes from the normalised historical material, so it can protect spellings absent from modern text as well as ordinary spellings that happen to be valid.

The second filter looks at the proposed output. A spelling suggested by the system is accepted only if the BNC contains it. The two checks therefore act on opposite sides of the conversion. One uses historical target text to decide whether an input can be kept. The other uses a modern corpus to decide whether an output proposal has sufficient lexical support to be accepted. They can be applied separately or together, which lets the experiment distinguish the effect of preserving an input from the effect of screening a proposed replacement.

The same training and evaluation materials are also divided by century. One condition pools annotated examples from the available periods, giving the system access to a wider range of correspondences. Another condition uses only training examples from the century being evaluated. The restricted condition gives up examples in exchange for a closer match to the period. The comparison examines that choice for each test century and applies both lexical safeguards in the century results. In particular, it evaluates the restricted data as a complete training condition, with the resulting spelling decisions made on that century’s test material.

How VARD2 detects and ranks candidates

VARD2 first checks the input against a lexicon of present-day English spellings. A word absent from that lexicon becomes a candidate for normalisation. This is a separate step from finding what to replace it with. A historical form can enter consideration because it looks unfamiliar to the lexicon, while its best replacement still depends on the evidence available to the ranking procedure. Conversely, a form that the lexicon already recognises can pass through even when an annotator would prefer another form in that particular passage.

For words marked as candidates, the tool consults its original replacement dictionary. A recorded correspondence can directly support a proposed form. It also uses a variant of SoundEx, which groups words by phonetic resemblance and can bring differently written forms into consideration. Letter rules provide another source of candidates. The paper gives examples such as exchanging v and u and removing a final e. A single letter rule can potentially apply across many words, while a dictionary entry provides evidence about a particular item.

VARD2 uses non-probabilistic confidence scores for the rules and includes edit distance in how it weighs proposed replacements. A candidate with a plausible letter pattern can consequently receive support from more than one kind of evidence. When the authors describe VARD2 as rule-based, that includes this ranking procedure and the scored interaction of different sources. The tool’s distributed resources already provide its starting dictionary and rules. Training on annotated ARCHER text extends what it can look up and adjusts the weights used in judging candidates.

This gives the VARD2 experiments their development conditions. The default tool uses the resources in its distribution. Full ARCHER training adds evidence across the annotated material. Century-specific training restricts the added evidence to the corresponding period, with the default rules still available. Changing the century for VARD2 therefore changes the examples used for adaptation while retaining a shared base. In the translation approach, changing the century changes the historical pairs used to learn the transformation itself. The two comparisons address the same practical question about period-specific examples through different mechanisms.

Experiments and results

The corpus and the reference decisions

ARCHER contains British and American texts covering 1600-1999 and several registers, or kinds of writing. Version V 3.2 contains 3.2 million words. The authors use material through 1850 for this study because forms requiring normalisation become scarcer in later writing. The full corpus size describes the collection from which they draw their documents. The normalisation measurements come from manually annotated selections of that collection. Its sampling across registers is intended to make it a realistic setting in which to see how spelling corrections work across different types of text.

The authors describe both a long-term decline in non-standard spelling and substantial variation from document to document. The reported mean is 315 non-standard spellings per document for 1600-1649 and 24 for 1800-49. The corresponding standard deviations are 266 and 52. These deviations measure how widely document counts vary around the period mean. They help explain why the paper evaluates by period while also drawing attention to individual variation. An overall rate for later material can be high before processing simply because many words already agree with the reference.

The authors checked agreement on 7 documents from their evaluation corpus. Across 529 possible normalisations, the annotators agreed on 439. The paper reports this as 83% agreement. Reconciliation involved correcting clear oversights and otherwise following the decisions of the author who annotated the training material. This produces a consistent evaluation reference. It also makes the choice of policy consequential. For example, an annotator who treats an unfamiliar verb ending as morphology can judge an edit differently from an annotator who includes it within spelling normalisation.

The paper gives several sources of disagreement. Dictionaries can accept regional alternatives, leaving room for different decisions about whether an intervention is warranted. Hyphenated forms such as sun-shine and bridle-way raise questions about where to draw the line. Some changes are easy to overlook when forms needing attention are spread thinly through a document. The authors describe later material in which a non-standard form may occur only every 100th or 200th word. That observation concerns the difficulty of finding items during annotation as well as the availability of items on which a system can demonstrate recall.

What each measure counts

The unchanged text serves as a baseline. Its word accuracy is the share of original words that already match the annotated target. Word accuracy after processing counts all words that match, including those correctly retained and those successfully changed. This measure describes how much of the output agrees with the reference, which is useful if the aim is to produce a version for subsequent processing. Because most words already agree, it can remain close to the unchanged baseline even when the system misses a substantial share of requested edits.

Precision and recall focus attention on those edits. Precision counts correct changes among the changes the system proposes. A system that rarely intervenes can achieve high precision by acting only on easy cases. Recall counts recovered reference changes among the changes the annotators called for. A system can miss many of those changes while retaining near-perfect accuracy across the full set of words. Reading the measures together shows how a system arrives at its word accuracy and how much of the reference work it performs.

The paper presents a translation-focused evaluation using the 90% training and 10% evaluation split and a separate comparison between VARD2 and the best translation setting reported for that comparison. The latter uses the separately annotated evaluation documents. Thus the full-corpus rows for the two evaluations have different unchanged baselines, 97.21% and 97.13%. Each unchanged baseline belongs to its own reported comparison. When assessing progress over leaving the corpus alone, the relevant reference is the baseline in the same set of rows as the processed output.

Translation accuracy against unchanged text

On the full translation test corpus, the unnormalised input achieved 97.21% word accuracy. The translation procedure trained on the pooled corpus reached 98.00% with neither lexical filter. Preserving input forms attested in the manually normalised training text raised accuracy to 98.14%. Screening proposed forms against the BNC on its own yielded 98.01%. Applying both filters yielded 98.14% at the reported precision. These are alternative settings of the same general procedure on the same test corpus.

Word accuracy on the full translation test corpus by filtering condition

Protecting attested input forms gives the highest reported accuracy, with or without the proposed-output check.

Word accuracy on the full translation test corpus by filtering conditionUnchanged text: 97.21Unchanged text97.21Pooled translation training: 98.00Pooled translation training98.00Pooled training with input protection (this paper): 98.14Pooled training with input protection(this paper)98.14Pooled training with BNC output screening: 98.01Pooled training with BNC outputscreening98.01Pooled training with both filters: 98.14Pooled training with both filters98.14
The numbers
System or settingaccuracy %
Unchanged text97.21
Pooled translation training98.00
Pooled training with input protection (this paper)98.14
Pooled training with BNC output screening98.01
Pooled training with both filters98.14

For the century breakdown, both filters are in use. On the 17th-century translation test material, the unchanged word accuracy was 93.88%. Pooled training produced 96.60%, and training restricted to the 17th century produced 96.89%. This portion begins with more scope for improvement than the other portions, as seen in its lower unchanged accuracy. The result also establishes that, in this comparison, the smaller period-matched training set could give better predictions than the larger pooled set.

The 18th-century part shows a different ordering of the two training conditions. Its unchanged text scored 98.65% word accuracy. The pooled training condition scored 98.75%, while training on the 18th century yielded 98.69%. Both conditions improved the baseline, and the higher score belongs to pooled training. In the 19th-century test material, the input already achieved 98.95%. The translation procedure reached 99.10% from pooled training and 99.15% when trained on the target century. The three periods therefore each show an improvement, while the best source of training data depends on the period.

The paper gives an error inventory alongside this evaluation. It reports 421 cases where the system changed the original to the annotated spelling. They include happinesse becoming happiness, relligious becoming religious and iustices becoming justices. In 44 cases the system proposed a modification different from the reference. The authors’ inspection suggested that most of these were genuine errors and that some implicated the annotations. In 762 cases the output stayed the same where the reference contained an edit. The counts distinguish successes, mismatching attempts and missed changes. The paper does not attach this inventory to a particular filtering row, so it is best read as the reported inventory for the translation analysis.

The direct comparison with VARD2

The full comparison reports 838 manual changes and 29,167 words in its table. As printed, the full-corpus count of manual changes differs from the 1,467 normalisations in the description of the 30-document evaluation collection. The paper gives no reconciliation of those counts. Its table still supplies a direct comparison on shared rows, with the unchanged word accuracy, precision and recall shown for each participating system. The rates below are the rates reported in that comparison.

Default VARD2 achieved 89.54% precision and 76.61% recall on the full comparison set. Adapting it to all the ARCHER training material produced 94.36% precision and 73.89% recall. The best translation setting showed 80.48% precision and 64.43% recall on the same set. The adapted tool is more precise than the default and recovers a smaller share of the reference edits. Default VARD2 has the highest full-set recall among these reported systems. In overall word accuracy, the adapted tool led with 99.11%, compared with 99.07% for default VARD2 and 98.53% for the translation setting. The unchanged input was 97.13%.

Precision of proposed spelling changes on the full comparison set

VARD2 trained on ARCHER has the highest precision among the compared systems.

Precision of proposed spelling changes on the full comparison setDefault VARD2: 89.54Default VARD289.54VARD2 trained on all ARCHER training material (this paper): 94.36VARD2 trained on all ARCHER trainingmaterial (this paper)94.36Best translation setting: 80.48Best translation setting80.48
The numbers
System or settingprecision %
Default VARD289.54
VARD2 trained on all ARCHER training material (this paper)94.36
Best translation setting80.48

Recall of reference spelling changes on the full comparison set

Default VARD2 recovers the largest share of reference changes.

Recall of reference spelling changes on the full comparison setDefault VARD2 (this paper): 76.61Default VARD2 (this paper)76.61VARD2 trained on all ARCHER training material: 73.89VARD2 trained on all ARCHER trainingmaterial73.89Best translation setting: 64.43Best translation setting64.43
The numbers
System or settingrecall %
Default VARD2 (this paper)76.61
VARD2 trained on all ARCHER training material73.89
Best translation setting64.43

For the 17th-century part of the direct comparison, the table lists 507 manual changes and 9682 words. The unchanged input scored 94.76% word accuracy. Default VARD2 scored 98.15%, VARD2 adapted on the pooled ARCHER material reached 98.33%, and adaptation using only the target century reached 98.38%. The best translation setting reached 97.34%. The precision and recall rows show how these close VARD2 accuracy values arose. The default reached 88.31% precision at 74.56% recall. Pooled adaptation gave 94.81% precision at 72.00% recall. Century-specific adaptation gave 99.43% precision at 69.42% recall. Translation reached 78.93% precision at 67.26% recall.

The 18th-century part lists 92 required changes and 11,478 words. Its unchanged accuracy was 99.20%. The word-accuracy scores were 99.67% for default VARD2, 99.69% with pooled adaptation, 99.72% with century-specific adaptation and 99.61% for translation. The precision values in the same order were 83.75%, 92.42%, 100.00% and 78.31%. The respective recall values were 72.82%, 66.30%, 65.22% and 70.65%. Here the translation procedure recovered a greater share of reference edits than either adapted VARD2 setting, while its lower precision put it behind both on overall word accuracy.

For the 19th-century portion, the table lists 61 manual changes across 9617 words. The baseline already had 99.36% word accuracy. Default VARD2 reached 99.64%, pooled adaptation reached 99.73%, century-specific adaptation reached 99.52% and translation reached 99.42%. Default VARD2 had 90.63% precision and 47.54% recall. Pooled adaptation produced 87.23% precision and 67.21% recall. Adaptation on the target century gave 100.00% precision and 24.59% recall. The translation setting measured 60.71% precision and 27.87% recall. The pooled adaptation therefore gave the highest reported word accuracy for this century while the century-specific setting had perfect reported precision on the edits it attempted.

The authors’ prose says that default VARD2 fails to improve spelling in the latest period. The 19th-century word-accuracy row reports 99.64% under the default setting and 99.36% for the unchanged text. Those figures indicate an improvement on the displayed metric, leaving a discrepancy between the table and the accompanying account. The table does show that the baseline is already high, with relatively little scope for additional edits and marked differences between the systems in how many of them they recover.

What the ablations show

Protecting an attested input changes the decisions

The lexical experiments show what the translation procedure does when different safeguards intervene in its choice. The input filter accounts for the largest reported improvement among the filter settings on the full translation test corpus. Word accuracy moved from 98.00% with pooled translation training alone to 98.14% with the protection enabled. The authors attribute much of this effect to frequent historical function words. These are words such as pronouns and articles that help organise a sentence. The unfiltered procedure proposed they for thy and the for thee, in spite of the annotation policy retaining both historical forms.

The training setup helps explain why those changes occur. The manually normalised ARCHER material contributes examples of thy and thee to the target evidence. The BNC contributes many occurrences of the competing modern forms. Because the procedure weighs how plausible a target is using both sources, knowing that a historical form can occur still leaves room for its modern competitor to win. The filter does something more direct. Once the historical training text attests the input as an accepted form, the system retains it. That decision reflects editorial treatment of the form independently of how frequent it is in modern British writing.

Applying the BNC check only to proposed outputs gave 98.01% word accuracy, a change the authors describe as non-significant. A proposed spelling can be present in the BNC and still be wrong for the historical word. The function-word examples illustrate the distinction because the and they easily pass a modern spelling check. That check can screen an implausible string without resolving whether a familiar string is the correct counterpart to the input. Using both filters gives 98.14%, the same displayed word accuracy as input protection alone. The equal displayed scores are compatible with the filters affecting different kinds of decisions. The reported aggregate provides no separate gain for adding the output filter once input protection is active.

Period matching works differently across settings

The century comparison for translation probes how useful additional historical examples are when they come from other periods. The 17th-century and 19th-century portions achieve their higher word accuracy with time-matched training. For the 18th century, pooling examples gives the higher score. These comparisons support a conditional conclusion about transfer across periods. A rare pattern in one training subset might be well represented in another, giving pooled training evidence it could use. A shift in the spelling correspondences most useful for the target text could favour a narrower set. The tested conditions place both effects inside a single comparison and measure which condition scores better in each period.

Restricting the examples for VARD2 has a consistent effect on the reported precision and recall across the three periods. Precision rises and recall falls when century-specific adaptation is compared with adaptation on all the ARCHER training material. The 17th-century values exemplify the pattern, with precision at 94.81% for pooled adaptation and 99.43% for period adaptation, and recall at 72.00% and 69.42% respectively. The 19th-century values show a more pronounced change in the reach of the system. The century-specific condition matches the reference whenever it changes a word in that test slice, while recovering 24.59% of the reference changes. The pooled condition reaches 67.21% recall.

The interpretation depends on how adaptation works. VARD2 continues to use the distributed rules after training. A change in performance can therefore arise from learned replacement entries or from adjusted weights on top of a shared base. The translation procedure, by comparison, learns its transformation evidence from pairs restricted to the selected period or gathered across periods. For either system, the experiment changes both the amount and historical composition of the training material. It demonstrates how the tested conditions behave, while leaving the effects of closer historical match and reduced data volume intertwined.

Error inspection explains where edits stop helping

The authors inspect the unmade changes of the translation system and identify apostrophes as a major source of misses. The reference can call for adding an apostrophe, as with mans and man’s. It can also call for expanding an abbreviated spelling, as with o’er and over or redeem’d and redeemed. An apostrophe can therefore be relevant in several ways, even within this word-based task. A form may require punctuation that is absent from the input, or the punctuation may signal letters that the reference supplies. The examples show why a procedure that resolves recurring letter substitutions can still fail on a familiar class of historical spellings.

Word endings form another group of misses. The paper gives flie and fly, easie and easy, and disdaine and disdain as examples where the output stays unchanged in spite of the annotation. The examples also include seemeth with the target seems. A shared label such as ending changes covers both relatively transparent changes in written form and cases close to the annotation boundary around grammatical inflection. The inventory describes where errors occur. It gives no breakdown of how often failures occur for each ending and leaves open whether the alternative candidate was produced and then ranked too low.

The wrongly attempted edits reveal a different problem. The statistical system suggests wheather for whether, a case of applying spelling variation too broadly. It can also leave complements where the annotation calls for compliments. With both spellings available as words, deciding which one belongs requires evidence about what the author meant. In another example, the system proposes matter for Latin mater. The candidate is familiar in English and resembles the input, so the proposal has evidence of the kind the procedure uses. The relevant fact from the passage is that the input is a Latin word. That information lies beyond the spelling of the isolated form.

VARD2’s error analysis makes the detection stage particularly visible. The authors single out missed hyphen changes such as sun-shine to sunshine. The tool also replaces forms such as hast and darest with have and dare. For these verbs, the candidate may be a well-formed modern word and still remove a grammatical distinction. Frequent forms of this kind can affect measured performance across many occurrences. In the same way, replacing the name ALONZO with ALONSO shows the limits of treating resemblance to a more familiar form as sufficient reason to edit. Capitalisation is an uncertain cue in these texts because common nouns and verbs can also be capitalised.

Some apparent errors lead back to the reference. The authors identify cases where a proposal may have been correct and the annotator seems to have missed the change. They also give forms whose evaluation depends on how the scope of normalisation was decided, including the treatment of hath. Inspection therefore serves two purposes. It shows recurrent failure patterns such as missed punctuation and unjustified changes to names. It also shows which kinds of disagreement need an editorial judgment before an automatic choice can be called right or wrong. The study offers these qualitative analyses and controlled comparisons of filtering and training scope. It does not report a separate ablation for each source of evidence inside VARD2.

Limitations

Limits identified by the authors

The authors describe the annotation target as clear in many cases, with important exceptions. Present-day dictionaries can license alternatives, and regional spelling complicates a simple decision to modernise. Hyphenation involves a choice about the conventions the project wants to impose. Historical endings sometimes express grammatical properties the project wants to retain. Sparse changes can be overlooked during annotation. The 83% agreement on the double-annotated subset captures their combined effect under the reported procedure. It gives readers a reason to interpret some mismatches through the examples in the error analysis, especially where an annotator’s choice and a system’s output are both defensible under plausible editorial policies.

The authors also raise a practical limit on when to apply spelling correction. Later documents present fewer opportunities for improvement, and an unusual word can draw a bad replacement. They mention replacing idiotism with idiocy as an unwarranted edit. At the same time, rare forms such as silicious, whose intended spelling is siliceous in their analysis, can escape correction. The authors raise 1800 as a possible stopping point in place of 1850. This is a suggestion about where the tradeoff may shift, informed by the scarcity and nature of the remaining edits. The disagreement between the prose and table on late default VARD2, along with the substantial variation among documents within a period, limits the force of a single threshold.

The authors identify word-level processing as another constraint. Spelling evidence is frequently sufficient to recover a familiar form from an unusual one. Meaning, a word’s role in the sentence and the identification of a name or foreign expression can require more than the string itself. The contrast between complements and compliments shows how a plausible spelling can still be the wrong word for the passage. The authors propose looking at limited context as future work. Their error examples give a reason for that proposal, while the reported comparison evaluates the word-based systems.

The paper also leaves the effect on later processing open. It motivates normalisation through search, tagging and parsing and cites earlier evidence of improvement in grammatical analysis. The experiments reported here directly assess agreement with spelling annotations. The authors reserve evaluation of tagging and parsing on the resulting texts for future work. Consequently the ordering of systems by word accuracy, precision or recall describes their spelling outputs. A comparison of downstream analyses would need to establish which normalisations matter to those tools and how the systems’ different errors propagate.

Limits visible in the experimental design

The comparison concerns a particular VARD2 distribution and a particular adaptation of character-based translation. VARD2 brings English resources to the benchmark in its default dictionary and rules, and the adapted conditions add ARCHER evidence. The translation procedure draws on historical pairs and separate target-side material, including the BNC. The comparison answers a practical question about how these assembled systems perform on ARCHER. It leaves open how much of the performance difference comes from the algorithm, the available linguistic resources or their interaction. The applicable sense of language independence is that the character procedure can learn correspondences from data without an English-specific rule inventory. The experiment here trains and tests it with resources chosen for English.

The period comparisons likewise have a defined scope. A century-specific training set contains fewer examples and changes which spelling conventions, documents and registers contribute training evidence. The study reports the outcome of using each pool. Its design leaves the effect of size and the effect of period matching jointly determined by the chosen subsets. For the translation procedure, stronger scores with restricted training in the 17th and 19th centuries coexist with a stronger pooled result in the 18th. For VARD2, the restricted adaptation improves precision relative to pooled adaptation at the expense of recall in every reported century. These outcomes support the comparisons as run, with the preferred training scope depending on the period, the system and the evaluation measure.

The amount of evidence for edits also changes the interpretation of percentages across periods. High word accuracy in the 19th-century comparison is easy to obtain even before correction because most forms already match the reference. Perfect displayed precision in the century-specific setting coexists with low recall because that precision describes the changes the tool made. The 100.00% precision figure for 19th-century VARD2 is based on a slice with 61 annotated changes and describes only the attempted subset. The paper’s reference to a non-significant effect for BNC output screening addresses that filter. Other small score differences can be read as rankings for the reported samples without treating them as established differences across new collections.

Finally, the reported quantities need to be kept with their own evaluation descriptions. The annotation section gives 1,467 normalisations for the further 30 documents, while the direct comparison table labels its full evaluation row with 838 manual changes. The counts printed for the century rows also leave their relationship to the full evaluation row unclear. The paper does not explain how the documents or counts in these descriptions map onto one another. It provides separate baselines for the translation-focused evaluation and for the direct comparison, which are sufficient to read the results within each evaluation. The unresolved counts limit any attempt to reconstruct a common denominator or identify the exact same edits across the two sets of reported numbers.

What came after

The paper’s outlook describes several ways to carry the comparison forward. There are no documented follow-up studies here that establish which of those proposals were implemented or how they performed. The distinction matters because each proposal uses the systems’ complementary evidence differently and would need its own evaluation.

One proposal was to use VARD’s automatic normalisations as additional training examples for the character translation procedure. The resulting training collection would contain both manually revised pairs and pairs supplied by software. That is a semisupervised arrangement, in which the manually annotated evidence is supplemented with automatically produced annotations. It would let the translation procedure learn from patterns available to the rule-based tool without requiring a person to annotate every additional pair. The authors present it as a possible combination. Its performance and the effect of any errors in the automatic pairs remain open in the paper.

Another proposal kept VARD in charge of producing candidates. When it supplies several possibilities, the spelling suggested by the translation procedure could inform the ranking. This uses the translation output at decision time. A ranked VARD candidate might already have support from a dictionary, phonetic resemblance or a letter rule. Agreement with the character-based procedure would provide further evidence from learned correspondences and target spelling plausibility. The suggestion addresses cases in which VARD can generate plausible alternatives and the main difficulty is choosing between them.

The other directions concern context and subsequent analysis. With limited context, a system could examine evidence around a form when the letters alone admit more than one reading. Testing the output in tagging and parsing would address the original motivation directly by revealing what the spelling decisions do to grammatical analysis. The cases in the paper give those tests concrete targets. An expanded form such as called can affect how many tokens the tagger sees. Preserving hast can retain evidence about inflection. Distinguishing complements from compliments can require information about the surrounding words. The paper establishes how the tested systems compare on annotated spelling and leaves those contextual and downstream outcomes to later evaluation.

 Institutions

 Fields, topics and concepts

Cite

Cite as Gerold Schneider, Eva Pettersson and Michael Percillier. 2017. Comparing Rule-based and SMT-based Spelling Normalisation for English Historical Texts. Proceedings of the NoDaLiDa 2017 Workshop on Processing Historical Language.

The paper itself, not this card. BibTeX from the library's record of the work. DOI 10.5167/uzh-137462

@inproceedings{schneider2017comparing,
  title = {{Comparing Rule-based and SMT-based Spelling Normalisation for English Historical Texts}},
  author = {Gerold Schneider, Eva Pettersson and Michael Percillier},
  booktitle = {Proceedings of the NoDaLiDa 2017 Workshop on Processing Historical Language},
  year = {2017},
  doi = {10.5167/uzh-137462},
  url = {https://doi.org/10.5167/uzh-137462}
}

References

16 references, 1 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. Alistair Baron and Paul Rayson. 2008. VARD 2: A tool for dealing with spelling variation in historical corpora. In Proceedings of the Postgraduate Conference in Corpus Linguistics, Birmingham. Aston University.
  2. Douglas Biber, Edward Finegan, and Dwight Atkinson. 1994. Archer and its challenges: Compiling and exploring a representative corpus of historical english registers. In Udo Fries, Peter Schneider, and Gunnel Tottie, editors, Creating and using English language corpora, Papers from the 14th International Conference on English Language Research on Computerized Corpora, Zurich 1993, pages 1–13. Rodopi, Amsterdam. DOI ↗ · OpenAlex ↗ · Scholar ↗
  3. BNC Consortium. 2007. The British National Corpus, Version 3. Distributed by Oxford University Computing Services on behalf of the BNC Consortium. http://www.natcorp.ox.ac.uk/. OpenAlex ↗ · Scholar ↗
  4. Peter Brown, Vincent Della Pietra, Stephen Della Pietra, and Robert Mercer. 1993. The Mathematics of Statistical Machine Translation: Parameter Estimation. Computational Linguistics, 19(2), pages 263–311. OpenAlex ↗ · Scholar ↗
  5. Marcello Federico, Nicola Bertoldi, and Mauro Cettolo. 2008. IRSTLM: an open source toolkit for handling large scale language models. in Proceedings of Interspeech 2008, pages 1618–1621. OpenAlex ↗ · Scholar ↗
  6. Philipp Koehn, Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico, Nicola Bertoldi, Brooke Cowan, Wade Shen, Christine Moran, Richard Zens, Chris Dyer, Ondřej Bojar, Alexandra Constantin, and Evan Herbst, 2007. Moses: Open Source Toolkit for Statistical Machine Translation. in Proceedings of the 45th Annual Meeting of the ACL on Interactive Poster and Demonstration Sessions, pages 177–180. OpenAlex ↗ · Scholar ↗
  7. Hrafn Loftsson. 2008. Tagging icelandic text: A linguistic rule-based approach. Nordic Journal of Linguistics, 31(1). DOI ↗ · OpenAlex ↗ · Scholar ↗
  8. Franz Josef Och and Hermann Ney. 2003. A Systematic Comparison of Various Statistical Alignment Models. Computational Linguistics, 1(29), pages 19–51. DOI ↗ · OpenAlex ↗ · Scholar ↗
  9. Eva Pettersson, Beáta Megyesi, and Jörg Tiedemann. 2013. An SMT approach to automatic annotation of historical text. In Proceedings of the NoDaLiDa 2013 workshop on Computational Historical Linguistics. OpenAlex ↗ · Scholar ↗
  10. Eva Pettersson, Beáta Megyesi, and Joakim Nivre. 2014. A multilingual evaluation of three spelling normalisation methods for historical text. In Proceedings of the 8th Workshop on Language Technology for Cultural Heritage, Social Sciences, and Humanities (LaTeCH) @ EACL 2014, pages 32–41, Gothenburg, Sweden. DOI ↗ · OpenAlex ↗ · Scholar ↗
  11. Paul Rayson, Dawn Archer, Alistair Baron, Jonathan Culpeper, and Nicholas Smith. 2007. Tagging the bard: Evaluating the accuracy of a modern POS tagger on Early Modern English corpora. In Proceedings of Corpus Linguistics 2007. University of Birmingham, UK. OpenAlex ↗ · Scholar ↗
  12. Silke Scheible, Richard J. Whitt, Martin Durrell, and Paul Bennett. 2011. Evaluating an ’off-the-shelf’ POS-tagger on Early Modern German text. In Proceedings of the ACL-HLT 2011 Workshop on Language Technology for Cultural Heritage, Social Sciences, and Humanities (LaTeCH 2011), Portland, Oregon. OpenAlex ↗ · Scholar ↗
  13. Christer Samuelsson and Atro Voutilainen. 1997. Comparing a linguistic and a stochastic tagger. In Proceedings of of ACL/EACL Joint Conference, Madrid. DOI ↗ · OpenAlex ↗ · Scholar ↗
  14. Yves Scherrer and Tomaz̆ Erjavec. 2013. Modernizing historical Slovene words with character-based SMT. In Proceedings of the 4th Biennial Workshop on Balto-Slavic Natural Language Processing, pages 58–62. OpenAlex ↗ · Scholar ↗
  15. Gerold Schneider, Hans Martin Lehmann, and Peter Schneider. 2014. Parsing Early Modern English corpora. Literary and Linguistic Computing, first published online February 6, 2014 doi:10.1093/ llc/fqu001. OpenAlex ↗ · Scholar ↗
  16. Jörg Tiedemann. 2009. Character-based PSMT for closely related languages. Proceedings of 13th Annual Conference of the European Association for Machine Translation (EAMT’09), pages 12–19. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/schneider-2017-comparing-rule-based-smt-based/