#include <postag_constrain.h>
ZGen::Knowledge::PostagConstrain::PostagConstrain |
( |
const char * |
postag_dict_path | ) |
|
void ZGen::Knowledge::PostagConstrain::get_possible_tags |
( |
const char * |
word, |
|
|
std::vector< postag_t > & |
possible_tags |
|
) |
| const |
Given a word in string, get it's possible tags.
- Parameters
-
[in] | word | The word string. |
[out] | possible_tags | The possible tags. |
void ZGen::Knowledge::PostagConstrain::get_possible_tags |
( |
const word_t |
word, |
|
|
std::vector< postag_t > & |
possible_tags |
|
) |
| const |
Given a word in word_t, get it's possible tags.
- Parameters
-
[in] | word | The word string. |
[out] | possible_tags | The possible tags. |
The documentation for this class was generated from the following files: