function porterstemmer_help in Porter-Stemmer 6.2
Same name and namespace in other branches
- 8 porterstemmer.module \porterstemmer_help()
- 5 porterstemmer.module \porterstemmer_help()
- 6 porterstemmer.module \porterstemmer_help()
- 7 porterstemmer.module \porterstemmer_help()
Implements hook_help().
File
- ./
porterstemmer.module, line 51 - 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
function porterstemmer_help($path, $arg) {
switch ($path) {
case 'admin/help#porterstemmer':
$output = '';
$output .= '<p>' . t('The Porter Stemmer module implements version 2 of the <a href="@algorithm">Porter Stemmer algorithm</a>, to improve American English-language searching with the core <a href="@search-help">Search module</a>. Stemming reduces a word to its basic root or stem (e.g. "blogging" to "blog") so that variations on a word ("blogs", "blogged", "blogging", "blog") are considered equivalent when searching. This generally results in more relevant results.', array(
'@search-help' => url('admin/help/search'),
'@algorithm' => 'http://snowball.tartarus.org/algorithms/english/stemmer.html',
)) . '</p>';
return $output;
}
}