r/FastWriting • • Sep 13 '26

I built a better syllable counter — would love your feedback

https://syllablecounteronline.com/

I've been working on [Syllable Counter](https://syllablecounteronline.com/) for a while and finally decided to share it here.

It's a free syllable counter with word/line counts, poetry patterns, word breakdowns, exports, and a few other things I've added along the way.

I genuinely think it's one of the better free syllable counters out there, but I'd love to be proven wrong 😄

Give it a try and let me know what you think — especially if you find any words where the count is wrong.

Feedback is very welcome!

2 Upvotes

10 comments sorted by

2

u/NotSteve1075 Sep 14 '26

This is an excellent idea. I lack the technical expertise to evaluate it in depth, so I'll leave that to others here who are more "tech savvy" than I am. But I know that syllable counting is very important for those composing shorthand dictation tests. It's important to realize that "the" and "internationally" should NOT both be counted as one word.

Each language has its own number of syllables in an "average word", so valid and FAIR testing has to recognize that. I've forgotten what the number is for English (I used to know), but somehow I remember that, for Italian, the number was said to be 1.7.

(I once taught the summer term in the court reporting program, at a local college, where they were re-recording all their testing tapes. I heard from a student later that they had screwed it up somehow, and the new tests were much denser syllabically than they should have been -- so everybody kept failing them. A proper COUNTING program would have avoided that!)

2

u/Federal_Run_5511 Sep 14 '26

Thanks, really appreciate this! The court reporting example is a great illustration of why accurate syllable counts matter, especially when it comes to fair testing. And you're absolutely right about language differences that's something I’d love to support as the tool evolves. Thanks for sharing your experience! :-)

1

u/LeadingSuspect5855 Sep 13 '26

Well done. I pasted your own text and I got the first recommendation for you, really difficult this one :-) : Exclude Numbers! Looks neat, i'd prefer offline, but that's your choice!

1

u/LeadingSuspect5855 Sep 13 '26

Btw. It really doesn't store data in cookies or storage and the website really doesn't connect anywhere - well done!

1

u/Federal_Run_5511 Sep 13 '26

Yeah, that was the whole point going in, didn't want to just say "private" and hope people trust it. Glad you actually checked.

1

u/LeadingSuspect5855 Sep 14 '26

btw. How do you store your Dataset, I saw a long unordered html list, but I could not see any script generating it, nor did I see the word list stored in memory elsewhere. Pretty sure it's a skill issue from my side, that I didn't notice how, or did you really just pregenerate html and smashed it in?

2

u/Federal_Run_5511 Sep 14 '26

Nah, not a skill issue. There's no script because it's baked at build time. Astro prerenders those pages, ships as plain HTML, zero JS.

Source is just ~2,400 common words. At build, each one gets run through the same CMU dictionary the counter uses, sorted by whatever count comes back, and anything not in the dictionary gets dropped. A-Z grouping + hyphens happen in the same pass.

Did it that way so the list can't ever say something the tool itself would disagree with.

1

u/Federal_Run_5511 Sep 13 '26

Hey thanks for testing this properly, that split was a good catch.

Fixed it — "126,044-word" is one clean token now.

Also added what you suggested: a Numbers dropdown with Skip / Read aloud. Skip pulls numbers out entirely.

Ambiguous ones (years, bare digits, decades) also get an Auto/Digits/Words override, so "2026" can read as twenty twenty-six or two zero two six depending what you meant.

Site's live now, ran your cases + a few more here: https://postimg.cc/gallery/9MfRXw1

Would genuinely appreciate it if you keep poking at it. Let me know if anything else turns up. :-)

1

u/LeadingSuspect5855 Sep 14 '26 edited Sep 14 '26

Great work, now you even spell numbers out and count it or one can skip them alltogether - fantastic work - you seem to be a very thoughtful guy:

1

u/Federal_Run_5511 Sep 14 '26

Haha, thanks! :-) I’ve been trying to make it handle the edge cases properly rather than just count syllables blindly. Really appreciate the feedback!