clamsproject / clams-python

CLAMS SDK for python
http://sdk.clams.ai/
Apache License 2.0
4 stars 1 forks source link

validate mmif output before return in `annotate() method #179

Closed keighrim closed 11 months ago

keighrim commented 11 months ago

When an app has done something wrong in _annotate() method, we should safeguard annotate() so that an ill-formed MMIF isn't returned to the user.