Skip to main content

data processing pipeline with deduplication, stemming, quality checking, and readability scoring, used for the DALLA Models

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dalla_data_processing-0.0.12.tar.gz (428.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dalla_data_processing-0.0.12-py3-none-any.whl (454.3 kB view details)

Uploaded Python 3

File details

Details for the file dalla_data_processing-0.0.12.tar.gz.

File metadata

  • Download URL: dalla_data_processing-0.0.12.tar.gz
  • Upload date:
  • Size: 428.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dalla_data_processing-0.0.12.tar.gz
Algorithm Hash digest
SHA256 86ee01eb333d405f6fbee81ea7602d21949fe6adc97c1c55bdbe8c8b49d3f4f1
MD5 bfa918a267873bb6ed7577990f0bd102
BLAKE2b-256 110adea58154cbc0da12b5ef72be355205cb5829576f0c8efc90b7e1aa43ab66

See more details on using hashes here.

File details

Details for the file dalla_data_processing-0.0.12-py3-none-any.whl.

File metadata

File hashes

Hashes for dalla_data_processing-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 baffbf9e28112fc257da09f8912a11d75ed3df866654f65991e21db2f76991a0
MD5 615eb39f173fe1551cf3ff3ba31160c0
BLAKE2b-256 9a6e0bc37057dc2f37d0c62915b2f27ce77a62aaaefc28a699c08cac1cd00af3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page