wordnet-blast
wordnet-blast copied to clipboard
error: ‘pos_t’ is not a class or namespace
p.cpp
#include "wnb/core/wordnet.hh" #include "wnb/nltk_similarity.hh"
using namespace std; using namespace wnb;
int main() { wordnet wn = wordnet("/usr/bin/", true);
vector
nltk_similarity similarity(wn); float d = similarity(synsets1[0], synsets2[0], 6);
}
Output
user@cclab-OptiPlex-5055-Ryzen-CPU:~$ gcc p.cpp
In file included from p.cpp:1:0:
wnb/core/wordnet.hh:89:74: error: ‘pos_t’ is not a class or namespace
std::vector