| 1 |
<?php |
<?php |
| 2 |
// $Id: porterstemmer.test,v 1.1.2.2 2009/10/14 19:00:04 jhodgdon Exp $ |
// $Id: porterstemmer.test,v 1.1.2.3 2009/10/21 23:39:54 jhodgdon Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 31 |
// See if the PECL stemming library is installed |
// See if the PECL stemming library is installed |
| 32 |
|
|
| 33 |
$this->has_pecl_stem = FALSE; |
$this->has_pecl_stem = FALSE; |
| 34 |
|
|
| 35 |
if (extension_loaded( 'stem')) { |
if (extension_loaded( 'stem')) { |
| 36 |
$this->has_pecl_stem = TRUE; |
$this->has_pecl_stem = TRUE; |
| 37 |
} |
} |
| 43 |
} |
} |
| 44 |
} |
} |
| 45 |
|
|
| 46 |
$this->has_pecl_stem = $this->has_pecl_stem && |
$this->has_pecl_stem = $this->has_pecl_stem && |
| 47 |
function_exists('stem_english'); |
function_exists('stem_english'); |
| 48 |
|
|
| 49 |
} |
} |