hci-lab / PyQuran

PyQuran: The Python package for Quranic Analysis https://hci-lab.github.io/PyQuran-Private
GNU General Public License v2.0
130 stars 23 forks source link

LETTER count of a word #9

Open musharraf8e4 opened 1 week ago

musharraf8e4 commented 1 week ago

Hi there, I want to humbly point out that there seems to be an error in the first word of verses 12:39 and 12:41 (the same word actually). I understand you used "quran-uthmani" from Tanzil project, but when you separate the word ( يَـٰصَـٰحِبَىِ ) into individual letters it should consist of these five letters ( يَ ـٰ صَ ـٰ حِ بَ ىِ ), if I am not wrong. You can find the same result if you do the same with the data contained in the file "quran-uthmani" directly downloaded from the Tanzil project website. However, when I did it using PyQuran, the letters become (يَٰ صَ ىٰ حِ بَ ى). Can you please explain this difference? Thanks!

TahaMagdy commented 3 days ago

Hello,

Yes, you're right. It was a bug in Tansil Quran Text. We pulled output the latest version of Tansil 24c70e. But there is a problem in publishing the package to PyPI, I am going to solve it soon ISA.