Lemmatizer.
More...
#include <Lemmatizer.hpp>
|
void | lemmatize (std::string &token, const std::string &dictionary) |
| Lemmatizes a token. More...
|
|
|
void | clear () |
| Clears the lemmatizer, freeing the memory used by all dictionaries. More...
|
|
◆ clear()
void crawlservpp::Data::Lemmatizer::clear |
( |
| ) |
|
|
inline |
◆ lemmatize()
void crawlservpp::Data::Lemmatizer::lemmatize |
( |
std::string & |
token, |
|
|
const std::string & |
dictionary |
|
) |
| |
|
inline |
Lemmatizes a token.
- Parameters
-
token | Reference to a string containing the token to be lemmazized. |
dictionary | View of a string containing the name of the dictionary to be used for lemmatizing the token. |
The documentation for this class was generated from the following file: