You are here

constant PORTERSTEMMER_BOUNDARY in Porter-Stemmer 7

Same name and namespace in other branches
  1. 8 porterstemmer.module \PORTERSTEMMER_BOUNDARY
  2. 6.2 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
Porter 2 Stemming for Drupal.

Code

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