apertium / apertium-swe-dan Goto Github PK
View Code? Open in Web Editor NEWApertium translation pair for Swedish and Danish
License: GNU General Public License v2.0
Apertium translation pair for Swedish and Danish
License: GNU General Public License v2.0
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.