Commit 0d7c5a1f authored by bguillaum's avatar bguillaum

Use the symbol "_" when there is no lemma or no phon

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/semagramme/libcaml-grew/trunk@8812 7838e531-6607-4d57-9587-6c381814729c
parent ff9f31b6
......@@ -841,8 +841,8 @@ module G_graph = struct
let fs = G_node.get_fs node in
bprintf buff "%g\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t_\t_\n"
(get_num gid)
(match G_fs.get_string_atom "phon" fs with Some p -> p | None -> "_e_")
(match G_fs.get_string_atom "lemma" fs with Some p -> p | None -> "_e_")
(match G_fs.get_string_atom "phon" fs with Some p -> p | None -> "_")
(match G_fs.get_string_atom "lemma" fs with Some p -> p | None -> "_")
(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)
......
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