You are here

constant PORTERSTEMMER_NOT_VOWEL_WXY in Porter-Stemmer 7

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

Regular expression defining not a vowel, w, x, or Y for Porter Stemmer.

2 uses of PORTERSTEMMER_NOT_VOWEL_WXY
porterstemmer_short_word in includes/standard-stemmer.inc
Checks to see if a word is considered "short" in Porter Stemmer 2.
porterstemmer_step5 in includes/standard-stemmer.inc
Step 5 of algorithm: e, l endings in region R1/R2.

File

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

Code

define('PORTERSTEMMER_NOT_VOWEL_WXY', '[^aeiouywxY]');