Giter VIP home page Giter VIP logo

kodenshacho / apertium Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apertium/apertium

0.0 0.0 0.0 2.21 MB

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

Home Page: https://www.apertium.org/

License: GNU General Public License v2.0

Makefile 1.25% M4 1.06% C++ 49.10% Roff 3.28% Shell 1.71% Lex 0.92% XSLT 2.58% C 14.36% CMake 0.42% Python 3.41% XML 21.65% SWIG 0.26%

apertium's Introduction

Apertium

Requirements

  • This package needs the package lttoolbox-3.5 installed in the system, as well as libxml and libpcre.

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

Description

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

  • apertium-deshtml, apertium-desrtf, apertium-destxt Deformatters for html, rtf and txt document formats.
  • apertium-rehtml, apertium-rertf, apertium-retxt Reformatters for html, rtf and txt document formats.
  • apertium Translator program. Execute without parameters to see the usage.

Quick Start

There are binaries available for Debian, Ubuntu, Fedora, CentOS, OpenSUSE, Windows, and macOS. We package both nightly builds and releases. See https://wiki.apertium.org/wiki/Installation for more information. Only build from source if you either want to change this tool's behavior, or are on a platform we don't yet package for.

  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
  1. Unpack apertium and do:
   $ cd apertium-VERSION
   $ ./configure
   $ make
   # make install
  1. Unpack linguistic data (LING_DATA_DIR) and do:
   $ cd LING_DATA_DIR
   $ ./configure
   $ make
   and wait for a while (minutes).
  1. Use the translator
   USAGE: 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)


   Sample:

   $ apertium -f txt es-ca <input >output

apertium's People

Contributors

tradumatica avatar unhammer avatar jimregan avatar ftyers avatar tinodidriksen avatar frankier avatar mr-martian avatar khannatanmai avatar nordfalk avatar pminervini avatar xavivars avatar sanmarf avatar kartikm avatar singh-lokendra avatar bechapertium avatar roybaer avatar snomos avatar azmfaridee avatar krvoje avatar sushain97 avatar techievena avatar sortiz avatar flammie avatar aboelhamd avatar pranavad avatar marcriera avatar jonorthwash avatar jmoratinos avatar ilnarselimcan avatar elephantgcc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.