Dalla Data Processing (dalla-dp)
A comprehensive Arabic data processing pipeline with deduplication, stemming, quality checking, and readability scoring, used for the DALLA Models.
Compatibility
- Linux: Fully supported
- macOS: Fully supported (Intel or through rosetta)
- Windows: Supported through WSL, for native windows: manual build from source works for deduplication.
Installation
Quick Start (All Features)
For most users, install with all features enabled:
Using uv
uv pip install "dalla-data-processing[all]"
Using pip
pip install "dalla-data-processing[all]"
Modular Installation (Advanced)
Install only the components you need to keep dependencies minimal:
# Base installation (no processing features, only core dependencies)
pip install dalla-data-processing
# Install specific features
pip install "dalla-data-processing[dedup]" # Deduplication only
pip install "dalla-data-processing[stem]" # Stemming only
pip install "dalla-data-processing[quality]" # Quality checking only
pip install "dalla-data-processing[readability]" # Readability scoring only
pip install "dalla-data-processing[pack]" # Dataset packing only
# Combine multiple features
pip install "dalla-data-processing[dedup,stem,quality]"
Development Installation
From Source (with uv)
git clone https://github.com/U4RASD/dalla-data-processing.git
cd dalla-data-processing
# Install all features and dev dependencies
uv sync --all-extras
# Or install with specific extras only
uv sync --extra dedup --extra stem
From Source (with pip)
git clone https://github.com/U4RASD/dalla-data-processing.git
cd dalla-data-processing
# Install with all features for development
pip install -e ".[all,dev]"
Components
Note: Each component requires its corresponding extra to be installed. Install with
[all]to enable all features, or see Modular Installation to install only what you need.
1. Deduplication
Detect and remove duplicate or near-duplicate documents from your datasets using the Onion algorithm.
- Requires:
[dedup]extra
2. Stemming
Apply morphological analysis and stemming using CAMeL Tools.
- Requires:
[stem]extra
3. Quality Checking
Check text quality using morphological analysis to detect errors and foreign words.
- Requires:
[quality]extra
4. Readability Scoring
Calculate readability scores using Flesch Reading Ease and Osman methods. Contains also ranking according to both scores
- Requires:
[readability]extra
5. Dataset Packing
Pack and prepare datasets for training.
- Requires:
[pack]extra
Links
- Homepage: https://acrps.ai
- Documentation: https://github.com/U4RASD/dalla-data-processing#readme
- ACRPS: https://acr.ps
Metadata
Release files for dalla-data-processing 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dalla_data_processing-0.0.12.tar.gz | 428.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dalla_data_processing-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 882.8 kB
Release files / dalla_data_processing-0.0.12.tar.gz
| Download URL | dalla_data_processing-0.0.12.tar.gz |
|---|---|
| Size | 428.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86ee01eb333d405f6fbee81ea7602d21949fe6adc97c1c55bdbe8c8b49d3f4f1
|
|
BLAKE2b-256 checksum How to use checksums |
110adea58154cbc0da12b5ef72be355205cb5829576f0c8efc90b7e1aa43ab66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / dalla_data_processing-0.0.12-py3-none-any.whl
| Download URL | dalla_data_processing-0.0.12-py3-none-any.whl |
|---|---|
| Size | 454.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
baffbf9e28112fc257da09f8912a11d75ed3df866654f65991e21db2f76991a0
|
|
BLAKE2b-256 checksum How to use checksums |
9a6e0bc37057dc2f37d0c62915b2f27ce77a62aaaefc28a699c08cac1cd00af3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|