From b2db410458c4a787e7791f33a17c508a871c0fba Mon Sep 17 00:00:00 2001 From: Ko van der Sloot Date: Tue, 12 Nov 2024 12:57:13 +0100 Subject: [PATCH] oepsie --- src/AlpinoParser.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AlpinoParser.cxx b/src/AlpinoParser.cxx index 724c907..3121b72 100644 --- a/src/AlpinoParser.cxx +++ b/src/AlpinoParser.cxx @@ -52,7 +52,7 @@ using TiCC::operator<<; //#define DEBUG_ALPINO //#define DEBUG_MWU -//#define DEBUG_EXTRACT +#define DEBUG_EXTRACT const string alpino_tagset = "http://ilk.uvt.nl/folia/sets/alpino-parse-nl"; const string alpino_mwu_tagset = "http://ilk.uvt.nl/folia/sets/alpino-mwu-nl"; @@ -621,14 +621,14 @@ vector extract( const list>& l ){ int pos = 0; int dep = 0; string rel; - if ( dep == 0 ){ + if ( dependent == 0 ){ // root node if ( head->word.empty() ){ if ( head->link && head->rel != "--" ){ #ifdef DEBUG_EXTRACT cerr << "AHA some special thing: " << head->rel << endl; - cerr << " IN : " << it << endl; + cerr << " IN : " << head << "-" << dependent << endl; #endif // not a word but an aggregate const dp_tree *my_head = extract_hd(head);