@@ -31,8 +31,6 @@ sub process_unode($self, $unode, $) {
31
31
my $tnode = $unode -> get_tnode;
32
32
$self -> translate_compl($unode , $tnode )
33
33
if ' COMPL' eq $tnode -> functor;
34
- $self -> subordinate2coord($unode , $tnode )
35
- if $tnode -> functor =~ / ^(?:CONTRD|CNCS)$ / ;
36
34
$self -> adjust_coap($unode , $tnode ) if ' coap' eq $tnode -> nodetype;
37
35
$self -> remove_double_edge($unode , $1 , $tnode )
38
36
if $unode -> functor =~ / ^(.+)-of$ / ;
@@ -91,36 +89,6 @@ sub translate_compl($self, $unode, $tnode) {
91
89
}
92
90
}
93
91
94
- sub subordinate2coord ($self , $unode , $tnode ) {
95
- if ($tnode -> is_member) {
96
- $tnode = $tnode -> _get_transitive_coap_root;
97
- ($unode ) = $tnode -> get_referencing_nodes(' t.rf' );
98
- if (! $unode ) {
99
- log_warn($tnode -> {id } . ' has no unode for subordinate2coord' );
100
- return
101
- }
102
- log_info(' Skipping 2nd run' ), return
103
- if $self -> _coord_members_already_sub2coorded-> { $unode -> id }++;
104
- }
105
-
106
- my $t_parent = $tnode -> get_parent;
107
- my ($u_parent ) = $t_parent -> get_referencing_nodes(' t.rf' );
108
- my $operator = $u_parent -> parent-> create_child;
109
- $operator -> set_concept($unode -> functor);
110
- $operator -> set_functor($u_parent -> functor);
111
- $u_parent -> set_functor(' ARG1' );
112
- $unode -> set_functor(' ARG2' );
113
- $u_parent -> set_parent($operator );
114
- $unode -> set_parent($operator );
115
-
116
- my @auxc = grep ' AuxC' eq $_ -> afun,
117
- $unode -> get_alignment;
118
- $unode -> _remove_from_node_list(' alignment.rf' , @auxc );
119
- $operator -> _add_to_node_list(' alignment.rf' , @auxc );
120
-
121
- return
122
- }
123
-
124
92
sub negate_sibling ($self , $unode , $tnode ) {
125
93
my $tparent = $tnode -> parent;
126
94
my @tsiblings
@@ -174,7 +142,7 @@ sub adjust_coap($self, $unode, $tnode) {
174
142
my $ch = $_ ;
175
143
! grep $ch == $_ , @t_members
176
144
} grep ! $_ -> is_member
177
- && $_ -> functor !~ / ^(?:C(?:M|ONTRD|NCS) |INTF)$ /
145
+ && $_ -> functor !~ / ^(?:CM |INTF)$ /
178
146
&& ! (' RHEM' eq $_ -> functor && $_ -> t_lemma =~ / ^$negation $ / ),
179
147
$tnode -> children;
180
148
my @u_members = grep ' ref' ne ($_ -> nodetype // " " ),
@@ -250,13 +218,6 @@ tree.
250
218
Translates the complement COMPL into a C<manner > or C<mod > based on the sempos
251
219
of the parent. The second dependency is translated into a C<mod_of > arrow.
252
220
253
- =item subordinate2coord
254
-
255
- C<CONTRD > and C<CNCS > are treated as subordinate on t-layer, but they are
256
- translated as C<but-1 > in UMR which is coordinate. The structure must be
257
- therefore changed: a new node is created to represent the coordination and
258
- both the C<CONTRD/CNCS > and its parent are rehung to it.
259
-
260
221
=item adjust_coap
261
222
262
223
Common dependents in a coordination are rehung to the first coordination
0 commit comments