ZGen  0.2.0
a linearization system for natural language.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
ZGen::Knowledge::PostagConstrain Class Reference

#include <postag_constrain.h>

Public Member Functions

 PostagConstrain (const char *postag_dict_path)
 
void get_possible_tags (const char *word, std::vector< postag_t > &possible_tags) const
 
void get_possible_tags (const word_t word, std::vector< postag_t > &possible_tags) const
 

Constructor & Destructor Documentation

ZGen::Knowledge::PostagConstrain::PostagConstrain ( const char *  postag_dict_path)

Member Function Documentation

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]wordThe word string.
[out]possible_tagsThe 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]wordThe word string.
[out]possible_tagsThe possible tags.

The documentation for this class was generated from the following files: