|
JASSv2
|
Baseclass for stemming algorithms. More...
#include <stem.h>

Public Member Functions | |
| stem () | |
| Constructor. | |
| virtual | ~stem () |
| Destructor. | |
| virtual std::string | name (void)=0 |
| Return the name of the stemming algorithm. More... | |
| virtual size_t | tostem (char *destination, const char *source, size_t source_length)=0 |
| Stem from source into destination. More... | |
| virtual size_t | tostem (parser::token &destination, const parser::token &source) |
| Stem from term into destination. More... | |
Static Public Member Functions | |
| static void | unittest (void) |
| Unit test this class. | |
Baseclass for stemming algorithms.
|
pure virtual |
Return the name of the stemming algorithm.
Implemented in JASS::stem_porter.
|
pure virtual |
Stem from source into destination.
| destination | [out] the result of the steming process (the stem) |
| source | [in] the term to stem |
| source_length | [in] the length of the string to stem |
Implemented in JASS::stem_porter.
|
inlinevirtual |
Stem from term into destination.
| destination | [out] the result of the steming process (the stem). |
| source | [in] the term to stem |
source and destination can be the same.
1.8.13