hamaluik / nomdebebe

A simple, private tool to help pick a baby name.
Apache License 2.0
265 stars 19 forks source link

Feature request: Filter by syllables #10

Open yanneves opened 2 years ago

yanneves commented 2 years ago

It would be great to have a setting to filter by syllables.

I had a quick look into the name generation code, and can see the source data doesn't contain number of syllables. It would have to be parsed during name generation. There are existing algorithms, such as https://github.com/words/syllable (JavaScript) or https://github.com/Serdnad/lyrical_syllables (Rust), for determining number of syllables in a word.

Happy to give that aspect a shot, let me know what environment we have available when running generate.sh.

But I don't know Flutter development else I would have loved to contribute the UI additions.