Tagalog compounds and hyphenated words

Keep hyphens inside Tagalog compounds (bahay-kubo, tabing-ilog) instead of splitting them at every dash — a tokenizer override demo.

Hyphens often join parts of a single word in Tagalog. If your split characters include “-”, bahay-kubo becomes three tokens and alignment breaks. This example turns off hyphen splitting while keeping other defaults, so compounds stay intact.

The English line uses the join character “+” for “nipa+hut” where two English words represent one Tagalog compound. Adjust split and join rules under Settings → Tokens for your language pair.

Tagalog sentence with hyphenated compounds aligned to English, showing compound tokens kept together
Word alignment diagram — same export as in the editor.

Preply — language tutors

Personally, I use Preply for language learning. If you want to try an online tutor, our link includes 70% off the trial lesson. We earn a small bonus if you go on to paid lessons - it helps to keep the site running.

Open Preply