Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IlnarSelimcan/0c65cc0f49fffea1b99314905de108a2 to your computer and use it in GitHub Desktop.
Save IlnarSelimcan/0c65cc0f49fffea1b99314905de108a2 to your computer and use it in GitHub Desktop.
selimcan@patroclus:~/src/apertium/incubator/apertium-tat-eng$ echo "социалистир" | hfst-ospell -S ../../languages/apertium-tat/tat.zhfst
"социалистир" is NOT in the lexicon:
Corrections for "социалистир":
социалистик 1.000000
selimcan@patroclus:~/src/apertium/incubator/apertium-tat-eng$ echo "социалистир" | hfst-ospell -S tat-eng.zhfst
"социалистир" is NOT in the lexicon:
Unable to correct "социалистир"!
selimcan@patroclus:~/src/apertium/incubator/apertium-tat-eng$ echo "гйынвар" | hfst-ospell -S tat-eng.zhfst
"гйынвар" is NOT in the lexicon:
Corrections for "гйынвар":
гыйнвар 1.000000
гыйнвары 2.000000
selimcan@patroclus:~/src/apertium/incubator/apertium-tat-eng$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment