Giter VIP home page Giter VIP logo

apertium-cat-ita's Introduction

Catalan and Italian: apertium-cat-ita

This is an Apertium language pair for translating between Italian to Catalan. What you can use this language package for:

  • Translating between Catalan and Italian
  • Morphological analysis of Catalan and Italian
  • Part-of-speech tagging of Catalan and Italian

For information on the latter two points, see subheading "For more information" below

Requirements

You will need the following software installed:

  • lttoolbox (>= 3.3.0)
  • apertium (>= 3.3.0)
  • vislcg3 (>= 0.9.9.10297)
  • apertium-cat
  • apertium-ita

If this does not make any sense, we recommend you look at: apertium.org

Compiling

Given the requirements being installed, you should be able to just run:

$ ./configure 
$ make
# make install

You can use ./autogen.sh instead of ./configure you're compiling from SVN. If you installed any prerequisite language packages using a --prefix to ./configure, make sure to give the same --prefix to ./configure here.

Testing

If you are in the source directory after running make, the following commands should work:

$  echo "Apertium è una piattaforma di traduzione automatica libera e aperta." | apertium -d . ita-cat
Apertium és una plataforma de traducció automàtica lliure i oberta.

$  echo "Apertium és una plataforma de traducció automàtica lliure i oberta." | apertium -d . cat-ita
Apertium è una piattaforma di traduzione automatica libera e aperta.

After installing somewhere in $PATH, you should be able to do eg.

$ echo "Apertium è una piattaforma di traduzione automatica libera e aperta." | apertium ita-cat
Apertium és una plataforma de traducció automàtica lliure i oberta.

$  echo "Apertium és una plataforma de traducció automàtica lliure i oberta." | apertium cat-ita
Apertium è una piattaforma di traduzione automatica libera e aperta.

The following command runs tests which are on the Apertium wiki page:

$ ./pending-tests.sh 

Files and data

  • apertium-cat-ita.cat-ita.dix - Bilingual dictionary
  • apertium-cat-ita.cat-ita.t1x - Chunking rules for translating into Italian
  • apertium-cat-ita.ita-cat.t1x - Chunking rules for translating into Catalan
  • apertium-cat-ita.cat-ita.t2x - Interchunk rules for translating into Italian
  • apertium-cat-ita.ita-cat.t2x - Interchunk rules for translating into Catalan
  • apertium-cat-ita.cat-ita.t3x - Postchunk rules for translating into Italian
  • apertium-cat-ita.ita-cat.t3x - Postchunk rules for translating into Catalan
  • apertium-cat-ita.cat-ita.metalrx - Lexical selection rules for translating into Italian
  • apertium-cat-ita.ita-cat.metalrx - Lexical selection rules for translating into Catalan
  • modes.xml - Translation modes

For more information

Help and support

If you need help using this language pair or data, you can contact:

See also the file AUTHORS included in this distribution.

Publications

Antonio Toral, Mireia Ginestí-Rosell, Francis Tyers (2011) "An Italian to Catalan RBMT system reusing data from existing language pairs". Second International Workshop on Free/Open-Source Rule-Based Machine Translation (Barcelona)

apertium-cat-ita's People

Contributors

bentley avatar c-armentano avatar ftyers avatar hectoralos avatar jimregan avatar marcriera avatar mr-martian avatar sushain97 avatar tinodidriksen avatar trondtr avatar unhammer avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apertium-cat-ita's Issues

compilation error Undefined attr-item sl_nbr

cp /Users/username/apertium/share/apertium/apertium-ita/ita.autopgen.bin cat-ita.autopgen.bin
apertium-validate-transfer apertium-cat-ita.cat-ita.t1x
apertium-preprocess-transfer apertium-cat-ita.cat-ita.t1x cat-ita.t1x.bin
apertium-validate-interchunk apertium-cat-ita.cat-ita.t2x
apertium-preprocess-transfer apertium-cat-ita.cat-ita.t2x cat-ita.t2x.bin
Error at line 541, column 16: Undefined attr-item sl_nbr.
make: *** [cat-ita.t2x.bin] Error 1

Move to three letter ISO codes

This pair should be moved to three letter ISO codes. The name should probably be apertium-cat-ita.

The following files (at minimum) will need to be checked:

  • Makefile.am
  • configure.ac
  • modes.xml
  • README

The pair should also be checked to see if it can be adapted to work with monolingual language packages in languages/

Migrate to using monolingual packages

This pair currently embeds monolingual information.

These files should be imported from apertium-cat and apertium-ita. After doing this, testvoc will need to be done. It is recommended to do this on a branch and then merge to master after it is finished and the testvoc results as as good or better.

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.