[developers] Comparing a profile with a grammar output
Stephan Oepen
oe at ifi.uio.no
Sat Aug 22 09:02:50 CEST 2020
hi again, alexandre and mike:
> I added the #XXXX right before the EDS serialization. The only different between these files in the https://github.com/cfmrp/mtool/blob/master/data/score/eds/wsj.pet.eds is that these files are not formatted with one predicate per line, instead, the EDS is serialised in a single line without line breaks.
i am tempted to declare those line breaks a necessary part of the
native EDS syntax (though i see that the current EdsTop wiki page does
not explicitly state that). mike, could you change EDS serialization
in pyDelphin to reflect the multi-line format exemplified on that
page? also, when you have an item identifier available i would
suggest you prefix the EDS with an additional line (assuming the
identifier is 4711):
#4711
this latter addition should be considered optional, though, and i
shall check that the mtool EDS reader does not require it (i suspect
currently it does; mtool has hardly been used in conjunction with
native EDS serialization, so this is a welcome push toward better
cross-format and -platform interoperability).
regarding your lack of success when invoking the scorer in [incr
tsdb()], alexandre: could you make available to me a copy of the two
profiles involved?
best wishes, oe
More information about the developers
mailing list