Commit 61fb63d0 authored by bguillaum's avatar bguillaum

print "_" in case of absence of governors

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/semagramme/libcaml-grew/trunk@8888 7838e531-6607-4d57-9587-6c381814729c
parent 8432289c
......@@ -869,8 +869,8 @@ module G_graph = struct
(match G_fs.get_string_atom "cat" fs with Some p -> p | None -> "_")
(match G_fs.get_string_atom "pos" fs with Some p -> p | None -> "_")
(G_fs.to_conll ~exclude: ["phon"; "lemma"; "cat"; "pos"; "position"] fs)
(String.concat "|" govs)
(String.concat "|" labs)
(match govs with [] -> "_" | _ -> String.concat "|" govs)
(match labs with [] -> "_" | _ -> String.concat "|" labs)
)
snodes;
Buffer.contents buff
......
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