---
title: "KLPT – Kurdish Language Processing Toolkit — Sina 2020"
description: "KLPT brings Kurdish preprocessing, transliteration, morphology and tokenization together, addressing dialect and script variation."
canonical: "https://research.elamur.ai/free/en/papers/ahmadi-2020-klpt-kurdish-language-processing-toolkit/"
---
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/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/ahmadi-2020-klpt-kurdish-language-processing-toolkit/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/) / KLPT – Kurdish Language Processing Toolkit

# KLPT – Kurdish Language Processing Toolkit

Paper · 2020 · Sina Ahmadi

**Authors:** [Ahmadi](https://md.research.elamur.ai/free/en/authors/ahmadi/), [Sina](https://md.research.elamur.ai/free/en/authors/sina/) · **Year:** 2020 · **Venue:** Proceedings of Second Workshop for NLP Open Source Software (NLP-OSS) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of Second Workshop for NLP Open Source Software (NLP-OSS) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2020.nlposs-1.11/)
- [PDF](https://aclanthology.org/2020.nlposs-1.11.pdf)
- [DOI 10.18653/v1/2020.nlposs-1.11](https://doi.org/10.18653/v1/2020.nlposs-1.11)

## What it is about

KLPT brings Kurdish preprocessing, transliteration, morphology and tokenization together, addressing dialect and script variation. · about 36 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Kurdish text processing begins with problems that a general-purpose language toolkit cannot simply assume away. Different keyboards can produce different character encodings for what readers perceive as the same letter. Writing conventions vary, grammatical material can attach to words without spaces, and the language is used in different scripts. KLPT, introduced by Sina Ahmadi, brings several foundational operations into an extensible Python package. Its contribution is an organized implementation for Sorani and Kurmanji, instead of a claim that one new algorithm solves Kurdish language processing as a whole.

The toolkit addresses a practical obstacle in [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/): advanced tasks depend on basic operations that must already work. A system performing syntactic analysis needs appropriate text segmentation; a lexical application needs consistent characters and useful word analyses. For [low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/), these prerequisites can be unavailable even when researchers have published relevant methods. Ahmadi’s survey collects 53 publications concerning Kurdish language processing, but finds that only 18 make their resources or software available under an open-source licence. Among those open contributions, 11 come from the volunteer initiatives KLPP and Kurdish-BLARK. The paper therefore treats accessibility and integration as research infrastructure problems, alongside linguistic accuracy.

KLPT organizes its functionality into preprocessing, transliteration, stemming and related lexical operations, and tokenization. Preprocessing distinguishes character normalization from orthographic standardization and numeral conversion. Transliteration uses linguistic rules to move between Kurdish’s Arabic-based and Latin-based writing systems. The morphology component connects annotated dictionaries and affix rules through Hunspell, supporting operations such as stem retrieval, lemmatization, grammatical analysis, and spelling checks. Tokenization draws on lexical and morphological information because spaces alone do not reliably identify the units that downstream applications need. A shared configuration component checks the dialect and script arguments used by the individual modules.

The paper’s evidence is primarily architectural and descriptive. It explains the package, gives examples of its interfaces, surveys the surrounding research, and refers readers to separate studies for component evaluations. It does report a specific weakness inherited from the transliterator: recovering the unwritten vowel called Bizroke has an accuracy of 39%. That result concerns one difficult transliteration subtask, not the accuracy of the entire toolkit. There is no unified benchmark comparing KLPT against competing packages, and no experiment establishing the downstream benefit of assembling its components.

The central lesson is that linguistic diversity should shape software interfaces and resources from the beginning. KLPT makes dialect, script, lexical rules, and writing conventions visible rather than hiding them inside a supposedly universal processor. At the same time, its scope remains bounded. The described package supports Sorani and Kurmanji; broader dialect coverage and syntactic and semantic parsing are future goals. Its value lies in making foundational work available for reuse while giving later contributors a structure in which to extend it.

### Ideas worth borrowing

Separate character identity from spelling policy. Two strings can differ because they encode the same grapheme differently, or because their writers follow different orthographic conventions. These are different problems. KLPT assigns them separate operations, allowing applications to decide whether they need technical cleanup, editorial standardization, or both. This distinction is useful in corpus preparation, search, digital dictionaries, and any processing pipeline that must preserve the relationship between original text and a normalized representation.

Make language variation an explicit configuration. A language name alone may not identify the appropriate processing rules. Dialect and script can affect segmentation, morphology, and conversion between writing systems. KLPT exposes these choices through its classes and validates them centrally. The reusable principle is to make meaningful linguistic conditions part of the interface, so that a component receives a declared operating context rather than silently applying whichever assumptions its developer happened to use.

Store linguistic variation in resources. KLPT places mappings and other required data outside the main processing logic. This creates a clearer boundary between the mechanism that applies a transformation and the language-specific information that determines it. The approach can help other projects extend coverage, inspect changes, and compare alternative conventions without rewriting the surrounding software. It also makes clear that the order of transformations can matter.

Use morphology to interpret boundaries. A written word is not always the unit an application needs. In Kurdish, attached grammatical elements and compounds complicate segmentation in different ways. KLPT combines an annotated lexicon with morphological analysis and a separate resource for expressions containing multiple words. The broader idea applies wherever spaces provide incomplete evidence: segmentation should use the language’s word-formation system, while keeping different kinds of boundaries distinguishable.

Share lexical resources across related tasks. Stemming, lemmatization, grammatical analysis, and spelling assistance all need information about permitted forms and their internal structure. KLPT places several such operations over the same Hunspell-based resources. Reusing that foundation can reduce duplicated effort and make disagreements easier to investigate. The important condition is to preserve each operation’s meaning: recognizing a valid form, finding a lemma, and proposing a correction remain different decisions.

Treat availability as something to investigate. A published method is not automatically a reusable component. Ahmadi’s survey separately examines whether work releases software or data and whether its approach could transfer to another Kurdish dialect. These questions expose different obstacles. The same assessment can help researchers choose dependencies, identify infrastructure gaps, and avoid presenting theoretical transferability as evidence that working implementations already exist.

Report the difficult subproblem separately. Transliteration can look like character substitution while concealing decisions about pronunciation and unwritten vowels. The reported weakness on Bizroke shows why a broad task label can hide an important failure mode. Other systems benefit from the same discipline: identify which decisions require inference, measure them separately when possible, and avoid allowing an apparently successful overall transformation to imply reliability for every component.

### How Mova uses it

Mova is a small language system written in Rust, with explicit linguistic rules, learned parameters, and inspectable reasons for its decisions. Its documented core understands English; its French processing and other language tools have narrower stated scopes. KLPT does not establish that Mova processes Kurdish, and the available implementation evidence does not establish a KLPT integration. The connections below are proposed transfers of design ideas. Their status marks describe overlap with documented Mova mechanisms, rather than measured applications of this paper.

Idea: Separate encoding normalization from orthographic standardization. Where: KLPT Architecture, Preprocess. Area: data processing. Mova: частково є (language-specific processing in `en/src/tok.rs` and `en/src/french_rules.rs`). Mova could give technical character cleanup and spelling-policy changes separate interfaces and records. The French implementation establishes language-specific handling, but does not on its own establish KLPT’s distinction. A useful evaluation would check which transformations preserve an original form and which deliberately choose another written convention.

Idea: Declare dialect and script independently. Where: Configuration and Figure A.5. Area: multilingual interfaces. Mova: частково є (language-specific annotation routes in `en/src/annotate.rs`). Mova could extend its language selection with explicit script and variety fields where supported tools need them. The proposal is to represent relevant distinctions without implying that every combination works. Existing English and French routes provide a starting point; Kurdish coverage and a general dialect-and-script contract remain unknown.

Idea: Centralize validation of supported combinations. Where: Configuration. Area: software architecture. Mova: частково є (explicit admission and failure boundaries in `docs/hybrid-system.md`). KLPT checks constructor arguments through a shared configuration component. Mova could apply the same principle across linguistic adapters, rejecting unsupported settings before processing begins. Its operational architecture already preserves unsupported requests as failures, but that is not evidence that all language components share a common configuration validator.

Idea: Keep language mappings separate from transformation code. Where: KLPT Architecture and Preprocess. Area: linguistic resources. Mova: вже є (compiled seeds and generated tables in `global` and the `en` lexicon, described in `docs/architecture.md`). KLPT’s external resource files and Mova’s build-time resources differ in deployment, but share a separation between data and processing logic. The paper suggests retaining that boundary when adding writing-system rules, so reviewers can inspect the linguistic content directly.

Idea: Treat transformation order as part of the resource contract. Where: Preprocess, discussion of ordered regular expressions and mappings. Area: data processing. Mova: частково є (deterministic language rules and reproducible execution described in `README.md`). A Mova normalization layer could record the sequence in which transformations run and verify interactions between them. Determinism alone does not guarantee that an ordering is linguistically appropriate, so repeated identical output would need to be supplemented by checks against expected forms.

Idea: Keep numeral representation configurable. Where: Preprocess, numeral unification. Area: numerical text processing. Mova: частково є (exact mathematics in `math` and French number grouping in `en/src/tok.rs`). Mova already has numerical mechanisms, but the evidence does not establish configurable conversion among the numeral conventions discussed by KLPT. A dedicated representation policy could help readers compare quantities consistently while retaining the source spelling for explanations and source-bound lookup.

Idea: Make preprocessing dependencies visible. Where: Preprocess, recommendation to supply prepared text to other modules. Area: pipeline design. Mova: вже є (the explicit `en` → `prag` → `world` pipeline in `docs/architecture.md`). KLPT’s independently callable components show why a visible pipeline still needs a clear input contract for each stage. Mova could state whether an adapter expects raw text or already normalized text, preventing accidental double transformations and making intermediate failures easier to reproduce.

Idea: Distinguish written words from linguistic tokens. Where: Tokenize. Area: tokenization. Mova: вже є (French contractions, elisions, and enclitics in `en/src/tok.rs`). Mova’s French route already handles cases where orthographic and syntactic boundaries differ. KLPT supplies a further reason to preserve that distinction explicitly: attached grammatical elements can carry information needed by later analysis. This is an existing architectural concern, while any Kurdish rules would require separate development and evidence.

Idea: Use morphological evidence when spaces are insufficient. Where: Tokenize. Area: morphology and segmentation. Mova: частково є (`en` morphology and language-specific tokenization, including the French route). KLPT combines an annotated lexicon with grammatical analysis rather than relying only on delimiters. Mova could investigate a similarly structured interface where a segmenter consults permitted analyses. Whether this improves any supported language would depend on a controlled comparison; the digest does not establish a shared morphology-driven segmenter.

Idea: Maintain compound-expression variants as lexical evidence. Where: Tokenize, discussion of the expression lexicon. Area: multiword expressions. Mova: частково є (expression and idiom handling in `prag`, described in `README.md`). KLPT includes forms written with and without spaces. Mova could connect comparable variants without treating every orthographic grouping as a semantic idiom. Its existing interpretation mechanisms establish relevant overlap, but not a general resource connecting spacing variants to tokenizer decisions.

Idea: Keep sentence segmentation distinct from word segmentation. Where: Tokenize. Area: pipeline interfaces. Mova: частково є (`en` tokenization and sentence-level parsing). KLPT exposes sentence, word, and multiword-expression operations separately. Mova could use this separation to report failures at the appropriate level, especially when a parser receives an incorrectly delimited sentence. The documented core processes sentences, but the evidence does not establish separate measurements for all boundary decisions.

Idea: Share lexical foundations without merging task meanings. Where: Stem. Area: morphology. Mova: частково є (`en` morphology, lemmas, and the compiled dictionary). A common Mova resource could serve stem retrieval, lemma lookup, and grammatical analysis while preserving distinct result types. KLPT’s interfaces make the differences concrete. The proposal concerns consistency of lexical evidence, not importing Hunspell or assuming that a resource adequate for one operation is automatically complete for every other operation.

Idea: Reuse morphological rules for spelling recognition. Where: Stem and Spellcheck. Area: lexical validation. Mova: нове (a shared morphology-based spelling validator is not established by the digest). A candidate design could test whether a form is licensed by known stems and affix combinations instead of requiring every inflected form to be stored independently. Why Mova: This could extend the practical value of a free dictionary while keeping acceptance reasons inspectable. Its novelty and usefulness require repository verification and measurement.

Idea: Keep spelling detection separate from correction suggestions. Where: Stem, `check_spelling()` and `correct_spelling()`. Area: grammatical error correction. Mova: нове (the digest does not establish this spelling-assistance interface). A Mova adapter could return recognition status independently of possible replacements, avoiding an automatic claim that a suggested form was intended. Why Mova: Separate outputs would let source readers preserve uncertain text while offering bounded assistance to users or reviewers.

Idea: Expose the reason a word form is licensed. Where: Stem, morphological analysis and dictionary flags. Area: interpretability. Mova: вже є (reason-bearing native decisions in `README.md` and compiled linguistic knowledge in `docs/architecture.md`). KLPT’s grammatical flags illustrate a useful form of lexical explanation. Mova could preserve the same commitment when expanding morphology: a result should identify the stem or rule involved, rather than supplying only a normalized word that conceals how it was obtained.

Idea: Use suffix compatibility as a bounded grammatical service. Where: Stem, `suffix_suggest()`. Area: morphology. Mova: частково є (productive derivation rules in `en::derive`). Mova’s derivation mechanism supplies related infrastructure, but the evidence does not establish an interface enumerating suffixes permitted for a particular lexeme. Such a service could help dictionary review and form validation. It would need to distinguish a grammatically licensed possibility from an attested or contextually appropriate word.

Idea: Distinguish planned generation from implemented analysis. Where: Stem and Figure A.5. Area: implementation evidence. Mova: вже є (implemented-versus-direction boundaries in `docs/hybrid-system.md`). The KLPT description says that generation will be added, even though the class diagram includes a generation method. Mova’s documentation can apply the same evidential discipline: diagrams, interfaces, and directions should not be treated as execution receipts. This helps keep capability descriptions tied to working paths.

Idea: Resolve script ambiguity with linguistic constraints. Where: Transliterate. Area: script processing. Mova: частково є (rule-based transliteration in `tools/hbo/src/translit.rs`). KLPT uses phonological and syllabic information where direct character substitution is ambiguous. Mova already has a narrower transliteration tool, so the transferable idea is to declare which decisions are direct mappings and which depend on linguistic context. The scripts and rules differ; the paper supplies no measurement for transferring them.

Idea: Isolate unwritten-vowel recovery from ordinary conversion. Where: Transliterate, Bizroke discussion. Area: evaluation. Mova: частково є (`tools/hbo/src/translit.rs` and scoped measurements for its reading rules). A future Mova script adapter could give inferred insertions a separate diagnostic instead of treating every output character as equally observed. KLPT’s weak result motivates the distinction, but does not establish that Mova faces the same error distribution or would improve through this change.

Idea: Preserve uncertainty across transliteration. Where: Transliterate. Area: data provenance. Mova: частково є (typed evidential information in `prag/src/frames.rs` and source-bound worker outcomes). Mova could keep an inferred script conversion distinguishable from original written evidence. This is a design hypothesis inspired by KLPT’s ambiguous mappings, instead of a mechanism KLPT explicitly reports. Existing evidential labels concern statements and should not be presented as an already implemented character-level uncertainty representation.

Idea: Evaluate individual components before claiming pipeline success. Where: KLPT Architecture and Transliterate. Area: evaluation design. Mova: вже є (separate parser, reader, and execution measurements in `README.md` and `docs/architecture.md`). KLPT’s component references and isolated weakness reinforce the value of scoped claims. Mova should retain local diagnostics while also measuring the final task, because neither component accuracy nor successful execution alone establishes correct understanding.

Idea: Audit practical availability separately from methodological transfer. Where: Current State of Kurdish Language Processing. Area: research infrastructure. Mova: частково є (`tools/sources/README.md` and source discovery in `tools/dictindex/README.md`). Mova could record whether a published method is implementable elsewhere separately from whether usable code or data can be obtained. Existing source manifests capture provenance and access-related information, but do not establish the same paired classification for research methods.

Idea: Measure coverage by language variety. Where: Current State of Kurdish Language Processing and Figures 1 and 2. Area: evaluation coverage. Mova: частково є (explicit English-core limits and narrower experimental language scopes in `README.md`). A coverage report could distinguish documented support, available resources, and evaluated behavior for each variety. KLPT’s survey shows why a language-wide label can conceal uneven attention. Such a report would describe scope; it would not manufacture evidence for unmeasured varieties.

Idea: Connect research interfaces to ordinary user applications. Where: Stem, Hunspell integration. Area: deployment. Mova: частково є (tools and explicit worker interfaces in `docs/architecture.md`). KLPT uses a foundation that can also support spelling assistance outside research experiments. Mova could examine similarly bounded uses of its lexical tools where transparent local decisions are useful. The paper supports the integration principle, while demand, compatibility, and benefit for particular Mova applications remain unknown.

Idea: Package the resources needed for normal operation. Where: Usages. Area: reproducibility. Mova: частково є (release fetching, checksums, and documented data paths in `README.md`). KLPT distributes its data with the package, whereas Mova downloads substantial resources separately. The shared objective is a reproducible operational dependency set. Mova could continue checking that a declared release identifies the resources required by each capability, without treating the differing packaging arrangements as interchangeable.

Idea: Make contribution paths visible and bounded. Where: KLPT Architecture and Conclusion and Future Work. Area: software organization. Mova: вже є (crate boundaries, documentation, and regression-gated extensions in `docs/architecture.md`). KLPT’s modular design makes it easier to identify where a new operation or dialect resource belongs. Mova can preserve that clarity while requiring evidence for each extension, so adding a resource does not implicitly broaden every advertised capability.

Idea: Connect documentation with executable examples. Where: KLPT Architecture and Figure 4. Area: usability and verification. Mova: вже є (documented commands, benchmark paths, and the French grammar-example checks). KLPT demonstrates individual operations through small examples. Mova can use the same explanatory discipline while keeping demonstration cases distinct from evaluation sets. A successful example shows what an interface means; it does not establish representative accuracy or broad coverage.

Idea: Treat linguistic description as a source of processing requirements. Where: Kurdish Language. Area: morphology and syntax. Mova: вже є (compiled linguistic seeds and grammar-based English and French rules). The paper links Kurdish processing difficulties to articles, clitics, compounds, and grammatical variation. Mova can use comparable descriptions to formulate explicit rule candidates and diagnostics. The transfer is a method for identifying requirements, while any proposed rule still needs evidence from the language and task it targets.

Idea: Support educational access alongside technical extension. Where: Conclusion and Future Work. Area: community development. Mova: частково є (training guides and explanatory documentation described in `README.md`). Ahmadi proposes educational material for readers outside computational language research. Mova could similarly explain how a linguistic observation becomes a resource, a rule, and a checked change. Whether this attracts useful contributions is unknown; the concrete value would first be clearer participation requirements.

### The problem and its context

#### Why foundational tools matter

The paper starts from a dependency problem. Many language-processing applications cannot operate directly on arbitrary text without preliminary analysis. An application may need consistent character representation, word boundaries, lexical forms, or grammatical information before it can perform its main task. A sophisticated downstream method does not remove these prerequisites. If the preliminary operations are unavailable or inappropriate for the language, the practical pipeline remains incomplete.

Ahmadi connects this problem to the organization of existing software. The discussion cites [Stanford CoreNLP](https://md.research.elamur.ai/free/en/papers/manning-2014-stanford-corenlp-natural-language-processing/) when introducing the dependence between processing stages. It also places KLPT alongside established general-purpose toolkits and language-specific packages. The purpose of this comparison is architectural: a coherent collection of reusable components can make it easier for later work to begin above the level of basic text handling.

For Kurdish, the difficulty is not described as a complete absence of research. The paper identifies previous work on spelling, stemming, lexical resources, grammatical analysis, and other tasks. Its concern is that a research publication may not leave behind software that others can use. A method can be described adequately for an academic contribution while remaining costly to reconstruct, awkward to integrate, or unavailable under a suitable licence.

The paper gives earlier morphology work as a concrete example. Walther and colleagues developed substantial lexical and tagging resources through the Alexina framework, with an identified licence. Ahmadi acknowledges their contribution and notes subsequent uses, including work associated with the [CoNLL-SIGMORPHON shared task](https://md.research.elamur.ai/free/en/papers/cotterell-2017-sigmorphon-reinflection-52/). The criticism is narrower than saying the earlier research had no effect: its tooling did not appear to become a widely reused foundation across later Kurdish projects.

That distinction matters. The obstacle KLPT attacks is the distance between a contribution existing and a contribution becoming dependable infrastructure. The package aims to reduce that distance through familiar interfaces, organized resources, documentation, and a structure that can accept extensions.

#### A language with several processing contexts

The paper places Kurdish within the Iranian branch of the Indo-European family and reports a speaker population of 20-30 million. It describes use across Kurdish regions and diaspora communities. These facts establish that limited computational resources should not be confused with a language having little practical relevance. The processing challenge concerns the availability and organization of resources.

The linguistic classification is itself handled carefully. The paper discusses Kurmanji, Sorani, Southern Kurdish, and Laki as Kurdish dialects, while acknowledging that scholars do not all use the same classification. It also distinguishes Zazaki and Gorani from this grouping under the position adopted in the paper. For the toolkit, the immediate point is that a broad language label does not remove meaningful structural differences.

Writing systems introduce another dimension. Kurdish has historically used several scripts, and the paper identifies Arabic-based and Latin-based writing as the widely used contemporary choices. Kurmanji is predominantly associated with Latin-based writing, while Sorani and the other varieties discussed are mainly associated with Arabic-based writing. The package therefore needs more information than a single undifferentiated language selection.

The paper also emphasizes incomplete agreement on orthography. A toolkit cannot safely assume that every text follows one universally accepted spelling policy. Technical normalization may unify encodings, but deciding between written conventions is a different intervention. KLPT’s separation of these operations follows directly from this context.

#### Morphology makes apparently simple operations difficult

[Morphology](https://md.research.elamur.ai/free/en/concepts/morphology/) concerns the structure of words and the grammatical material combined within them. The paper describes Kurdish as highly inflectional, with substantial use of affixes and clitics. A clitic contributes grammatical meaning while depending closely on another expression. Such elements are especially important when deciding whether a written string contains the units needed for analysis.

Sorani and Kurmanji do not have identical nominal systems. The paper contrasts Sorani’s article marking with Kurmanji’s gender-related distinctions. It also discusses differences in grammatical cases and the expression of alignment in past transitive constructions. These descriptions are not presented as a full computational grammar. They explain why lexical and morphological processing cannot simply reuse one unrestricted set of assumptions.

Verbal vocabulary provides another reason to consider expressions larger than a single written word. The paper reports around 300 simple verbs and describes productive combinations involving nouns, adjectives, or prepositional material. A familiar verbal element can participate in several expressions whose meanings depend on the combination. Consequently, software must handle both internal word structure and expressions extending across spaces.

The writing system can make these structures harder to see. In Arabic-based Kurdish, grammatical elements may appear within a continuous written form. A space-based segmenter therefore risks treating a grammatically complex expression as indivisible. Conversely, a compound may be written with or without spaces, so the same lexical expression can appear under different surface layouts.

#### What the survey establishes

Ahmadi reviews 53 publications and classifies their subject matter, dialect coverage, openness, and potential applicability elsewhere. This is a survey of the field’s visible research outputs, not an experiment on toolkit accuracy. Its findings motivate the infrastructure contribution by showing both uneven linguistic attention and limited reusable release.

Sorani accounts for almost 90% of the surveyed attention. Kurmanji has a smaller presence, and the review finds no publication addressing computational processing of Southern Kurdish or Laki. That is a statement about the survey’s findings. It should not be extended into a claim that no informal activity, unpublished software, or unlocated research existed.

The survey’s openness criterion asks whether the relevant software or resource is released with an open-source licence. Its applicability criterion asks whether the method could address a similar problem in another dialect. A method can satisfy one condition without satisfying the other. A publicly available transliteration system can remain tied to particular phonological assumptions, while a broadly transferable method may lack a released implementation.

The paper also recognizes volunteer infrastructure. KLPP and Kurdish-BLARK are credited with substantial open contributions despite financial constraints. KLPT is positioned as a way to organize and extend this kind of effort, rather than as a replacement for the earlier initiatives or a claim that research organization alone solves linguistic scarcity.

### The method, step by step

KLPT is a software architecture assembled from language-specific components. The paper does not introduce a single optimization objective or a mathematical training procedure shared across the package. Its explanation proceeds through the organization of resources, configuration checks, and the behavior of each module. Understanding the method therefore means understanding what each operation takes responsibility for and what information it relies on.

The diagram below presents a typical processing route. It should not be read as a mandatory chain in which every application must call every component. KLPT’s modules can be used individually, and the paper explicitly recommends preprocessing before other operations rather than imposing it universally.

A typical route through KLPT The steps in order.

#### Organize the package around resources and operations

The toolkit is implemented in Python. Its main package contains the processing modules, while a data directory holds the information they need. This arrangement is intended to keep dialect- and script-specific variation out of hard-coded branches wherever possible. A preprocessing mapping, for example, belongs in a resource file that the operation loads and applies.

The architecture also provides places for third-party programs, tests, and documentation. The paper names Sphinx as the documentation generator. These details matter because the claimed contribution includes reuse: an implementation that future researchers cannot understand, configure, or extend would reproduce part of the problem the paper identifies.

The statement that the toolkit uses no external library needs to be read alongside the component descriptions. The package’s core implementation is presented as self-contained, but the morphology component explicitly integrates Hunspell through a wrapper. A careful architectural account should therefore distinguish the toolkit’s own code from the external facility used by that module.

Resource separation also changes how extension can work. If a variation can be represented as a mapping or lexical entry, a contributor may be able to add it without altering the mechanism that applies such information. This is a design opportunity, not a guarantee that every future dialect can be supported through data changes alone. Some differences may require new algorithms or different analyses.

#### Establish a supported configuration

Before a component processes text, its constructor receives arguments identifying the relevant linguistic setting. Depending on the class, these include dialect, script, numeral convention, and target script. The configuration module checks these arguments and handles errors centrally.

This avoids distributing the same validation decisions across unrelated operations. If a requested script is unsupported for a particular operation, the system should discover that through a common validation mechanism instead of failing later through an accidental lookup error. The paper does not provide an exhaustive behavioral evaluation of these checks, but it clearly identifies centralized validation as part of the design.

A configuration is more than a label attached to the output. It determines which mappings, lexical resources, and rules are relevant. Sorani in Arabic-based writing and Kurmanji in Latin-based writing can require different treatment even when the application wants an operation bearing the same name.

The architecture makes these differences visible to the caller. It does not attempt to infer every configuration automatically from arbitrary text. That is a useful boundary: accepting explicit settings is a more limited claim than reliably recognizing language variety and script under all input conditions.

#### Normalize the representation of graphemes

A grapheme is a unit of writing that readers recognize as a letter or comparable written element. The paper explains that keyboard diversity can assign different encodings to visually similar Kurdish characters. Text may also originate from keyboards intended for neighboring languages. The result is computational inconsistency even when the intended written form appears clear to a person.

The normalization operation addresses this representational problem. It maps alternatives to a selected encoding for each relevant grapheme. The objective is not to reinterpret sentence meaning or correct every spelling. It is to reduce differences that arise from technical representation.

This matters for later lookup. A dictionary can fail to recognize a word if its stored characters differ from the input’s encoded characters, even when a reader sees the same word. Normalization can therefore make later processing possible without requiring the lexical component to contain every keyboard-generated variant.

The paper describes the implementation in terms of regular expressions and character mappings. These are stored in the preprocessing resource and applied in a defined order. There is no learned character classifier or training split described for this operation.

Order deserves attention because transformations can interact. An earlier replacement may create the condition for a later one or remove a distinction that another rule expects. KLPT’s resource design acknowledges this operational dependence by arranging the transformations instead of presenting them as an unordered set.

#### Standardize orthographic choices separately

The standardization operation addresses writing conventions rather than equivalent encodings. The paper illustrates this through a Kurmanji form derived from the word for hope. When a vowel-initial grammatical suffix follows it, a linking sound appears, but writers may represent the resulting sequence differently. KLPT chooses the convention it regards as less ambiguous.

The distinction from normalization is substantive. Mapping alternate encodings can aim to preserve a grapheme’s identity. Selecting one written convention can change how a word is visibly spelled. An application concerned with faithful transcription may want to retain that difference, whereas an application concerned with consistent lookup may prefer the standardized form.

Ahmadi explicitly avoids claiming to establish a universal Kurdish orthography. Instead, the initial implementation follows identified conventions for Kurmanji and Sorani. The software consequently implements a policy chosen from linguistic and orthographic sources; it does not settle disagreements among all communities of writers.

The paper also discusses variation in how suffixes attach to dates. Different separators, or no separator, can express a comparable construction. This example broadens the point: orthographic variation is not confined to alphabetic words already present in a dictionary.

#### Unify numerals under a declared policy

A further preprocessing operation converts numeral representations. The paper discusses Farsi, Eastern Arabic, and Western Arabic conventions, while also allowing users to select the convention appropriate to their setting. The combined preprocessing call applies normalization, standardization, and numeral unification according to its arguments.

Numeral conversion changes representation instead of the intended numerical value. Its practical role is to reduce unnecessary variation before another component examines text. The paper does not evaluate a numerical reasoning system, nor does it claim that this operation understands quantities in context.

Keeping the policy configurable is important because the appropriate output can depend on regional administrative practice. A toolkit that always imposed one numeral style would make a broader editorial choice than some users need. KLPT supplies a default while preserving a degree of caller control.

The modules generally do not invoke preprocessing automatically. Transliteration is identified as an exception. For other operations, users are advised to pass prepared text onward themselves. This gives applications flexibility, but it also means that input preparation is part of the caller’s responsibility.

#### Transliterate using more than a substitution table

[Transliteration](https://md.research.elamur.ai/free/en/topics/multilingual-nlp/) changes a text’s writing system while aiming to represent its linguistic form. Kurdish’s script situation makes this useful for communication and for applications such as [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/) and [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). The paper integrates the Wergor transliterator for conversion between Arabic-based and Latin-based Kurdish.

A simple character table is insufficient because some Arabic-based letters have alternative Latin renderings. The paper discusses a character associated with either u or w and another associated with either î or y. Choosing between them requires more information than the identity of the character alone.

Wergor uses rules motivated by phonology and syllable structure. Phonology concerns the organization of speech sounds; syllable structure constrains how those sounds combine. In this setting, such information helps decide whether an ambiguous written element should be interpreted as a vowel or consonant.

The paper also identifies a harder problem: the vowel i, called Bizroke, has no corresponding grapheme in the Arabic-based writing discussed. Conversion into a representation that includes this vowel may therefore require insertion. Unlike replacing an observed character, insertion asks the system to recover information absent from the input spelling.

That difference explains why transliteration is not uniformly easy. The paper describes the treatment of the double-use characters favorably, but reports weak accuracy for locating Bizroke. It does not give a complete decision trace or formal rule inventory in the toolkit article, instead referring to the earlier transliteration study.

The package’s class diagram exposes functions associated with syllable detection, ambiguous-character handling, and Bizroke finding. These names help reveal the architecture, but they do not supply a new evaluation. Their role is explanatory: the conversion process contains several linguistic decisions instead of a single undifferentiated mapping.

#### Build lexical operations on annotated entries and affix rules

The morphology component begins with two kinds of information. An annotated lexicon records lemmas and associated flags, while morphological rules describe permitted combinations involving Kurdish morphemes. These resources are constructed for Sorani and Kurmanji and represented through Hunspell’s dictionary and affix facilities.

A [lemma](https://md.research.elamur.ai/free/en/concepts/lemma/) is a conventional lexical form used to group related inflected forms. A stem is the base used in forming words and need not coincide with the lemma. The toolkit keeps these operations distinct, which is important because reducing a word to any shorter string does not necessarily produce a useful dictionary entry.

The paper illustrates the difference with a verb meaning do. Stem retrieval can return a shorter verbal base, while [lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/) maps an inflected form to its lexical infinitive. These are related transformations, but an application selecting dictionary headings needs a different result from one inspecting word formation.

Morphological analysis returns grammatical information represented through the resource flags. The described fields can identify lexical category, stems, and suffix information. This makes the output more informative than a bare accepted-or-rejected decision: applications can inspect an analysis of how the written form is constructed.

The suffix-suggestion operation returns endings compatible with a lexeme. Its scope is grammatical possibility under the implemented resources. The paper does not establish that every suggested continuation is frequent, stylistically suitable, or correct in a supplied sentence.

Generation receives a different status. The prose describes an operation for producing a word form from morphemes as a future addition. Though the appendix diagram includes such an interface, the article does not establish that the intended generation capability was complete. The implementation claim should follow the explicit statement of planned work.

#### Use the same foundation for spelling assistance

The spelling class shares the Hunspell basis of the morphology class. It provides an operation that checks a word and another that returns correction candidates. The example in the paper shows an input rejected by the recognizer and a set of alternatives that includes a form meaning that the speakers have eaten.

Recognition and correction have different evidential force. A negative spelling check says the input does not pass the implemented acceptance rules. A correction list offers alternatives. Neither operation, as described, proves which word a writer intended in a particular sentence.

The architecture is valuable because it connects research resources with ordinary writing support. Hunspell’s use in open-source editors gives the Kurdish resources a possible route into applications beyond experimental processing. The paper presents this as an additional benefit of the chosen foundation.

However, sharing implementation does not make all lexical tasks equivalent. The same affix information can support several operations while each exposes a different result and serves a different user need. KLPT’s separate classes and methods help preserve these distinctions.

#### Segment text with lexical and morphological knowledge

[Tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) determines the units that later processing treats as tokens. For Kurdish, the paper argues that spaces do not fully answer this question. In Arabic-based writing, attached elements can make a continuous form contain several linguistically relevant pieces.

The Sorani example built around the word for hope contains a noun, an additional clitic, a pronominal element, and a copular element. Its grammatical interpretation is richer than the visual fact that it appears as a continuous written string. A tokenizer intended to support analysis needs access to this internal structure.

KLPT adopts an earlier tokenization approach using an annotated lexicon and a morphological analyzer. The toolkit article does not reproduce a complete inference algorithm for every segmentation decision. Its contribution here is to identify the resources and expose the operation within the package.

Compounds create a complementary problem. An expression can belong together lexically while appearing across spaces, and writers may vary whether those spaces are present. KLPT therefore includes a resource for [multiword expressions](https://md.research.elamur.ai/free/en/topics/multiword-expressions/) and their written alternatives.

Separate operations handle word tokenization, multiword-expression tokenization, and sentence segmentation. Sentence segmentation uses punctuation. These operations should not be collapsed into a single claim of segmentation accuracy: they make different decisions and can fail for different reasons.

The paper allows separators used in tokenized output to be customized. This is a practical interface feature, particularly where an application needs to distinguish a whole written form from its internal pieces. It does not alter the linguistic evidence supporting a boundary.

#### Present callable components rather than a training recipe

The usage section demonstrates how to initialize the classes and inspect their outputs. The package is distributed through the Python Package Index, includes its data files and requirements, and supports Python 3.5 and later. The examples cover preprocessing, script conversion, lexical operations, and segmentation.

These demonstrations show the intended shape of the interfaces. They are not a substitute for representative evaluation. An example can establish that a method is callable and illustrate the interpretation of its return value without showing how reliably it behaves across a corpus.

No mathematical formulas are introduced for the toolkit architecture. The paper also gives no shared training objective, combined training dataset, or unified optimization procedure. Its mechanisms are described through resources, rules, external integration, and interfaces, with separate studies carrying much of the component-level research.

### Experiments and results

#### The numerical evidence is mostly about research availability

The main quantitative study reported in the article is its review of Kurdish language-processing publications. Ahmadi collects 53 publications through academic search and database resources, then classifies them by research area, dialect, open-source availability, and applicability beyond the dialect studied.

The openness check is not inferred merely from a publication’s wording. The paper describes examining the publication and searching online repositories for released material. This gives the survey a practical orientation: it asks whether another researcher can obtain an implementation or resource, rather than only whether a method has been discussed.

The following chart treats the survey filters as inventory settings. Its rows are nested groups: volunteer-project outputs belong within the open-source group, and open-source contributions belong within the surveyed collection. They are not competing systems, and the counts do not measure linguistic accuracy.

Kurdish research survey under successive availability filters The openly released subset is much smaller than the surveyed collection, with volunteer initiatives contributing prominently.

**The numbers**

| System or setting | publications |
| --- | --- |
| All surveyed publications | 53 |
| KLPT survey: open-source contributions (this paper) | 18 |
| Open-source contributions from volunteer initiatives | 11 |

The star identifies the paper’s open-source classification setting. A larger count in this inventory means more publications are retained under a setting; it does not make the unfiltered row a stronger method or the volunteer subset a weaker contribution. Reading the figure as a performance ranking would misrepresent the survey.

The paper also reports that Sorani accounts for almost 90% of the surveyed work. Kurmanji receives less attention, and the review locates no relevant publication for Southern Kurdish or Laki. These findings motivate the toolkit’s emphasis on extensibility, while also revealing that its initial supported dialects do not eliminate the coverage imbalance.

The review includes optical character recognition because converting printed material into machine-readable text affects resource availability. It excludes non-scientific contributions from the formal survey, while mentioning some practical projects separately. The resulting publication inventory therefore has a defined scope instead of being a census of every Kurdish software activity.

#### The transliteration result identifies a particular weakness

The article reports an accuracy of 39% for detecting the unwritten i vowel in the transliteration system it incorporates. This is the clearest component-performance number in the toolkit description. It concerns Bizroke recovery, where the input script lacks an explicit grapheme for the vowel.

The number should not be interpreted as overall transliteration accuracy. The paper distinguishes this weak subtask from handling characters with alternative vowel and consonant readings. It describes the latter handling positively, but does not supply a comparable numerical result for it in this article.

Nor does the article provide a dataset size, split, or baseline alongside the 39% figure. Those details cannot be reconstructed from the package examples. The evidence supports recognizing an inherited weakness; it does not support a complete comparison between transliteration strategies.

Because no second result on the same metric is reported, a comparative accuracy chart would require invented data or incomparable values. The survey chart above consequently represents the article’s numerical comparison, while the transliteration result is reported with its narrower conditions in prose.

#### The remaining evidence demonstrates interfaces

The usage examples show outputs for specific calls. Normalization changes character representation, standardization adjusts writing, a spelling check rejects an input, and grammatical analysis produces a structured dictionary. The tokenization example shows a written form divided into meaningful pieces.

These are behavioral demonstrations. The paper does not state that the examples were sampled from a held-out test collection or that they represent typical error rates. Their purpose is to explain what the components do and how their results are represented.

The article says the modules have been investigated separately and directs readers to those studies. That establishes the intended relationship between the toolkit and its component research. It does not supply their full experiments within the toolkit paper, and no absent score should be treated as an implicit success.

There is no reported package-wide benchmark, no common downstream task, and no comparison against a baseline that omits preprocessing or morphology. As a result, the demonstrated result is that the components are organized and exposed together, not that their integration achieves a measured improvement on parsing, translation, or retrieval.

### What the ablations show

The paper reports no ablation experiment that disables a KLPT component or rule group and measures the resulting change in task performance.

It does, however, offer several analyses that clarify the design. The survey separates open availability from applicability across dialects. This shows that two desirable properties should not be conflated: reusable ideas and accessible implementations are related, but neither guarantees the other. The survey is an analysis of research conditions, rather than a controlled test of a processing method.

The transliteration discussion also decomposes a broad operation into different kinds of decisions. Resolving an ambiguous written character and inserting an unwritten vowel do not draw on identical evidence. The reported Bizroke weakness indicates that these subproblems can have very different reliability, even when users encounter them through one interface.

The preprocessing architecture makes another conceptual distinction by separating encoding cleanup, orthographic policy, and numeral conversion. That separation allows future controlled experiments to vary one operation while retaining the others. The paper itself does not perform such an experiment, so it cannot establish how much each operation improves a downstream result.

Likewise, using a morphological analyzer alongside a lexicon gives a plausible explanation for handling attached grammatical material. Yet the article does not compare that configuration with a lexicon-only system, a space-based tokenizer, or another segmentation method under common conditions. The architecture identifies what information is used; it does not isolate the causal contribution of each information source.

The examples provide inspection opportunities rather than ablations. A reader can see what a particular operation returns and understand how it differs from another operation. That is useful for software comprehension, but it cannot determine whether an alternative design would be more accurate or whether a component is necessary for a target application.

A stronger causal account would require component comparisons under matched inputs and evaluation conditions. That is a methodological implication for future evaluation, not an experiment or conclusion reported by Ahmadi. The paper’s evidence remains consistent with its principal purpose: introducing and organizing an open toolkit.

### Limitations

#### Limits the author explicitly identifies

The most concrete reported technical weakness concerns transliteration. Bizroke recovery reaches an accuracy of 39%, indicating difficulty in reconstructing a vowel absent from the writing system. The author does not conceal this problem behind the general availability of script conversion. Applications that depend on precise recovery of the Latin representation need to recognize this boundary.

The package initially addresses Sorani and Kurmanji. The paper presents support for other dialects as an extension opportunity, not an implemented capability. This matters particularly because the literature survey identifies severe underrepresentation of other Kurdish varieties. A framework designed to expand is not the same thing as expanded coverage.

Orthographic standardization is also bounded. The author expressly avoids claiming to define a universally accepted Kurdish writing system. KLPT follows selected conventions for the supported varieties. Its standardized output therefore reflects a declared policy, and disagreement with that output need not imply that a writer’s original form was merely an encoding error.

Syntactic and semantic parsing belong to future work. The toolkit provides foundations that could support them, but the article does not demonstrate either as an integrated KLPT capability. Similarly, the prose presents word-form generation as a planned addition within the morphology component.

The paper recognizes resource scarcity and limited financial support as broader constraints. Its emphasis on volunteer contributions and educational material reflects an attempt to build participation around the toolkit. It does not claim that packaging existing operations is sufficient to resolve the underlying lack of linguistic resources.

#### Limits visible in the evaluation setup

A careful reader must distinguish the field survey from an evaluation of the software. Publication counts establish something about the reviewed research landscape. They do not measure segmentation quality, morphological coverage, spelling-correction usefulness, or script-conversion fidelity.

The paper offers no unified dataset and no common comparison across the modules. A spelling example and a transliteration accuracy figure cannot be combined into an overall toolkit score. The operations have different outputs and different error conditions, and the article does not define a metric for aggregating them.

The single reported transliteration accuracy also lacks accompanying experimental detail in the toolkit description. Without the relevant input collection, split, and comparison conditions, the number cannot establish general behavior across dialects, domains, or writing styles. The appropriate interpretation is a reported component weakness under the earlier evaluation.

Claims about transfer between dialects require similar care. The survey’s applicability classification asks whether a method could be used elsewhere. It does not report actual transfer experiments for every positively classified publication. A plausible methodological transfer can still require new lexical resources, revised linguistic rules, or substantial engineering.

The literature search itself has a finite scope. It uses identified academic sources and excludes non-scientific work from its formal inventory. The statement that no publication was found for a dialect therefore describes the review’s outcome. It is stronger than the evidence to turn that into an unrestricted historical claim about every possible contribution.

#### Limits of the processing architecture

Preprocessing is typically left to the caller rather than automatically applied by every module. This design permits flexible composition, but it also permits inconsistent usage. Two applications may invoke the same lexical operation on differently prepared text and obtain different behavior without the underlying module having changed.

Character normalization and orthographic standardization can also have different consequences for source preservation. The architecture separates them, which is helpful, but the paper does not describe a general mechanism for retaining every transformation alongside the original input. Applications needing detailed provenance would need to consider that requirement separately.

The reliance on lexical resources creates an obvious coverage question. The article identifies dictionaries, flags, affix rules, and expression lists, but does not report comprehensive coverage measurements for the package. It therefore cannot establish how reliably the system handles unfamiliar vocabulary or writing conventions outside the encoded resources.

Punctuation-based sentence segmentation has a clearly stated mechanism, but no reported package-level evaluation. The article does not establish how it behaves on ambiguous punctuation, unusual formatting, or text with inconsistent sentence marking. These are open evaluation questions, rather than demonstrated failures.

Spelling correction is likewise presented through candidate generation. The existence of suggestions does not prove that the intended correction is present, ranked appropriately, or suitable in context. The paper does not provide a contextual correction benchmark, so the interface should not be described as solving sentence-level editing.

Finally, architectural organization should not be mistaken for demonstrated downstream impact. Making components easier to reuse is a meaningful software contribution. Whether that organization improves another application’s accuracy, development cost, or robustness would require evidence beyond the examples and survey reported here.

### What came after

[Beyond Arabic: Software for Perso-Arabic Script Manipulation](https://md.research.elamur.ai/free/en/papers/gutkin-2022-beyond-arabic-software-perso-arabic/) is a later work, dated 2022, that cites KLPT. Its subject connects directly to a central difficulty in Ahmadi’s article: software operating on an Arabic-derived writing system must account for the languages and conventions using that script, instead of assuming that one language’s character treatment is universally appropriate.

The available account establishes the citation and the later work’s focus on Perso-Arabic script manipulation. It does not establish that the later software incorporates KLPT’s code, adopts its resource format, evaluates its transliteration rules, or improves its reported Bizroke result. Those would be distinct historical and technical claims requiring additional evidence.

The defensible connection is therefore at the level of the problem being addressed. KLPT shows how character variation, script conversion, and language-specific conventions become practical requirements inside a Kurdish toolkit. The later cited work places script manipulation itself at the center of its subject. This is a relevant continuation of the infrastructure concern, while the precise mechanism of influence remains unspecified.

KLPT’s own future-work agenda is more explicit. Ahmadi proposes broader dialect support, syntactic and semantic parsing, and educational material for non-specialists. These goals show how the toolkit was intended to grow from foundational text handling towards richer analysis and wider participation. They remain proposals in this paper, rather than evidence that the subsequent extensions were completed.

## Cite

Cite as Sina Ahmadi. 2020. KLPT – Kurdish Language Processing Toolkit. Proceedings of Second Workshop for NLP Open Source Software (NLP-OSS).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2020.nlposs-1.11](https://doi.org/10.18653/v1/2020.nlposs-1.11)

```bibtex
@inproceedings{sina2020klpt,
  title = {{KLPT – Kurdish Language Processing Toolkit}},
  author = {Sina Ahmadi},
  booktitle = {Proceedings of Second Workshop for NLP Open Source Software (NLP-OSS)},
  year = {2020},
  doi = {10.18653/v1/2020.nlposs-1.11},
  url = {https://doi.org/10.18653/v1/2020.nlposs-1.11}
}
```

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