Code Monkey home page Code Monkey logo

apertium-spa-ast's Introduction

Asturian and Spanish (apertium-spa-ast)

This is an Apertium language pair for translating between Asturian and Spanish. What you can use this language package for:

  • Translating between Asturian and Spanish
  • Morphological analysis of Asturian and Spanish
  • Part-of-speech tagging of Asturian and Spanish

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

Requirements

You will need the following software installed:

  • lttoolbox (>= 3.1.2)
  • apertium (>= 3.1.1)
  • vspacg3 (>= 0.9.7.5129)

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

You can use ./autogen.sh instead of ./configure you're compiling from git. If you're using a --prefix to ./configure, make sure it's the same one you used to install apertium itself.

Testing

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

$ echo "Esto es una prueba" | apertium -d . spa-ast
Esto ye una prueba

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

$ echo "Esto es una prueba" | apertium spa-ast
Esto ye una prueba

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

$ ./regression-tests.sh 

Files and data

  • apertium-spa-ast.ast.dix - Monolingual dictionary for Asturian
  • apertium-spa-ast.post-ast.dix - Postgeneration dictionary for Asturian
  • apertium-spa-ast.spa-ast.dix - Bilingual dictionary
  • apertium-spa-ast.bul.dix - Monolingual dictionary for Spanish
  • apertium-spa-ast.post-bul.dix - Postgeneration dictionary for Spanish
  • apertium-spa-ast.spa-ast.t1x - Chunker rules for translating into Spanish
  • apertium-spa-ast.ast-spa.t1x - Chunker rules for translating into Asturian
  • spa-ast.prob - Tagger model for Asturian
  • ast-spa.prob - Tagger model for Spanish
  • 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.

apertium-spa-ast's People

Contributors

bentley avatar ftyers avatar jimregan avatar mr-martian avatar nordfalk avatar sushain97 avatar tinodidriksen avatar unhammer avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apertium-spa-ast's Issues

Install fails to find ast-spa.mode

make install error:
/usr/bin/install -c -m 644 ast-spa.mode /build/apertium-es-ast-1.1.0+g216~5417dd36/debian/apertium-es-ast/usr/share/apertium/modes/
/usr/bin/install: cannot stat 'ast-spa.mode': No such file or directory

Migrate to using monolingual packages

This pair currently embeds the following monolingual information:

  • apertium-spa-ast.ast.dix
  • apertium-spa-ast.spa.dix
  • apertium-spa-ast.ast.acx
  • apertium-spa-ast.spa.acx
  • apertium-spa-ast.post-ast.dix
  • apertium-spa-ast.post-spa.dix
  • ast-spa.prob
  • spa-ast.prob

These files should be imported from apertium-spa and apertium-ast. 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.