Code Monkey home page Code Monkey logo

apertium-swe-dan's Introduction

Swedish and Danish

                            apertium-swe-dan
===============================================================================

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

* Translating between Swedish and Danish
* Morphological analysis of Swedish and Danish
* Part-of-speech tagging of Swedish and Danish

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)

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 "Dörren skall öppnas" | apertium -d . sv-da
Døren skal åbnes

$ echo "Døren skal åbnes" | apertium -d . da-sv
Dörren skall öppnas

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

$  echo "Dörren skall öppnas" | apertium sv-da
Døren skal åbnes




If you change anything you should check your changes agains the test corpas.
This command downloads the test corpas:

$ curl "http://apertium.svn.sourceforge.net/viewvc/apertium/trunk/apertium-sv-da/corpa.tar.gz?view=tar&pathrev=21802" | tar -xzvf-

Thereafter, run
$ ./testcorpus_sv-da.sh 
and
$ ./testcorpus_da-sv.sh 



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

$ ./regression-tests.sh 

These test are not mainained anymore.




Files and data
===============================================================================

* apertium-swe-dan.swe-dan.dix  - Bilingual dictionary
* apertium-swe-dan.swe-dan.t1x  - Chunking rules for translating into Swedish
* apertium-swe-dan.dan-swe.t1x  - Chunking rules for translating into Danish
* apertium-swe-dan.swe-dan.t2x  - Chunking rules for translating into Swedish
* apertium-swe-dan.dan-swe.t2x  - Chunking rules for translating into Danish
* apertium-swe-dan.swe-dan.t3x  - Chunking rules for translating into Swedish
* apertium-swe-dan.dan-swe.t3x  - Chunking rules for translating into Danish
* apertium-swe-dan.swe-dan.rlx  - Lexical selection rules for translating into Swedish
* apertium-swe-dan.dan-swe.rlx  - Lexical selection rules for translating into Danish
* modes.xml                     - Translation modes

For more information
===============================================================================

* https://wiki.apertium.org/wiki/Installation
* https://wiki.apertium.org/wiki/apertium-swe-dan
* https://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary

Help and support
===============================================================================

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

* Mailing list: [email protected]
* IRC: #apertium on irc.oftc.net

See also the file AUTHORS included in this distribution.

apertium-swe-dan's People

Contributors

ftyers avatar havet avatar mr-martian avatar sushain97 avatar tinodidriksen avatar unhammer avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

unuaiga-congres

apertium-swe-dan's Issues

apertium-swe-dan doesn't check for lrx-comp

checking for APERTIUM... yes
checking for LTTOOLBOX... yes
checking for cg-comp... /usr/local/bin/cg-comp
checking for cg-proc... /usr/local/bin/cg-proc
checking for APERTIUM_SWE... yes
checking for APERTIUM_DAN... yes
...
lrx-comp apertium-swe-dan.swe-dan.lrx swe-dan.autolex.bin
gmake: lrx-comp: Command not found
gmake: *** [Makefile:789: swe-dan.autolex.bin] Error 127

After installing apertium-lex-tools, the build completes fine.

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.