Tags: aaronstevenwhite/decomp
Tags
Fixes error in how arguments within copular clauses, which are always… … headed by nouns and not adjectives or otherwise, are linked to the syntax nodes they are instantiated by. This only affects the genericity annotations, since the other annotation sets do not annotate these arguments. The error caused a self-loop on the argument node itself due to faulty string replacement logic. The offending block no longer uses such logic, but it is still used elsewhere (without effect, due to parameter settings on which nodes actually get added to the graph by default in this version) and needs to be phased out completely eventually in favor of using attributes themselves. This fix uses such a strategy, where now the head and span information is an attribute of the node, though only the head information is currently used. Also removes an errant print statement in node queries.