ufal / perl-pmltq

Query engine and query language for trees in PML format
3 stars 2 forks source link

Parsing error in PML-TQ structure #2

Closed m1ch4ls closed 8 years ago

m1ch4ls commented 9 years ago
a-node $t := [ m/tag ~ '^J,' ];
>> give $t.m/form,$t.m/tag
>> for lower($1),$2 give $1,$2,count(),count(over $2) sort by $4 desc,$2,$1

ERROR:

Usage: new_from_ref(ARRAY_REF,1) - arg 1 is not an ARRAY reference! at /usr/local/share/perl/5.14.2/Treex/PML/StandardFactory.pm line 77.
m1ch4ls commented 8 years ago

Fixed in #13

The issue was invalid use of Treex::PML::Factory->createList