You are here

constant PORTERSTEMMER_NOT_VOWEL in Porter-Stemmer 6.2

Same name and namespace in other branches
  1. 7 includes/standard-stemmer.inc \PORTERSTEMMER_NOT_VOWEL

Regular expression defining not a vowel for Porter Stemmer.

4 uses of PORTERSTEMMER_NOT_VOWEL
porterstemmer_prestemming in ./porterstemmer.module
Pre-processes a word for the Porter Stemmer 2 algorithm.
porterstemmer_short_word in ./porterstemmer.module
Checks to see if a word is considered "short" in Porter Stemmer 2.
porterstemmer_step1c in ./porterstemmer.module
Step 1c of algorithm: y suffixes
porterstemmer_step5 in ./porterstemmer.module
Step 5 of algorithm: e, l endings in region R1/R2.

File

./porterstemmer.module, line 146
This is an implementation of the Porter 2 Stemming algorithm from http://snowball.tartarus.org/algorithms/english/stemmer.html by Jennifer Hodgdon of Poplar ProductivityWare, www.poplarware.com

Code

define('PORTERSTEMMER_NOT_VOWEL', '[^aeiouy]');