Czech is unusual among European languages because the consonants r and l can act as the centre of a syllable, with no vowel present. This Czech syllable counter detects both ordinary vowel nuclei and these syllabic consonants, so it correctly counts words like vlk, krk, and the vowel-free tongue-twister strč prst skrz krk.
How it works
The counter scans each word and marks every syllable nucleus. A nucleus is:
- a vowel:
a e i o u yand the accented formsá é í ó ú ů ý; - a Czech diphthong
ou,au, oreu, counted as one; - a syllabic r or l — an
rorlthat has no adjacent vowel in the same syllable to attach to.
The number of nuclei equals the number of syllables. So vlk has one nucleus (the syllabic l) and nesl has one (the e, while the final l leans on it). The phrase strč prst skrz krk yields four syllables, one syllabic r per word.
Example
mlha (fog) breaks into ml-ha: the first l is syllabic and the a is a vowel, giving two syllables. prst (finger) is a single syllable built on the syllabic r.
Notes
The rule is a close approximation of standard Czech phonology and handles the everyday cases reliably. A few rare or foreign words may carry secondary stress patterns that differ, so treat unusual loanwords as estimates.