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.1.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.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iraqitext-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4840ec8e40d541244346b00de3e8bbc759d7b1b9229107be406d7cf6633315bc
MD5 9fda706a8f1a79696fbcfed8369a76b7
BLAKE2b-256 13c0c62b77c6419b8e71e663013ac289373a87aaeedf7178b86ca02b123f5b1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iraqitext-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8ff41b03b009323a67fc12a84e32e77509bba373745e86eec55bf43e14fe1d6
MD5 5a783bb04ff8df6fcec09f992d38b140
BLAKE2b-256 a4598ed48378bd280d23bdf0fc7b4febe835908201dd95cc4c22835a2c17b177

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