Skip to content

Commit

Permalink
emerging work on NoRec conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
oepen committed Apr 19, 2021
1 parent acbbe2e commit f9a5702
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import codec.conllu;
import codec.eds;
import codec.mrp;
import codec.norec;
import codec.pmb;
import codec.sdp;
import codec.treex;
Expand Down Expand Up @@ -70,6 +71,8 @@ def read_graphs(stream, format = None,
generator = codec.eds.read(stream, reify = reify, text = text);
elif format == "mrp":
generator = codec.mrp.read(stream, text = text, robust = robust);
elif format == "norec":
generator = codec.norec.read(stream, text = text, robust = robust);
elif format == "pmb":
generator = codec.pmb.read(stream, full = full,
reify = reify, text = text,
Expand Down

0 comments on commit f9a5702

Please sign in to comment.