[Paper Review] Unsupervised Context-Sensitive Spelling Correction of English and Dutch Clinical Free-Text with Word and Character N-Gram Embeddings
This paper proposes an unsupervised, context-sensitive spelling correction method for English and Dutch clinical free-text using word and character n-gram embeddings. It ranks misspelling candidates via weighted cosine similarity to context vectors, outperforming off-the-shelf tools on MIMIC-III (English) and achieving state-of-the-art results on Dutch clinical records, though frequency bias mitigation is only empirically confirmed in English.
We present an unsupervised context-sensitive spelling correction method for clinical free-text that uses word and character n-gram embeddings. Our method generates misspelling replacement candidates and ranks them according to their semantic fit, by calculating a weighted cosine similarity between the vectorized representation of a candidate and the misspelling context. To tune the parameters of this model, we generate self-induced spelling error corpora. We perform our experiments for two languages. For English, we greatly outperform off-the-shelf spelling correction tools on a manually annotated MIMIC-III test set, and counter the frequency bias of a noisy channel model, showing that neural embeddings can be successfully exploited to improve upon the state-of-the-art. For Dutch, we also outperform an off-the-shelf spelling correction tool on manually annotated clinical records from the Antwerp University Hospital, but can offer no empirical evidence that our method counters the frequency bias of a noisy channel model in this case as well. However, both our context-sensitive model and our implementation of the noisy channel model obtain high scores on the test set, establishing a state-of-the-art for Dutch clinical spelling correction with the noisy channel model.
Motivation & Objective
- Address the challenge of spelling errors in clinical free-text, which hinder clinical NLP tasks.
- Develop a context-sensitive spelling correction method that does not rely on parallel gold-standard training data.
- Overcome the frequency bias commonly found in noisy channel models for spelling correction.
- Extend state-of-the-art spelling correction performance to Dutch clinical text, a low-resource language in this domain.
- Demonstrate the effectiveness of neural word and character n-gram embeddings in modeling semantic context for correction.
Proposed method
- Generate self-induced spelling error corpora to tune model hyperparameters without requiring gold-standard error annotations.
- Use word and character n-gram embeddings to represent both misspellings and their surrounding context.
- Compute a weighted cosine similarity between the context vector and candidate correction vectors to rank replacements.
- Apply a context-sensitive scoring mechanism that prioritizes semantically plausible corrections over frequency-based ones.
- Train and evaluate the model in an unsupervised manner, relying solely on monolingual clinical text.
- Implement a baseline noisy channel model for comparison, using the same evaluation setup.
Experimental results
Research questions
- RQ1Can word and character n-gram embeddings effectively improve context-sensitive spelling correction in clinical text without parallel training data?
- RQ2Does the proposed method reduce the frequency bias observed in traditional noisy channel models for spelling correction?
- RQ3To what extent can this method generalize to low-resource clinical language settings, such as Dutch?
- RQ4How does the model perform compared to off-the-shelf spelling correction tools on manually annotated clinical datasets?
- RQ5Can the model achieve state-of-the-art performance on both English and Dutch clinical spelling correction tasks?
Key findings
- The proposed method significantly outperforms off-the-shelf spelling correction tools on the manually annotated MIMIC-III English test set.
- The model successfully counters the frequency bias of the noisy channel model in English, demonstrating the advantage of semantic context modeling.
- For Dutch, the model outperforms an off-the-shelf tool, establishing a new state-of-the-art on the Antwerp University Hospital dataset.
- Despite strong performance, no empirical evidence was found that the method mitigates frequency bias in the Dutch setting.
- Both the context-sensitive model and the noisy channel model achieved high scores on the Dutch test set, indicating strong baseline performance.
- The use of self-induced error corpora enables effective hyperparameter tuning in the absence of gold-standard error annotations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.