arbtok and rawi

Arabic text to diacritized text and IPA. The Python package and the rawi model run in your browser.

Machine-made output. No human reviewed it. The model makes mistakes on ordinary words, so check the vowels before you use a result.

The page needs a browser with WebAssembly JSPI. Other browsers get an error message.

Loading. The first load downloads about 42 MB and takes three to six minutes.

Examples

Each row shows stored output from arbtok 0.0.3a35, made with native Python. Run repeats the example live in this page. A click during the load waits, and the example runs when the page is ready. These examples show the features. They are not a measure of accuracy, and other text can read worse.

Bare text in, vowels and IPA out

The input has no vowel marks. rawi adds them, the spoken text drops the case endings, and the IPA reads the spoken text.

One sentence in four lects

The lect changes the sounds. It keeps the words and verb forms of Modern Standard Arabic, and the rawi text is the same for every lect.

Every lect is research tier. The lect changes the sounds and keeps the words of Modern Standard Arabic. The first use of a lect takes longer.

Demo sentences for the selected lect come from the arbtok code-switched gold set (data/gold_code_switched).