removePrefix(word) { const syllables = this.countSyllables(word); if (syllables < 3) { return word; } for (let i = 0; i < StemmerTl.prefixes.length; i += 1) { const prefix = StemmerTl.prefixes[i]; if ( this.hasPrefix(word, prefix) && syllables - this.countSyllables(prefix) > 1 ) { return word.replace(prefix, '').replace(/^-/, ''); } } return word; }