Debian Codegraph @

apertium-swe-0.8.1/README

raw
1 Swedish (`apertium-swe`)
2 ===============================================================================
3
4 This is an Apertium monolingual language package for Swedish. What
5 you can use this language package for:
6
7 * Morphological analysis of Swedish
8 * Morphological generation of Swedish
9 * Part-of-speech tagging of Swedish
10
11 Requirements
12 ===============================================================================
13
14 You will need the following software installed:
15
16 * lttoolbox (>= 3.3.0)
17 * apertium (>= 3.3.0)
18 * vislcg3 (>= 0.9.9.10297)
19
20 If this does not make any sense, we recommend you look at: www.apertium.org
21
22 Compiling
23 ===============================================================================
24
25 Given the requirements being installed, you should be able to just run:
26
27 ```
28 $ ./configure
29 $ make
30 ```
31
32 You can use `./autogen.sh` instead of `./configure` if you're compiling
33 from GitHub.
34
35 If you're doing development, you don't have to install the data, you
36 can use it directly from this directory.
37
38 If you are installing this language package as a prerequisite for an
39 Apertium translation pair, then do (typically as root / with sudo):
40
41 ```
42 # make install
43 ```
44
45 You can give a `--prefix` to `./configure` to install as a non-root user,
46 but make sure to use the same prefix when installing the translation
47 pair and any other language packages.
48
49 Testing
50 ===============================================================================
51
52 If you are in the source directory after running make, the following
53 commands should work:
54
55 ```
56 $ echo "Jag ligger hemma i mitt säng." | apertium -d . swe-morph
57 ```
58
59 ```
60 $ echo "Jag ligger hemma i mitt säng." | apertium -d . swe-tagger
61 ```
62
63 Files and data
64 ===============================================================================
65
66 * `apertium-swe.swe.dix` - Monolingual dictionary
67 * `swe.prob` - Tagger model
68 * `apertium-swe.swe.rlx` - Constraint Grammar disambiguation rules
69 * `apertium-swe.post-swe.dix` - Post-generator
70 * `modes.xml` - Translation modes
71
72 For more information
73 ===============================================================================
74
75 * http://wiki.apertium.org/wiki/Installation
76 * http://wiki.apertium.org/wiki/apertium-swe
77 * http://wiki.apertium.org/wiki/Using_an_lttoolbox_dictionary
78
79 Help and support
80 ===============================================================================
81
82 If you need help using this language pair or data, you can contact:
83
84 * Mailing list: [email protected]
85 * IRC: `#apertium` on `irc.freenode.net`
86
87 See also the file AUTHORS included in this distribution.
88