Shhh.. dont know what i did
[vspell.git] / dictionary-test.cpp
blob52e415952e5210816edfcee9f9f25b494b5db18b
1 #include "dictionary.h"
2 #include <iostream>
3 #include <string>
5 using namespace std;
7 int main()
9 Dictionary::initialize();
11 cerr << "Loading... ";
12 Dictionary::get_root()->load("wordlist.wl");
13 cerr << "done" << endl;
15 string str;
16 while (cin >> str) {
17 cout << str << " -> " << Dictionary::is_syllable_exist(str) << endl;
19 return 0;