Highlighter

The highlighter app includes the models and business logic for the full text highlighting functonalities of APIS.

Models

class highlighter.models.Annotation(*args, **kwargs)[source]

Class storing highlights in full-texts

annotation_hash(format_string=’start_end_text_ent_entid’)[source]

Function that returns a hash of the annotaion used to calculate inter-annotator agreement.

Returns:
class highlighter.models.AnnotationProject(*args, **kwargs)[source]

Every Project can have several Annotation Projects. Annotation Projects are used to track the precission etc. of automatic annotation tools.

class highlighter.models.MenuEntry(*args, **kwargs)[source]

Class that defines the menu structure of the context menu

class highlighter.models.Project(*args, **kwargs)[source]

Holds information on registered project. Id is used by the JavaScript function to target the right endpoints

class highlighter.models.TextHigh(*args, **kwargs)[source]

Holds unstructured text associated with one ore many entities/relations.

class highlighter.models.VocabularyAPI(*args, **kwargs)[source]

Class storing the information of the endpoints of the vocabularies.

Views