mirror of https://git.wownero.com/dsc/mxe.git
Cleanup files
This commit is contained in:
parent
c2352afea1
commit
872b4c4eb1
|
@ -17,7 +17,7 @@ int main(int argc, char *argv[])
|
|||
dic.close();
|
||||
std::ofstream aff ("hunspell-test.aff");
|
||||
aff << "SET UTF-8\nTRY loredWH\nMAXDIFF 1";
|
||||
aff.close();
|
||||
aff.close();
|
||||
Hunspell h("hunspell-test.aff", "hunspell-test.dic");
|
||||
|
||||
if (h.spell("Hello") == 0)
|
||||
|
@ -28,10 +28,10 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
std::cerr << "Error: hunspell marked wrong word as correct" << std::endl;
|
||||
}
|
||||
|
||||
|
||||
char ** result;
|
||||
int n = h.suggest(&result, "ell");
|
||||
for (int i = 0; i < n; i++) std::cout << result[i];
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue