Debian Codegraph @

README

raw
1 Swedish and Danish
2
3 apertium-swe-dan
4 ===============================================================================
5
6 This is an Apertium language pair for translating between Swedish and
7 Danish. What you can use this language package for:
8
9 * Translating between Swedish and Danish
10 * Morphological analysis of Swedish and Danish
11 * Part-of-speech tagging of Swedish and Danish
12
13 For information on the latter two points, see subheading "For more
14 information" below
15
16 Requirements
17 ===============================================================================
18
19 You will need the following software installed:
20
21 * lttoolbox (>= 3.3.0)
22 * apertium (>= 3.3.0)
23 * vislcg3 (>= 0.9.9.10297)
24
25 If this does not make any sense, we recommend you look at: www.apertium.org
26
27 Compiling
28 ===============================================================================
29
30 Given the requirements being installed, you should be able to just run:
31
32 $ ./configure
33 $ make
34 # make install
35
36 You can use ./autogen.sh instead of ./configure you're compiling from
37 SVN. If you installed any prerequisite language packages using a --prefix
38 to ./configure, make sure to give the same --prefix to ./configure here.
39
40 Testing
41 ===============================================================================
42
43 If you are in the source directory after running make, the following
44 commands should work:
45
46 $ echo "Dörren skall öppnas" | apertium -d . sv-da
47 Døren skal åbnes
48
49 $ echo "Døren skal åbnes" | apertium -d . da-sv
50 Dörren skall öppnas
51
52 After installing somewhere in $PATH, you should be able to do e.g.
53
54 $ echo "Dörren skall öppnas" | apertium sv-da
55 Døren skal åbnes
56
57
58
59
60 If you change anything you should check your changes agains the test corpas.
61 This command downloads the test corpas:
62
63 $ curl "http://apertium.svn.sourceforge.net/viewvc/apertium/trunk/apertium-sv-da/corpa.tar.gz?view=tar&pathrev=21802" | tar -xzvf-
64
65 Thereafter, run
66 $ ./testcorpus_sv-da.sh
67 and
68 $ ./testcorpus_da-sv.sh
69
70
71
72 The following command runs tests which are on the Apertium wiki page:
73
74 $ ./regression-tests.sh
75
76 These test are not mainained anymore.
77
78
79
80
81 Files and data
82 ===============================================================================
83
84 * apertium-swe-dan.swe-dan.dix - Bilingual dictionary
85 * apertium-swe-dan.swe-dan.t1x - Chunking rules for translating into Swedish
86 * apertium-swe-dan.dan-swe.t1x - Chunking rules for translating into Danish
87 * apertium-swe-dan.swe-dan.t2x - Chunking rules for translating into Swedish
88 * apertium-swe-dan.dan-swe.t2x - Chunking rules for translating into Danish
89 * apertium-swe-dan.swe-dan.t3x - Chunking rules for translating into Swedish
90 * apertium-swe-dan.dan-swe.t3x - Chunking rules for translating into Danish
91 * apertium-swe-dan.swe-dan.rlx - Lexical selection rules for translating into Swedish
92 * apertium-swe-dan.dan-swe.rlx - Lexical selection rules for translating into Danish
93 * modes.xml - Translation modes
94
95 For more information
96 ===============================================================================
97
98 * http://wiki.apertium.org/wiki/Installation
99 * http://wiki.apertium.org/wiki/apertium-swe-dan
100 * http://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary
101
102 Help and support
103 ===============================================================================
104
105 If you need help using this language pair or data, you can contact:
106
107 * Mailing list: [email protected]
108 * IRC: #apertium on irc.freenode.net
109
110 See also the file AUTHORS included in this distribution.