You are here

constant PORTERSTEMMER_BOUNDARY in Porter-Stemmer 6.2

Same name and namespace in other branches
  1. 8 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
Implementation of hook_search_preprocess().

File

./porterstemmer.module, line 168
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_BOUNDARY', "[^a-zA-Z']+");