forked from apertium/apertium-jpn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modes.xml
85 lines (77 loc) · 2.14 KB
/
modes.xml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="UTF-8"?>
<modes>
<mode name="jpn-twol" install="yes">
<pipeline>
<program name="hfst-strings2fst -S"/>
<program name="hfst-compose-intersect">
<file name=".deps/jpn.twol.hfst"/>
</program>
<program name="hfst-fst2strings"/>
</pipeline>
</mode>
<mode name="jpn-morph" install="yes">
<pipeline>
<!-- Using tokenizer written in python3 -->
<program name="python3">
<file name="tokenize.py"/>
<file name="jpn.autotok.hfst"/>
</program>
<program name="lt-proc -w">
<file name="jpn.automorf.bin"/>
</program>
</pipeline>
</mode>
<mode name="jpn-lexc" install="yes">
<pipeline>
<program name="hfst-lookup">
<file name=".deps/jpn.LR.lexc.hfst"/>
</program>
</pipeline>
</mode>
<mode name="jpn-gener" install="yes">
<pipeline>
<program name="lt-proc -g">
<file name="jpn.autogen.bin"/>
</program>
</pipeline>
</mode>
<mode name="jpn-tagger" install="yes">
<pipeline>
<!-- Using tokenizer written in python3 -->
<program name="python3">
<file name="tokenize.py"/>
<file name="jpn.autotok.hfst"/>
</program>
<program name="lt-proc -w">
<file name="jpn.automorf.bin"/>
</program>
<program name="cg-proc -w">
<file name="jpn.rlx.bin"/>
</program>
</pipeline>
</mode>
<mode name="jpn-disam" install="yes">
<pipeline>
<!-- Using tokenizer written in python3 -->
<program name="python3">
<file name="tokenize.py"/>
<file name="jpn.autotok.hfst"/>
</program>
<program name="hfst-proc">
<file name="jpn.automorf.hfst"/>
</program>
<program name="cg-proc -w">
<file name="jpn.rlx.bin"/>
</program>
</pipeline>
</mode>
<mode name="jpn-segment" install="yes">
<!--Added segment mode with tokenize.py and it lets us to use apertium -d . jpn-segment command-->
<pipeline>
<program name="python3">
<file name="tokenize.py"/>
<file name="jpn.autotok.hfst"/>
</program>
</pipeline>
</mode>
</modes>