Demo Check PrefixGraph. More...
#include "string.h"
#include <iostream>
#include "../PrefixTreeLL.h"
#include "../PrefixGraph.h"
Functions | |
template<class Dict > | |
int | check (Dict *dt, const char *filename) |
int | main (int argc, char **argv) |
Demo Check PrefixGraph.
Probably you want to run script test.sh which do all the tests.
Program checks if PrefixGraph contains a list of words.
Run this program with the name of PrefixGraph file as the first argument and the name of file with a list of words as the second.
First you should create PrefixGraph file by using program convert from this directory