Skip to content

A python script which converts Diacriticized Arabic text to IPA

Notifications You must be signed in to change notification settings

OAburub/Arabic-Phonetiser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Arabic-Phonetiser

This is a python script which can translate diacriticized arabic text to IPA

Usage

from arabic_phonetiser import translate
print(translate("مَرْحَبًا أَيُّهَا اْلعَالَمُ"))
#>> marħaban ʔajjuha lʕaːlam

Rules

  • Input text must be in Modern Standard Arabic
  • Input text must have full diacritics and germination
  • Input text must have a superscript alef for applicable words where a hidden alef is present
  • Hamzat Al-Wasl must have a diacritic, with either sukoon if it is not pronounced, or a diacritic if it is at the beginning of a sentence or after a stop

About

A python script which converts Diacriticized Arabic text to IPA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages