Graphemic ambiguous queries on Arabic-scripted historical corpora
Paper · 2019 · González Martínez, Alicia
Summary
The paper looks at why searching historical Arabic-script documents is so hard and proposes a search tool to fix it. Arabic writing is layered. Underneath is a base skeleton of "archigraphemes" (close to the traditional rasm), and on top sit separate layers of consonant and vowel diacritics. Early manuscripts often omitted consonant dots, which made many letter blocks identical in shape, and they ran words together without spaces. Unicode was designed from a typographic, modern-script viewpoint, so it fuses skeleton and dots into single characters and gives some calligraphic variants their own code points. As a result, the same word typed on an Arabic keyboard and on a Persian or Urdu keyboard may not match, and searches miss many hits. With Thomas Milo of DecoType, the author built Yakabikaj, a utility that normalises and disambiguates Arabic text on the fly and supports skeleton-level search over unsegmented text. This matters for digital humanities work on early Arabic-script sources. The short paper is a workshop abstract and reports no quantitative evaluation.
Key points
- The archigrapheme is the shared shape of several letters once diacritics are removed. The author compares it to the archiphoneme in phonology, using Spanish coda neutralisation (adjetivo/atleta, vid/bit) as the example.
- The two script eras differ in how diacritics are written:
- Early script wrote diacritics in a different ink colour, used strokes for consonants and dots for vowels, and followed scriptio continua (no spaces between words).
- Modern script makes consonant dots mandatory and vowel marks mostly optional.
- Unicode has two problems for this kind of search:
- It encodes skeleton plus dots as single units.
- It separately encodes some calligraphic variants, which breaks matching across Arabic, Persian and Urdu input.
- Before this work, no dedicated tool existed for skeleton-based search of historical Arabic orthography.
- The resulting tool, Yakabikaj, was developed with DecoType. It performs real-time normalisation and disambiguation plus archigraphemic search on any Arabic-scripted text.
Interesting ideas
- I1. Index text at an underspecified "skeleton" layer that drops distinguishing marks, so that queries match every form sharing that base; this is useful wherever surface variation hides identity.
- I2. Separate the logical unit (grapheme) from its visual rendering (glyph) instead of trusting the encoding standard's character inventory; this prevents silent search and match failures across input methods.
- I3. Treat neutralisation, borrowed from the archiphoneme idea, as a first-class ambiguous class rather than forcing an early choice between candidates.
- I4. Support search over text with no reliable word boundaries by matching on continuous character streams.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (tokens): add a logical normalisation layer below the tokenizer that folds homoglyphs, curly vs straight quotes, ligatures and odd Unicode dashes, while keeping the original surface form for explainable output.
- I2 (world): match entity names and knowledge-graph labels from Wikidata/WordNet through a canonical logical key, so that variant spellings or encodings still link to the same entity.
- I3 (tokens): let the tagger and morphology emit an explicit ambiguity class (e.g. a noun/verb homograph) that later stages resolve, keeping the decision traceable.
- I4 (tokens): reuse this for run-together input such as hashtags, URLs or OCR-merged words, proposing segmentations that the parser can then confirm.
Institutions
Fields, topics and concepts
Shelves 5The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 worksLiterature and Literary Theory · 542 works
Topics 1Research subjects and languages the work is about.Semitic languages · 3,068 works
Cite
Cite as González Martínez, Alicia. 2019. Graphemic ambiguous queries on Arabic-scripted historical corpora. Proceedings of the Workshop on Language Technology for Digital Historical Archives.
@inproceedings{alicia2019graphemic,
title = {{Graphemic ambiguous queries on Arabic-scripted historical corpora}},
author = {González Martínez, Alicia},
booktitle = {Proceedings of the Workshop on Language Technology for Digital Historical Archives},
year = {2019},
doi = {10.26615/978-954-452-059-5\_001},
url = {https://doi.org/10.26615/978-954-452-059-5_001}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/martinez-2019-graphemic-ambiguous-queries-arabic-scripted/