Skip to main content

Example Preprocessors

The following preprocessors have been developed for the Gravitate-Health platform and are available as open-source implementations.

Operational Preprocessors

NameDescriptionRepository
cleanera preprocessor that optimizes annotations, removing unused ones and reworking HTML codeView on GitHub
dictionaryA preprocessor that uses a dictionary database to locate and annotate specific words, so they can be linked to their dictionary/terminology definitionsView on GitHub
manualA Preprocessor that searches for matching and existing preprocessed ePI, usually edited manually. View on GitHub
terminologyA preprocessor that identifies terms in the ICPC2 terminology, and annotates the whole sentence it appears in.View on GitHub

Example Templates

ℹ️ Templates: These repositories are meant to be forked and used as starting points for developing your own preprocessors.
NameDescriptionRepository
example-pythona preprocessor writen in Python with helper functions to explore HTMLElementLink extensions and HTML content of the ePIView on GitHub
example-TypeScriptA Template preprocessor written in TypeScript.View on GitHub