You are here

constant PORTERSTEMMER_NOT_VOWEL in Porter-Stemmer 7

Same name and namespace in other branches
  1. 6.2 porterstemmer.module \PORTERSTEMMER_NOT_VOWEL

Regular expression defining not-a-vowel for Porter Stemmer.

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

File

includes/standard-stemmer.inc, line 19
This is an implementation of the Porter 2 Stemming algorithm.

Code

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