Closed ssteigen closed 4 years ago
As a non-native English speaker, English is very weird ;) Those are lovely examples, Thanks for them!
Same as https://github.com/words/syllable/issues/38#issuecomment-610573612 applies!
https://github.com/words/syllable/pull/40 fixes ying$
https://github.com/words/syllable/pull/40 now fixes (th|d)eist also
https://github.com/words/syllable/pull/40 fixed naive and shredless
@wooorm , some of the list I didn't update, as they weren't common words and/or didn't appear to be part of a many-word-rule. I didn't update any of these. Instead of rules, perhaps these all could go into problematic as one-off exceptions.
"beauish", // 2 syllables "biped", // 2 syllables "bluest", // 2 syllables "bluish", // 2 syllables "crooked", // 2 syllables "freest", // 2 syllables "gluey", // 2 syllables "hyoid", // 2 syllables "measled", // 2 syllables "pyoid", // 2 syllables "toey", // 2 syllables "treen", // 2 syllables "weest" // 2 syllables
If possible, the problematic list should be kept as short as possible. But yup, if there are no patterns in those words, that makes sense!
Using this with sentencer.js to create a random phrase generator with the option to restrict the number of syllables per word.
Results in the following output:
English is weird! Admittedly, I had to look up the pronunciation for a number of these.