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

Conversion from camr to mrp without anchors #88

Closed Lmxiao4 closed 2 years ago

Lmxiao4 commented 2 years ago

This is a camr file.

1650872303(1)

I want to convert it into mrp file with following command: ./main.py --read camr --write mrp data/sample/camr/gold.txt data/sample/camr/gold.mrp However, the nodes dict in output file doesn't have anchors. What command should I use?

danielhers commented 2 years ago

You must specify the --text argument for anchors. See here: https://github.com/cfmrp/mtool#conversion

Lmxiao4 commented 2 years ago

Thanks!