File: apertium-szl.szl.rlx

package info (click to toggle)
apertium-szl 0.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 3,680 kB
  • sloc: makefile: 57; xml: 38; sh: 24
file content (32 lines) | stat: -rw-r--r-- 694 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
DELIMITERS = "<.>" "<!>" "<?>" "<...>" "<ΒΆ>" "<:>";
SOFT-DELIMITERS = "<,>";
LIST NOUN = n;
LIST ADJ = adj;
LIST ADV = adv;
LIST VERB = vblex;
LIST MIEC = vbhaver;
LIST BYC = vbser;
LIST MOC = vaux;
LIST DET = det;
LIST PRN = prn;
LIST PREP = pr;
LIST MARYNARKA = "wojynny";

SETS

LIST BOS = (>>>) (sent);
LIST EOS = (<<<) (sent);

LIST N = n ; 

SECTION

SUBSTITUTE ("szaket" n) ("marina" n S1) NOUN;
SELECT (x);

# Resources:
# http://visl.sdu.dk/cg3.html
# http://groups.google.com/group/constraint-grammar
# http://kevindonnelly.org.uk/2010/05/constraint-grammar-tutorial/
# http://wiki.apertium.org/wiki/Constraint_Grammar
# http://wiki.apertium.org/wiki/Apertium_and_Constraint_Grammar