Index: branches/apertium-separable/testing/test.cc =================================================================== --- branches/apertium-separable/testing/test.cc (nonexistent) +++ branches/apertium-separable/testing/test.cc (revision 80142) @@ -0,0 +1,33 @@ +#include +#include +#include + +#include +#include +#include + +using namespace std; + +FSTProcessor fstp; + +int main(int argc, char **argv) +{ + if(argc < 2) { + wcout << L"Please specify a transducer" << endl; + exit(-1); + } + + LtLocale::tryToSetLocale(); + FILE *t_rl = fopen(argv[1], "r"); + + fstp.load(t_rl); + fclose(t_rl); + fstp.initBiltrans(); + + wstring input = L"^car$"; + wstring trad = fstp.biltrans(input); + + wcout << input << L" --> " << trad << endl; + + return 0; +} \ No newline at end of file Index: branches/apertium-separable/testing/test.dix =================================================================== --- branches/apertium-separable/testing/test.dix (nonexistent) +++ branches/apertium-separable/testing/test.dix (revision 80142) @@ -0,0 +1,10 @@ + + + + + + +
+

carscar

+
+
\ No newline at end of file