You are here

constant PORTERSTEMMER_BOUNDARY in Porter-Stemmer 8

Same name and namespace in other branches
  1. 6.2 porterstemmer.module \PORTERSTEMMER_BOUNDARY
  2. 7 porterstemmer.module \PORTERSTEMMER_BOUNDARY

Regular expression defining a word boundary for Porter Stemmer.

A word boundary is anything not a letter or an apostrophe.

1 use of PORTERSTEMMER_BOUNDARY
porterstemmer_search_preprocess in ./porterstemmer.module
Implements hook_search_preprocess().

File

./porterstemmer.module, line 16
Contains porterstemmer.module.

Code

define('PORTERSTEMMER_BOUNDARY', "[^a-zA-Z']+");