Functions to aide the development of annotators within the Apache UIMA framework