Added .gitignore
[vspell.git] / tests / syllable-test.cpp
blobf104db4c3027a42952d497fb48aa400786a6c448
1 #include <iostream>
2 #include <string>
3 #include "dictionary.h"
4 #include "syllable.h"
6 using namespace std;
8 bool syllable_init();
9 int main()
11 Syllable i;
12 string str;
14 syllable_init();
16 while (cin >> str) {
17 cout << i.parse(str.c_str()) << ": ";
18 cout << i << " " << i.to_str() << endl;
20 return 0;