Perspacor is a free and open-source tool designed to correct spaces and half-spaces (ZWNJ) in Persian written text. Whether you're working on a document, a website, or any other project, Perspacor ensures accurate spacing for a polished presentation.
- Space Correction: Perspacor automatically adjusts spaces between words to adhere to standard Persian typography rules.
- Half-Space (ZWNJ) Correction: It handles half-spaces (Zero Width Non-Joiner) appropriately, ensuring consistent spacing.
- Easy Integration: Use Perspacor in your projects by integrating it into your text processing pipeline.
-
Installation:
- Clone this repository to your local machine.
- Run the installation script or follow the setup instructions in the relevant component's documentation.
-
Usage:
- Import the labeler and text preprocessor components into your Python project.
- Call the appropriate functions to correct spaces and half-spaces in your Persian text.
- use the corrector.py to correct your documents.
Contributions are welcome! If you'd like to improve Perspacor, feel free to:
- Open issues for bug reports or feature requests.
- Submit pull requests with enhancements or fixes.
Detailed documentation for each component can be found in the repository. Explore the code and learn how Perspacor works.
Visit Perspacor.ir to test the tool online. Your feedback is valuable!