Demo Convert to PrefixTreeLL and check it. More...
#include "string.h"
#include <iostream>
#include "../PrefixTreeLL.h"
Functions | |
template<class Dict > | |
int | check (Dict *dt, const char *filename) |
int | main (int argc, char **argv) |
Demo Convert to PrefixTreeLL and check it.
Probably you want to run script test.sh which do all the tests.
After compiling you can check with this program if PrefixTree works correctly.
Run this program with the name of file with a list of words as an argument.
File must be compatible with PrefixTreeLL::build.
You can try run PrepareWordList.sh to correct your dictionary.