File: test_verbs.bash

package info (click to toggle)
apertium-srd 1.2.0~r82994-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 6,012 kB
  • sloc: makefile: 72; python: 52; sh: 51; xml: 38
file content (94 lines) | stat: -rwxr-xr-x 1,528 bytes parent folder | download | duplicates (2)
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
86
87
88
89
90
91
92
93
94
#!/bin/bash


#verb='èssere'

# model g
#verb='segare'
#verb='trucare'
#verb='cantare'
#verb='acabbare'
#verb='modificare'
#verb='comunicare'
#verb='trobogiare'

# model G  ENCARA NO REPASSAT
verb='agitare'
#verb='acapiare'
#verb='aplicare'
#verb='apogiare'

# model H
#verb='dare'

# model J
#verb='còghere'
#verb='fàghere'
#verb='pòdere'

# model I
#verb='tìmere'
#verb='tìnghere'
#verb='frìnghere'
verb='aèschere'
#verb='disagradèssere'
#verb='sètzere'
#verb='règere'
#verb='rìere'
#verb='frìere'

#verb='descrìere'
#verb='bìere'
#verb='ochìere'

# model J
#verb='fàghere'
#verb='pòdere'
#verb='còghere'

# model K
#verb='tènnere'
#verb='bàlere'
#verb='bòlere'
#verb='pònnere'
#verb='bènnere'
#verb='pàrrere'
#verb='abèrrere'
#verb='chèrrere'

# model M 3a conjugació
#verb='finire'
#verb='sighire'
#verb='ischire'
#verb='afigire'

# model L (només nàrrere)
#verb='nàrrere'

s="^$verb<vblex><inf>$"
echo "$s" | lt-proc -g srd.autogen.bin
s="^$verb<vblex><ger>$"
echo "$s" | lt-proc -g srd.autogen.bin
s="^$verb<vblex><pp><m><sg>$"
echo "$s" | lt-proc -g srd.autogen.bin
s="^$verb<vblex><pp><f><sg>$"
echo "$s" | lt-proc -g srd.autogen.bin
s="^$verb<vblex><pp><m><pl>$"
echo "$s" | lt-proc -g srd.autogen.bin
s="^$verb<vblex><pp><f><pl>$"
echo "$s" | lt-proc -g srd.autogen.bin
echo ""

for temps in pri pii prs pis imp
do
	for sg in sg pl
	do
		for pers in p1 p2 p3
		do
			s="^$verb<vblex><$temps><$pers><$sg>\$"
#			echo $s
			echo "$s" | lt-proc -g srd.autogen.bin
		done
	done
echo ""
done