Skip to content

Commit e96b692

Browse files
committed
Focused hack.
1 parent 345cd04 commit e96b692

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Treex/Block/HamleDT/CS/FixUD.pm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,6 +2744,12 @@ sub fix_annotation_errors
27442744
$subtree[8]->set_parent($subtree[9]);
27452745
$subtree[8]->set_deprel('cop');
27462746
}
2747+
# PDT-C 2.0 train tamw faust_2010_07_mu_08 # 12
2748+
elsif($spanstring =~ m/^jít ven s ; jít za ; odejít rozhořčený$/)
2749+
{
2750+
my @subtree = $self->get_node_subtree($node);
2751+
$subtree[4]->set_deprel('parataxis');
2752+
}
27472753
# Make sure that no node has more than one subject. This is to prevent
27482754
# validation errors in UD. However, instead of randomly picking a subject
27492755
# and re-labeling it as dep, we should investigate and fix the error

0 commit comments

Comments
 (0)