Commit 0f3f4d9a authored by Bruno Guillaume's avatar Bruno Guillaume

fix usage of —sentid

parent d08a9b3c
......@@ -130,11 +130,11 @@ let main () =
else
try
load !input_file;
set_position ();
let graph = match (!current_data, !current_position) with
| (Dep g,_) -> g
| (Conll [||],_) -> error ~file: !input_file "Empty Conll file"
| (Conll arr, pos) ->
set_position ();
Dep2pict.from_conll ~rtl:!rtl ~conll:(snd arr.(pos)) in
begin
match Format.get out_file with
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment