Commit 61fb63d0 authored by bguillaum's avatar bguillaum
Browse files

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 ...@@ -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 "cat" fs with Some p -> p | None -> "_")
(match G_fs.get_string_atom "pos" 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) (G_fs.to_conll ~exclude: ["phon"; "lemma"; "cat"; "pos"; "position"] fs)
(String.concat "|" govs) (match govs with [] -> "_" | _ -> String.concat "|" govs)
(String.concat "|" labs) (match labs with [] -> "_" | _ -> String.concat "|" labs)
) )
snodes; snodes;
Buffer.contents buff Buffer.contents buff
......
Supports Markdown
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