A generic and language-independent Algorithm for Typo-Recognition

This Algorithm calculates Typo candidates using text corpus statistics based in Zipf's Law. The assumption is that any word that appears only once in the the text corpus is a typo candidate if there exists a more frequent word with an edit-distance of 1. # A generic algorithm for language independent typo recognition threshold = 100min_word_length = 5 single_use_words = SELECT word WHERE global_word_frequency = 1 and LEN(word) > min_word_lengthall_words = SELECT word WHERE global_word_frequency > threshold and LEN(word) > min_word_length found_typos = {} foreach hapax_legomenon in single_use_words: foreach word in all_words: if edit_distance ( word , hapax_legomenon ) > 1 : found_typos.append ( hapax_legomenon ) # found_typos contains generically calculated language independent typo canididates.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-09
DOI
https://doi.org/10.5281/zenodo.24078254
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A generic and language-independent Algorithm for Typo-Recognition

Jochen Tiepmar
Zenodo (CERN European Organization for Nuclear Research)
Natural Language Processing Techniques
article

A generic and language-independent Algorithm for Typo-Recognition

Jochen Tiepmar
article en

Abstract

This Algorithm calculates Typo candidates using text corpus statistics based in Zipf's Law. The assumption is that any word that appears only once in the the text corpus is a typo candidate if there exists a more frequent word with an edit-distance of 1. # A generic algorithm for language independent typo recognition threshold = 100min_word_length = 5 single_use_words = SELECT word WHERE global_word_frequency = 1 and LEN(word) > min_word_lengthall_words = SELECT word WHERE global_word_frequency > threshold and LEN(word) > min_word_length found_typos = {} foreach hapax_legomenon in single_use_words: foreach word in all_words: if edit_distance ( word , hapax_legomenon ) > 1 : found_typos.append ( hapax_legomenon ) # found_typos contains generically calculated language independent typo canididates.

Zenodo (CERN European Organization for Nuclear Research)
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon