The Malay Syllable Counter segments Bahasa Melayu words written in Rumi script using the regular (C)V(C) rules described by Dewan Bahasa. Because Rumi spelling is closely phonemic, rule-based syllabification gives reliable counts for native vocabulary.
How it works
Each vowel nucleus anchors one syllable, and the surrounding consonants are assigned by position:
V a, i, u, e, o (single vowel nucleus)
CV consonant + vowel (bu, ka)
CVC consonant + vowel + coda (ban, kut)
A single consonant between two vowels opens the next syllable (V·CV); in a longer cluster the first consonant closes the current syllable and the rest open the next (VC·CV). The digraphs ng, ny, sy, and kh behave as one consonant, and the word-final diphthongs ai, au, oi count as a single nucleus.
Example and tips
sekolah segments as se-ko-lah (3 syllables), pelajar as pe-la-jar (3), and bunga as bu-nga (2) with the ng digraph kept whole. pantai is pan-tai (2) because the final ai is one diphthong nucleus. For pantun and syair, add the per-word counts across each line to check the metre. Spot-check unusual loanwords by ear, since a few imported clusters fall outside the regular pattern.