Thanks Robert for your up-to-date guide :-) I've added some comments inline.
robert <[email protected]> čálii: [...] > # Pick one: > # Release, stable: > wget https://apertium.projectjj.com/apt/install-release.sh -O - | sudo > bash > # Nightly, unstable: > wget https://apertium.projectjj.com/apt/install-nightly.sh -O - | sudo > bash > </pre> If you're going to be developing, I'd say pick nightly. The -release versions of lttoolbox and apertium might not be up-to-date with what apertium-init expects. > ./apertium-get -h ^ that command is for retrieving *existing* language pairs and monolingual data, e.g. if you want to add words to eng-kaz or whatnot. > You can regenerate the build at any time. For example, if you have > developed and wish to install, but to a directory you have only now > discovered, re-configure with the two other languages, plus the new > <code>--prefix</code> for installation, If you're doing language pair development, you should not ever have to type "make install" (and thus --prefix isn't necessary either). Similarly, "sudo" command is only necessary when doing "apt install" or running the install-nightly.sh script. Don't use it when developing. [...] > == 6. Repeating the build > All you need, when changes are made, is > > <pre> > make langs > </pre> > > in the bilingual dictionary. That is ALL. A stroke of Apertium genius. > Eternal thanks to whoever conceived and coded this. > > > == 7. How do I use it? > I would say, ignore all the tools, ignore all the instructions you find > on the Wiki. Use a mode directly from the commandline, and start doing > what you want to do, work on languages. > > Using a terminal, navigate into the folder, then, > > echo 'This is a test sentence.' | apertium -d . xxx-yyy > > > Wnat is happening at the first chunker stage? > > echo 'This is a test sentence.' | apertium -d . xxx-yyy-chunker PROTIP: You can get tab-completion on modes names (and the --with-lang arguments to autogen.sh) by adding http://wiki.apertium.org/wiki/Bash_completion
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
