LHNCBC / metamaplite

A near real-time named-entity recognizer
https://metamap.nlm.nih.gov/MetaMapLite.shtml
Other
58 stars 14 forks source link

Removed an extraneous newline from brat .ann #6

Closed amadanmath closed 5 years ago

amadanmath commented 5 years ago

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.