Skip to main content

PyQuran: The Python package for Quranic Analysis

Project description

PyQuran: The Python package for Quranic Analysis

PyQuran is a package which provides tools for Quranic Analysis and Arabic texts.

It is still a small package which needs a lot of your effort. We believe that it is a seed of a fundamental general package for computations on Quran with Python, even at the most basic level which is simply retrieving Quran text.

Before Islam, Arabic letters were without dots— rasm, which resulted in ambiguty, two or three letters had the same rasm or form.

Muslims have decided to remove this ambiguity by adding dots above or below each letter of the ones which share the same rasm. Now each letter has a unique form. By the way, originally, Quran was written using letters without dots.

To enable researchers to use modern alphabet, old rasm or other, we introduce alphabetical systems, It is a dynamic construction of letters— Alphabetical Systems.

Quran Corpus

We use tanzil Quran Corpus (Uthmani Text), it is in UTF-8 encoding. You can find all unique characters of Uthmanic Corpus here.

There are special recitation symbols مصطلحات الضبط in the Uthmani Text, they are a guide for the reciter to know the right positions to pause and the rules of tajweed. We provide an interface to filter those symbols, on the fly while fetching from the corpus, we DO NOT change the corpus, NEVER.

For the full details about filtering special recitation symbols مصطلحات الضبط.

Current Features

PyQuran needs and Upcoming Features.

  • Words Frequency Table filtered according to words meaning.
  • Morphology analysis of words to their roots.
  • Arabic tools for representing Arabic text for AI algorithms and neural networks, for more serious Arabic text processing and understanding. Those tools should take meaning, diacritics, roots and other morphology aspects in account.
  • Some PyQuran in-house tools and architecture enhancement will be on GitHub Issues for you contributors to make PyQuran professional and easy to use.

Contributing

To contribute and maintain PyQuran, Please read CONTRIBUTING section.

Dependencies

Install

  • From PyPI: $ pip3 install pyquran

Citing

@MISC {PyQuran2018,
author = "Waleed A. Yousef and
          Taha M. Madbouly and
          Omar M. Ibrahime and
          Ali H. El-Kassas and
          Ali O. Hassan and
          Abdallah R. Albohy",
title = "PyQuran: The Python package for Quranic Analysis",
howpublished = "https://hci-lab.github.io/PyQuran-Private",
year = "2018"}

Communication

Author Page

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

pyquran-1.0.1.tar.gz (318.2 kB view details)

Uploaded Source

Built Distribution

pyquran-1.0.1-py3-none-any.whl (334.8 kB view details)

Uploaded Python 3

File details

Details for the file pyquran-1.0.1.tar.gz.

File metadata

  • Download URL: pyquran-1.0.1.tar.gz
  • Upload date:
  • Size: 318.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyquran-1.0.1.tar.gz
Algorithm Hash digest
SHA256 9273c21e77a76a64391c6ece39adf5c980330b6b34c6b09d59565820e1576714
MD5 971cf3bbdc875a1a3010619e6b86f0ea
BLAKE2b-256 7f6bd565dda9bd4cc8fbe20c1c17c0496e6343912255d78470d3421903f1b686

See more details on using hashes here.

File details

Details for the file pyquran-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyquran-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9495c14363e2df324f1f02d3219728301ce04c278ea736f2978e9a816d580b0
MD5 cf2a5920a41a8ad9ad1d4ad54e6642d0
BLAKE2b-256 9a2334faed5c82596673ba72bbc17619cc23b6a5e10f5c85b5b89b37114862d9

See more details on using hashes here.

Supported by

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