Tanl Linguistic Pipeline |
This class loads the morphtable (words with possible tags) from a file to a map. More...
#include <MorphTable.h>
Public Member Functions | |
Morphtable (char const *file) | |
const std::vector< std::string > | tags (std::string &word) |
Lookup word word in the table. |
This class loads the morphtable (words with possible tags) from a file to a map.
The file contains one word per line in the following format: word TAB tag1 TAB tag2 ...