cfmrp / mtool

Software to Manipulate Different Flavors of Semantic Graphs
http://mrp.nlpl.eu
GNU Lesser General Public License v3.0
51 stars 24 forks source link

Read ud fix #81

Closed kleinay closed 4 years ago

kleinay commented 4 years ago

Fixing --read ud format to handle conllu files that have no "text" comments declaring the input sentence. The solution is to reconstruct the input sentence from the FORM (#1) column of the segment.

kleinay commented 4 years ago

If it's the last one, it should never have a space after it, right? Regardless of the MISC field...

I don't see anything about it in the CoNLL-U specifications, but perhaps you're right and they didn't specify it.