Skip to main content

Translate Iraqi dialect to Modern Standard Arabic and back

Project description

IraqiText 🇮🇶

A Python library for translating Iraqi Arabic dialect to Modern Standard Arabic (MSA) and vice versa.

Features

  • 🇮🇶 Iraqi → Modern Standard Arabic
  • 📖 Modern Standard Arabic → Iraqi
  • ⚡ Fast dictionary-based translation
  • 🧩 Easy to integrate into Python projects

Installation

pip install iraqitext

Usage

from iraqitext import IraqiTranslator

translator = IraqiTranslator()

print(translator.to_fusha("شلونك"))
# كيف حالك

print(translator.to_iraqi("كيف حالك"))
# شلونك

Example

text = "هسه أكدر أجي"

print(translator.to_fusha(text))
# الآن أستطيع أن آتي

Roadmap

  • Iraqi ↔ MSA translation
  • More than 20,000 Iraqi words
  • Grammar rules
  • Iraqi spell checker
  • Southern dialect support
  • Mosul dialect support
  • Baghdadi dialect support
  • AI translation model

License

MIT License

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

iraqitext-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

iraqitext-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file iraqitext-0.1.0.tar.gz.

File metadata

  • Download URL: iraqitext-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for iraqitext-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e5ff9361496050d11526710340894e8f2f80e6ca1d7152f38560eef4311ba433
MD5 625cc028588cdc989bc9ef31de23101d
BLAKE2b-256 68f73a7858ca7f60e6daaf083790f2bfd55d4bfb13b147f08552e6bdbc180c85

See more details on using hashes here.

File details

Details for the file iraqitext-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iraqitext-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for iraqitext-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54b31189b7816be84ebe025f57477e59cf54d9390bc53bda9fc594dc2aa29f6c
MD5 93eef03fc97c8d6a89ec1e01a36c7f6d
BLAKE2b-256 b43151ba5507341f0520a9321d29e320884004349babfb41f8f19939b4e63bf2

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