apertium/apertium

Name: apertium

Owner: Apertium

Description: Core tools (driver script, transfer, tagger, formatters) for the FOSS RBMT system Apertium

Created: 2018-03-08 03:36:50.0

Updated: 2018-05-06 20:45:25.0

Pushed: 2018-05-06 20:45:23.0

Homepage: https://www.apertium.org/

Size: 1073

Language: C++

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Apertium

Requirements

See http://www.apertium.org and http://wiki.apertium.org for more information on installing.

Description

When building, this package generates, among others, the following modules:

Quick Start

1) Download the packages for lttoolbox-VERSION.tar.gz and apertium-VERSION.tar.gz and linguistic data

Note: If you are using the translator from GitHub, run ./autogen.sh before

     running `./configure` in all cases.

2) Unpack lttoolbox and do ('#' means 'do that with root privileges'):

 cd lttoolbox-VERSION
 ./configure
 make
 make install

3) Unpack apertium and do:

 cd apertium-VERSION
 ./configure
 make
 make install

4) Unpack linguistic data (LING_DATA_DIR) and do:

 cd LING_DATA_DIR
 ./configure
 make
nd wait for a while (minutes).

5) Use the translator

SAGE: apertium [-d datadir] [-f format] [-u] <direction> [in [out]]
-d datadir       directory of linguistic data
-f format        one of: txt (default), html, rtf, odt, docx, wxml, xlsx, pptx,
                 xpresstag, html-noent, latex, latex-raw
-a               display ambiguity
-u               don't display marks '*' for unknown words
-n               don't insert period before possible sentence-ends
-m memory.tmx    use a translation memory to recycle translations
-o direction     translation direction using the translation memory,
                 by default 'direction' is used instead
-l               lists the available translation directions and exits
direction        typically, LANG1-LANG2, but see modes.xml in language data
in               input file (stdin by default)
out              output file (stdout by default)


ample:

 apertium -f txt es-ca <input >output

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.