-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapertium-sme-smj.smj-sme.lrx
More file actions
45 lines (32 loc) · 1.14 KB
/
apertium-sme-smj.smj-sme.lrx
File metadata and controls
45 lines (32 loc) · 1.14 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<lrx>
<def-seqs>
<def-seq n="foo-verbs">
<or>
<match lemma="foo"/>
<match lemma="bar"/>
</or>
</def-seq>
</def-seqs>
<rules>
<rule>
<match lemma="boahtet" tags="vblex.*"><select lemma="boahtit" tags="vblex.*"/></match>
</rule>
<rule weight="1.0">
<match lemma="ii"/>
<match lemma="orrut" tags="vblex.*"><select lemma="liehket" tags="vblex.*"/></match>
</rule>
<rule weight="1.0"><match lemma="vuosedit" tags="vblex.*"><select lemma="čájehit" /></match></rule>
<rule weight="0.5"><match lemma="vuosedit" tags="vblex.*"><select lemma="čujuhit" /></match></rule>
<rule weight="0.6"><match lemma="vuosedit" tags="vblex.*"><select lemma="čujuhit" /></match>
<match tags="n.*.ill.*"/>
</rule>
</rules>
<!--
Resources:
https://wiki.apertium.org/wiki/How_to_get_started_with_lexical_selection_rules
https://wiki.apertium.org/wiki/Constraint-based_lexical_selection
https://wiki.apertium.org/wiki/Lexical_selection
https://wiki.apertium.org/wiki/Learning_rules_from_parallel_and_non-parallel_corpora
-->
</lrx>