Skip to content

Commit

Permalink
oepsie
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed Nov 12, 2024
1 parent f1feb38 commit b2db410
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AlpinoParser.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -621,14 +621,14 @@ vector<parsrel> extract( const list<pair<const dp_tree*,const dp_tree*>>& 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);
Expand Down

0 comments on commit b2db410

Please sign in to comment.