Persian Word Spacing Correction Project
Importance of Spacing in Persian Language
In many languages around the world (Persian, Arabic, etc.), the space character is used to identify words and distinguish them from each other.
Since in Persian, word boundaries are determined by spaces, if spaces are not used correctly, the text becomes unreadable and its meaning is lost or changed.
Two Types of Spacing in Persian
In Persian, according to the existing standard, there are two types of spacing between words:
| Spacing Type | Description | English Name |
|---|---|---|
| Space | The gap between words in a sentence | Space |
| Half-Space | The gap between parts of multi-part words | Half-Space (ZWNJ) |
Importance of Correct Spacing
When spaces and half-spaces are used correctly in texts, several Persian natural language processing tasks improve significantly:
- Spell Checking
- Persian Search Engine
- Persian Summarization
- Keyword Extraction
- Machine Translation
- Indexing
Example Errors
For example, words like:
- "جمهوری اسلامی" (Islamic Republic) might be incorrectly written as "جمهوریاسلامی"
- "نرم افزار" (software) might be written as "نرمافزار"
Solution: Intelligent Spacing Correction Service
The Intelligent Processing Group of the Noor Computer Research Center for Islamic Sciences has launched an intelligent machine-based spacing correction service.
This service can:
- Detect correct spaces and half-spaces between words
- Correct errors
Correction Example
If a text contains words like "جمهوریاسلامی", the system will correct it to "جمهوری اسلامی" .
Benefits
- Improved readability of Persian texts
- Increased accuracy of natural language processing
- Automatic and intelligent correction without manual intervention
- Compliance with Persian language standard rules