Open
Description
FOG index is also applicable for Polish language. The main difference is that in Polish, difficult words are usually 4-syllable and longer.
I suggest to add lang
parameter to gunning_fog
function. It will be passed to syllable_count
and also used to select size od syllable_threshold
.
Source:
https://pl.wikipedia.org/wiki/Indeks_czytelno%C5%9Bci_FOG (pl)
https://translate.google.com/translate?sl=pl&tl=en&u=https%3A%2F%2Fpl.wikipedia.org%2Fwiki%2FIndeks_czytelno%25C5%259Bci_FOG (en)
Unfortunatelly all sources about that are in Polish.