Install quick tests
More convincing if you have a language pair on the computer somewhere :)
If you only compiled Apertium core
One way to test you have something, immediately, it to try invoke a tool. Without language data you can't see a translation, but you can see the help. Try,
lt-proc
You should see the help files?
If you downloaded and compiled a language pair
You downloaded and compiled language data, but did not install.
Go into the bilingual dictionary and try,
echo 'This is a test sentence.' | apertium -d . xxx-yyy
e.g.
echo 'This is a test sentence' | apertium -d . eo-en
The -d .
means "use the language data in this directory".
If you installed a language pair by packaging, or manual install
You may have done this as a quick test for a compiled core. Or because you do not want to develop, only use the language data. Or you used packaging, and installed, as a test, a pair.
echo 'This is a test sentence' | apertium xxx-yyy
e.g.
echo 'This is a test sentence' | apertium eo-en
This command does not need to use the -d
switch. The language pair is installed, so Apertium can find it, whatever directory you're in.