brat annotation format is fiddly. If there is an empty line, brat will complain.
Each annotation is correctly terminated by a newline as the annotation string is being built. However, an extra newline is introduced by println. This causes an empty line, which in turn makes brat complain.
A switch to a simple print eliminates the empty line.
brat annotation format is fiddly. If there is an empty line, brat will complain.
Each annotation is correctly terminated by a newline as the annotation string is being built. However, an extra newline is introduced by
println
. This causes an empty line, which in turn makes brat complain.A switch to a simple
print
eliminates the empty line.