Wrong syllable analysis for "silence" and "silent"
See original GitHub issueWhen using the compromise-syllables
plugin, it counts the amount of syllables in the word “silent” as 1, which is incorrect:
import compromise from 'compromise';
import syllables from 'compromise-syllables';
const nlp = compromise.extend(syllables);
const word = 'silent';
console.log(nlp(word).terms().syllables()[0].syllables);
// ['silent']
// should be: ['si', 'lent']
The same is true for silence
(['silen', 'ce']
), silenced
([ 'silen', 'ced' ]
) and other similar words.
I suspect there are other words affected by this.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Words YOU'RE saying wrong (probably) - Silent Syllables in ...
In this English pronunciation lesson I'm going to show you 5 words which are very commonly pronounced wrongly by English students because ...
Read more >Silence as a cue to the perception of syllable-initial and ...
The purpose of the present study was to assess directly the duration of silence necessary for the identification of syllable-final and syllable-initial stops...
Read more >The sounds of Silence
The voicing sound is now amplified at the resonant frequencies ofthe nose and of the part of the mouth behind the blockage. Releasing...
Read more >Elie Wiesel's profound and paradoxical language of silence.
Sibelman directs us to ways Wiesel uses silence as a literary technique, like a musician building a melody as much on rests as...
Read more >Silent Syllables | Ginseng English | Learn English
This sounds confusing, but don't worry! If you leave the syllable silent, it will never be wrong! *Note: Deleting syllables is a ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i mean, the best would be if it could be configured somehow, for different dialects. Having a configurable way to specify syllable pronunciation - that would be so fun to play with. the compromise tokenizer lends itself really well to this - and I think a low-data solution for the browser could become really popular, for a lot of uses.
thank you @axaysushir - go crazy! you’ll find the very-weak syllable function here - it would be really fun to make this good.
so my understanding is that a proper syllable function will first do pronounciation step - which you can see a early implementation of here - combining these somehow would be really fun, and have a lot of applications.
happy to help-out, in any way, cheers