tugaphone

Portuguese text to IPA, per lect. The Python package runs in your browser.

Machine-made output. No human reviewed it. pt-PT and pt-BR have a lexicon. All other lects run on rules alone, and a homograph can get the wrong reading.

Loading. The first load downloads about 40 MB and takes one to three minutes.

Examples

Each row shows stored output from tugaphone 3.6.9a1, 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.

One sentence across lects

Numbers and abbreviations expand

The digit takes the gender of its noun: 2 casas reads as duas.

Homographs

One spelling, two readings. The sentence selects the reading.

Contact with foreign words

With contact none, every word reads as Portuguese, so the English words read wrongly. With auto, the page finds the English words.

Demo sentences come from the tugaphone sentence gold (tests/data/sentences): the pt-BR set for the Brazilian lects and pt-UY, and the pt-PT set for the other lects.