Commit 8a741963 authored by bguillaum's avatar bguillaum

more verbose error in case of ill-formed brown input

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/semagramme/libcaml-grew/trunk@9030 7838e531-6607-4d57-9587-6c381814729c
parent 6c501f75
......@@ -386,7 +386,7 @@ module G_graph = struct
feats;
deps = [(i, "SUC")]
}
| _ -> Error.build "[Graph.of_brown] Cannot parse Brown item >>>%s<<< (expected \"phon/POS/lemma\")" item
| _ -> Error.build "[Graph.of_brown] Cannot parse Brown item >>>%s<<< (expected \"phon/POS/lemma\") in >>>%s<<<" item brown
) units in
of_conll domain { Conll.file=None; meta=[]; lines=conll_lines; multiwords=[] }
......
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