Difference between revisions of "Romanian and Catalan/Transfer Rules"

From Apertium
Jump to navigation Jump to search
(Created page with "This page provides general documentation on the transfer rules used in the Romanian-Catalan pair. The tables are generated from the data and comments found within the rule fil...")
 
Line 12: Line 12:
|-
|-
!1
!1
|mod_maj
| style="text-align:center" |1
|Canvia la majúscula inicial d'un lema a minúscula
|-
!2
|conj_verb1
| style="text-align:center" |1
|Conjuga un verb simple
|-
!3
|conj_verb2
| style="text-align:center" |2
|Conjuga un verb compost doble
|-
!4
|conj_verb3
| style="text-align:center" |3
|Conjuga un verb compost triple
|-
!5
|f_concord1
| style="text-align:center" |1
|Realitza la concordança d'un element i desa els valors a les variables
|-
!6
|f_concord2
| style="text-align:center" |2
|Realitza la concordança de dos elements i desa els valors a les variables
|-
!7
|f_bcond
|f_bcond
| style="text-align:center" |2
| style="text-align:center" |2
|Undocumented macro!
|Undocumented macro!
|-
|-
!2
!8
|f_outverb2
|f_outverb2
| style="text-align:center" |2
| style="text-align:center" |2
|Undocumented macro!
|Undocumented macro!
|-
|-
!3
!9
|f_outverb3
|f_outverb3
| style="text-align:center" |3
| style="text-align:center" |3
|Undocumented macro!
|Undocumented macro!
|-
|-
!4
!10
|modcase
| style="text-align:center" |1
|Undocumented macro!
|-
!5
|prn_verb
|prn_verb
| style="text-align:center" |1
| style="text-align:center" |1
|Undocumented macro!
|Undocumented macro!
|-
|-
!6
!11
|prn_verbp
|prn_verbp
| style="text-align:center" |1
| style="text-align:center" |1
|Undocumented macro!
|Undocumented macro!
|-
|-
!7
!12
|prn_verbenc
|prn_verbenc
| style="text-align:center" |2
| style="text-align:center" |2
|Undocumented macro!
|Undocumented macro!
|-
|-
!8
!13
|f_modgen
|f_modgen
| style="text-align:center" |1
| style="text-align:center" |1
|Undocumented macro!
|Undocumented macro!
|-
|-
!9
!14
|f_concord1
| style="text-align:center" |1
|Undocumented macro!
|-
!10
|f_concord2
| style="text-align:center" |2
|Undocumented macro!
|-
!11
|f_concord3
|f_concord3
| style="text-align:center" |3
| style="text-align:center" |3
|Undocumented macro!
|Undocumented macro!
|-
|-
!12
!15
|f_concord4
|f_concord4
| style="text-align:center" |4
| style="text-align:center" |4
|Undocumented macro!
|Undocumented macro!
|-
|-
!13
!16
|f_lexicAdj
|f_lexicAdj
| style="text-align:center" |1
| style="text-align:center" |1
Line 83: Line 98:
|-
|-
!1
!1
|nom
|vbaveapri pp
|NOM
|Undocumented rule!
|-
|-
!2
!2
|num nom
|vbaveapri pp prnenc
|NUM + NOM
|Undocumented rule!
|-
|-
!3
!3
|det nom nom
|num prepde nom
|NUM + de + NOM
|Undocumented rule!
|-
|-
!4
!4
|nom adjnorm
|advnu verb advdecât nom
|NOM + ADJECTIU
|Undocumented rule!
|-
|-
!5
!5
|nom adjpos
|advnu verb advdecât detind nom
|NOM + ADJECTIU POSSESSIU
|Undocumented rule!
|-
|-
!6
!6
|num
|nom adjpos
|NUMERAL
|Undocumented rule!
|-
|-
!7
!7
|adj
|nom nom adjpos
|ADJ
|Undocumented rule!
|-
|-
!8
!8
|pp
|prepîn nom xifra
|REGLA: PP
|Undocumented rule!
|-
|-
!9
!9
|vbcnj
|num meses
|REGLA: VERB CONJUGAT
|Undocumented rule!
|-
|-
!10
!10
|advnu vbcnj
|nom verbfi adj
|REGLA: NU + VERB CONJUGAT
|Undocumented rule!
|-
|-
!11
!11
|vbcnj_doble1 vbcnj_doble2
|nom verbfi pp
|REGLA: VERB CONJUGAT DOBLE
|Undocumented rule!
|-
|-
!12
!12
|advnu vbcnj_doble1 vbcnj_doble2
|deta nom
|REGLA: NU + VERB CONJUGAT DOBLE
|Undocumented rule!
|-
|-
!13
!13
|vbcnj_triple1 vbcnj_triple2 vbcnj_triple3
|deta nom adj
|REGLA: VERB CONJUGAT TRIPLE
|Undocumented rule!
|-
|-
!14
!14
|advnu vbcnj_triple1 vbcnj_triple2 vbcnj_triple3
|deta nom adj adj
|REGLA: NU + VERB CONJUGAT DOBLE
|Undocumented rule!
|-
|-
!15
!15
|sent
|nom deta np
|Reinicialitza les variables
|Undocumented rule!
|-
|-
!16
!16
|vbaveapri pp prnenc
|nom adj adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!17
!17
|nom adj
|det nom nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!18
!18
|advnu catverb advdecât nom
|nom adj deta np
|Undocumented rule!
|Undocumented rule!
|-
|-
!19
!19
|nom deta relcărui nom
|advnu catverb advdecât detind nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!20
!20
|nom nom adjpos
|prepîn nptop
|Undocumented rule!
|Undocumented rule!
|-
|-
!21
!21
|prep nom adjpos
|prepîn nom xifra
|Undocumented rule!
|Undocumented rule!
|-
|-
!22
!22
|num mesos
|verb nom adjpos
|Undocumented rule!
|Undocumented rule!
|-
|-
!23
!23
|nom verbfi adj
|verbtrebui conjsub verb
|Undocumented rule!
|Undocumented rule!
|-
|-
!24
!24
|num meses num
|nom verbfi pp
|Undocumented rule!
|Undocumented rule!
|-
|-
!25
!25
|prep nom adj
|deta nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!26
!26
|prep nom adj adj
|deta nom adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!27
!27
|prep nom nom adj adj
|deta nom adj adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!28
!28
|verb nom adj
|nom deta np
|Undocumented rule!
|Undocumented rule!
|-
|-
!29
!29
|verb nom det nom
|nom adj adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!30
!30
|nom adj deta np
|nptop
|Undocumented rule!
|Undocumented rule!
|-
|-
!31
!31
|nom deta relcărui nom
|preppe npant
|Undocumented rule!
|Undocumented rule!
|-
|-
!32
!32
|prepîn nptop
|avealex conjsub verb
|Undocumented rule!
|Undocumented rule!
|-
|-
!33
!33
|prep nom adjpos
|advo conjsub verb
|Undocumented rule!
|Undocumented rule!
|-
|-
!34
!34
|catverb nom adjpos
|preppe prn
|Undocumented rule!
|Undocumented rule!
|-
|-
!35
!35
|verbtrebui conjsub catverb
|preppe det
|Undocumented rule!
|Undocumented rule!
|-
|-
!36
!36
|num mesos num
|verb prep nom nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!37
!37
|prep nom nom
|prep nom adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!38
!38
|prep nom
|prep nom adj adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!39
!39
|prep nom adj
|prep nom nom adj adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!40
!40
|prep nom adj adj
|catverb nom adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!41
!41
|prep nom adj adj adj
|catverb nom det nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!42
!42
|det
|np
|Undocumented rule!
|Undocumented rule!
|-
|-
!43
!43
|preppe npant
|prn
|Undocumented rule!
|Undocumented rule!
|-
|-
!44
!44
|preppe prn
|num
|Undocumented rule!
|Undocumented rule!
|-
|-
!45
!45
|preppe det
|nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!46
!46
|adjtot nom
|catverb prep nom nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!47
!47
|prep nom nom
|verb dettuturor
|Undocumented rule!
|Undocumented rule!
|-
|-
!48
!48
|prep nom
|nom dettuturor
|Undocumented rule!
|Undocumented rule!
|-
|-
!49
!49
|nom adjlui np
|prep nom adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!50
!50
|prep nom adj adj
|relat
|Undocumented rule!
|Undocumented rule!
|-
|-
!51
!51
|prep nom adj adj adj
|adjpos
|Undocumented rule!
|Undocumented rule!
|-
|-
!52
!52
|adj
|det
|Undocumented rule!
|Undocumented rule!
|-
|-
!53
!53
|prn
|verb nom nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!54
!54
|adj nom
|adjtot nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!55
!55
|catverb dettuturor
|adj nom deta nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!56
!56
|nom adj deta nom
|nom dettuturor
|Undocumented rule!
|Undocumented rule!
|-
|-
!57
!57
|prep nom adj deta np
|nom adjlui np
|Undocumented rule!
|Undocumented rule!
|-
|-
!58
!58
|relat
|prep nom adj deta nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!59
!59
|adjpos
|verb nom adj deta nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!60
!60
|nom deta nom
|catverb nom nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!61
!61
|nom det nom
|adj nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!62
!62
|nom deta detind nom
|adj nom deta nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!63
!63
|det nom deta nom
|nom adj deta nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!64
!64
|det adj nom deta nom
|prep nom adj deta np
|Undocumented rule!
|Undocumented rule!
|-
|-
!65
!65
|num nom
|prep nom adj deta nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!66
!66
|num prep nom
|catverb nom adj deta nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!67
!67
|nom adj
|nom deta nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!68
!68
|nom adv adj
|nom det nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!69
!69
|nom deta detind nom
|detcel advmai adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!70
!70
|det nom deta nom
|advnespus prepde adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!71
!71
|det adj nom deta nom
|prep prepa prnpro verb
|Undocumented rule!
|Undocumented rule!
|-
|-
!72
!72
|prep prepa verb
|nom adv adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!73
!73
|nom detcel adj
|detcel advmai adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!74
!74
|det nom adj
|advnespus prepde adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!75
!75
|prep prepa prnpro catverb
|det adj nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!76
!76
|prep prepa catverb
|det nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!77
!77
|nom nom
|nom detcel adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!78
!78
|advnu advmai verb
|det nom adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!79
!79
|det adj nom
|vrea verbtrebui conjsub verb
|Undocumented rule!
|Undocumented rule!
|-
|-
!80
!80
|det nom
|conjnici advnu verb
|Undocumented rule!
|Undocumented rule!
|-
|-
!81
!81
|nom nom
|advnici- advnu verb
|Undocumented rule!
|Undocumented rule!
|-
|-
!82
!82
|advnu verb advdecât
|advnu advmai catverb
|Undocumented rule!
|Undocumented rule!
|-
|-
!83
!83
|vbaveacni verbtrebui conjsub verb
|vrea verbtrebui conjsub catverb
|Undocumented rule!
|Undocumented rule!
|-
|-
!84
!84
|conjnici advnu catverb
|vbaveapri verbtrebui conjsub verb
|Undocumented rule!
|Undocumented rule!
|-
|-
!85
!85
|advnici- advnu catverb
|verb nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!86
!86
|advnu catverb advdecât
|verb nom adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!87
!87
|verb conjsub verb
|vbaveacni verbtrebui conjsub catverb
|Undocumented rule!
|Undocumented rule!
|-
|-
!88
!88
|vbaveapri verbtrebui conjsub catverb
|adv adj nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!89
!89
|num adj nom
|catverb nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!90
!90
|num nom adj
|catverb nom adj
|Undocumented rule!
|Undocumented rule!
|-
|-
!91
!91
|catverb conjsub catverb
|verb detcel num nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!92
!92
|detcel num nom
|adv adj nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!93
!93
|det nom
|num adj nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!94
!94
|num nom adj
|vbaveacni verb pp
|Undocumented rule!
|Undocumented rule!
|-
|-
!95
!95
|catverb detcel num nom
|vbaveacni verb
|Undocumented rule!
|Undocumented rule!
|-
|-
!96
!96
|detcel num nom
|vrea verb
|Undocumented rule!
|Undocumented rule!
|-
|-
!97
!97
|verb prep nom
|det nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!98
!98
|vbaveacni catverb pp
|vrea verb prep prn
|Undocumented rule!
|Undocumented rule!
|-
|-
!99
!99
|vrea verb prep nom
|catverb prep nom
|Undocumented rule!
|Undocumented rule!
|-
|-
!100
!100
|vbaveacni verb prep nom
|vrea catverb prep prn
|Undocumented rule!
|Undocumented rule!
|-
|-
!101
!101
|vrea catverb prep nom
|verbpper
|Undocumented rule!
|Undocumented rule!
|-
|-
!102
!102
|vbaveacni catverb prep nom
|prepde pp
|Undocumented rule!
|Undocumented rule!
|-
|-
!103
!103
|prepde pp
|verb prnenc
|Undocumented rule!
|Undocumented rule!
|-
|-
!104
!104
|verb prnenc prnenc
|catverb prnenc
|Undocumented rule!
|Undocumented rule!
|-
|-
!105
!105
|catverb prnenc prnenc
|verb
|Undocumented rule!
|Undocumented rule!
|-
|-
Line 528: Line 543:
!112
!112
|prepdintr- detind
|prepdintr- detind
|Undocumented rule!
|-
!113
|sent
|Undocumented rule!
|Undocumented rule!
|}
|}

Revision as of 21:34, 10 June 2018

This page provides general documentation on the transfer rules used in the Romanian-Catalan pair. The tables are generated from the data and comments found within the rule files using an automated script (transfer_documentation.sh, available here).

Romanian → Catalan

Chunk (T1X)

# Macro name Arguments Description
1 mod_maj 1 Canvia la majúscula inicial d'un lema a minúscula
2 conj_verb1 1 Conjuga un verb simple
3 conj_verb2 2 Conjuga un verb compost doble
4 conj_verb3 3 Conjuga un verb compost triple
5 f_concord1 1 Realitza la concordança d'un element i desa els valors a les variables
6 f_concord2 2 Realitza la concordança de dos elements i desa els valors a les variables
7 f_bcond 2 Undocumented macro!
8 f_outverb2 2 Undocumented macro!
9 f_outverb3 3 Undocumented macro!
10 prn_verb 1 Undocumented macro!
11 prn_verbp 1 Undocumented macro!
12 prn_verbenc 2 Undocumented macro!
13 f_modgen 1 Undocumented macro!
14 f_concord3 3 Undocumented macro!
15 f_concord4 4 Undocumented macro!
16 f_lexicAdj 1 Undocumented macro!
# Rule pattern Description
1 nom NOM
2 num nom NUM + NOM
3 num prepde nom NUM + de + NOM
4 nom adjnorm NOM + ADJECTIU
5 nom adjpos NOM + ADJECTIU POSSESSIU
6 num NUMERAL
7 adj ADJ
8 pp REGLA: PP
9 vbcnj REGLA: VERB CONJUGAT
10 advnu vbcnj REGLA: NU + VERB CONJUGAT
11 vbcnj_doble1 vbcnj_doble2 REGLA: VERB CONJUGAT DOBLE
12 advnu vbcnj_doble1 vbcnj_doble2 REGLA: NU + VERB CONJUGAT DOBLE
13 vbcnj_triple1 vbcnj_triple2 vbcnj_triple3 REGLA: VERB CONJUGAT TRIPLE
14 advnu vbcnj_triple1 vbcnj_triple2 vbcnj_triple3 REGLA: NU + VERB CONJUGAT DOBLE
15 sent Reinicialitza les variables
16 vbaveapri pp prnenc Undocumented rule!
17 det nom nom Undocumented rule!
18 advnu catverb advdecât nom Undocumented rule!
19 advnu catverb advdecât detind nom Undocumented rule!
20 nom nom adjpos Undocumented rule!
21 prepîn nom xifra Undocumented rule!
22 num mesos Undocumented rule!
23 nom verbfi adj Undocumented rule!
24 nom verbfi pp Undocumented rule!
25 deta nom Undocumented rule!
26 deta nom adj Undocumented rule!
27 deta nom adj adj Undocumented rule!
28 nom deta np Undocumented rule!
29 nom adj adj Undocumented rule!
30 nom adj deta np Undocumented rule!
31 nom deta relcărui nom Undocumented rule!
32 prepîn nptop Undocumented rule!
33 prep nom adjpos Undocumented rule!
34 catverb nom adjpos Undocumented rule!
35 verbtrebui conjsub catverb Undocumented rule!
36 num mesos num Undocumented rule!
37 prep nom adj Undocumented rule!
38 prep nom adj adj Undocumented rule!
39 prep nom nom adj adj Undocumented rule!
40 catverb nom adj Undocumented rule!
41 catverb nom det nom Undocumented rule!
42 np Undocumented rule!
43 preppe npant Undocumented rule!
44 preppe prn Undocumented rule!
45 preppe det Undocumented rule!
46 catverb prep nom nom Undocumented rule!
47 prep nom nom Undocumented rule!
48 prep nom Undocumented rule!
49 prep nom adj Undocumented rule!
50 prep nom adj adj Undocumented rule!
51 prep nom adj adj adj Undocumented rule!
52 det Undocumented rule!
53 prn Undocumented rule!
54 adjtot nom Undocumented rule!
55 catverb dettuturor Undocumented rule!
56 nom dettuturor Undocumented rule!
57 nom adjlui np Undocumented rule!
58 relat Undocumented rule!
59 adjpos Undocumented rule!
60 catverb nom nom Undocumented rule!
61 adj nom Undocumented rule!
62 adj nom deta nom Undocumented rule!
63 nom adj deta nom Undocumented rule!
64 prep nom adj deta np Undocumented rule!
65 prep nom adj deta nom Undocumented rule!
66 catverb nom adj deta nom Undocumented rule!
67 nom deta nom Undocumented rule!
68 nom det nom Undocumented rule!
69 nom deta detind nom Undocumented rule!
70 det nom deta nom Undocumented rule!
71 det adj nom deta nom Undocumented rule!
72 nom adv adj Undocumented rule!
73 detcel advmai adj Undocumented rule!
74 advnespus prepde adj Undocumented rule!
75 prep prepa prnpro catverb Undocumented rule!
76 prep prepa catverb Undocumented rule!
77 nom detcel adj Undocumented rule!
78 det nom adj Undocumented rule!
79 det adj nom Undocumented rule!
80 det nom Undocumented rule!
81 nom nom Undocumented rule!
82 advnu advmai catverb Undocumented rule!
83 vrea verbtrebui conjsub catverb Undocumented rule!
84 conjnici advnu catverb Undocumented rule!
85 advnici- advnu catverb Undocumented rule!
86 advnu catverb advdecât Undocumented rule!
87 vbaveacni verbtrebui conjsub catverb Undocumented rule!
88 vbaveapri verbtrebui conjsub catverb Undocumented rule!
89 catverb nom Undocumented rule!
90 catverb nom adj Undocumented rule!
91 catverb conjsub catverb Undocumented rule!
92 adv adj nom Undocumented rule!
93 num adj nom Undocumented rule!
94 num nom adj Undocumented rule!
95 catverb detcel num nom Undocumented rule!
96 detcel num nom Undocumented rule!
97 det nom Undocumented rule!
98 vbaveacni catverb pp Undocumented rule!
99 catverb prep nom Undocumented rule!
100 vrea catverb prep prn Undocumented rule!
101 vrea catverb prep nom Undocumented rule!
102 vbaveacni catverb prep nom Undocumented rule!
103 prepde pp Undocumented rule!
104 catverb prnenc Undocumented rule!
105 catverb prnenc prnenc Undocumented rule!
106 prnproref verbospron Undocumented rule!
107 advca nom Undocumented rule!
108 advca det nom Undocumented rule!
109 adv adj advca Undocumented rule!
110 nom nptop Undocumented rule!
111 prep nom nptop Undocumented rule!
112 prepdintr- detind Undocumented rule!

Interchunk (T2X)

# Rule pattern Description
1 SN REGLA: SN

Postchunk (T3X)

# Rule pattern Description
1 sent CHUNK:

Catalan → Romanian

Chunk (T1X)

# Macro name Arguments Description
1 conj_verb1 1 Conjuga un verb simple
# Rule pattern Description
1 nom casa > casă
2 artdef nom la casa > casa
3 np REGLA: NOM PROPI
4 adj REGLA: ADJ
5 pp REGLA: PP
6 vbcnj REGLA: VERB CONJUGAT
7 inf REGLA: INF
8 ger REGLA: GER
9 vbhaver REGLA: VBHAVER (per si apareix sol)
10 sent Resets variables.

Interchunk (T2X)

# Rule pattern Description
1 SN REGLA: SN
2 SA REGLA: SA

Postchunk (T3X)

# Rule pattern Description
1 sent CHUNK: