Skip to content
Snippets Groups Projects
Commit 8c5f5b7d authored by Franck Dary's avatar Franck Dary
Browse files

Improved problem checking script

parent 72b76641
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,7 @@ def checkSentence(sentence, conllMCD, conllMCDr) :
# Verifying IDS
for i in range(len(sentence)) :
if len(sentence[i]) != 10 :
errorAndExit("Not 10 columns !", sentence)
for col in sentence[i] :
if len(col) == 0 :
errorAndExit("Empty column", sentence)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment