PLearn 0.1
|
#include "WordNetSenseDictionary.h"
#include <plearn/base/stringutils.h>
#include <plearn/base/lexical_cast.h>
Go to the source code of this file.
Namespaces | |
namespace | PLearn |
< for swap | |
Functions | |
char * | PLearn::cstr (string &str) |
Takes a string and returns a char array of that string. | |
string | PLearn::getSynsetKey (SynsetPtr ssp) |
Returns a synset key from a SynsetPtr. | |
SynsetPtr | PLearn::getSynsetPtr (string synset_key) |
Returns a SynsetPtr from a synset key. | |
void | PLearn::extractSenses (string word, int wn_pos, string symbol_type, TVec< string > &senses, TVec< int > &tagcnts, TVec< TVec< string > > &ancestors, bool extract_ancestors=false) |
Extract senses for a word and a certain POS tag, as a certain symbol type. | |
void | PLearn::extractAncestors (TVec< SynsetPtr > anc, TVec< TVec< string > > &anc_str, string root_node=WN_ROOT_NODE) |
Extracts synset. | |
string | PLearn::stemWord (string word) |
Stems a word. | |
string | PLearn::stemWord (string word, int wn_pos) |
Stems a word, according to a POS. | |
void | PLearn::stemsOfWord (string word, int wn_pos, TVec< string > &stems) |
Lists the possible stemmed variation of a word. | |
void | PLearn::stemsOfWord (string word, TVec< string > &stems) |
Lists the possible stemmed variation of a word using its POS. |
Definition in file WordNetSenseDictionary.cc.