GitDOX
  • Download
  • Documentation
  • corpling@GU

GitDOX

A version controlled multilayer annotation interace for corpus data.

GitDOX is the Git Data-storage Online XML and multilayer annotation editor. Its main features are:

  • Save data locally, on the server and/or directly to GitHub
  • One collaborative version per file: no forks, branches or conflicts possible
  • Multiple pluggable editor widgets tailored for XML, UD syntax trees, tabular annotations, entities and coreference
  • Realtime automatic continuous saving and validation with error highlighting
  • Skinnable for different projects

For more information and to cite this tool, please refer to the following paper:

    Zhang, Shuo and Zeldes, Amir (2017) "GitDOX: A Linked Version Controlled Online XML Editor for Manuscript Transcription". In: Proceedings of FLAIRS 2017, Special Track on Natural Language Processing of Ancient and other Low-resource Languages. Marco Island, FL, 619-623.

GitDOX Instances

  • The GitDOX editor widget demo (no backend, just basic editor functionality)
  • Coptic Scriptorium - a platform for interdisciplinary and computational research in texts in the Coptic language (http://copticscriptorium.org/)
  • LING-4427 - annotation interface for the GUM corpus, built as part of the course LING-4427 at Georgetown

XML editor Spreadsheet mode

Project management

GitDOX lets you track progress on annotation projects:

  • Assign documents to users
  • Define statuses such as annotation, adjudication, published...
  • Group multiple documents under a corpus
  • Control XML, spreadsheet and metadata validity from a central dashboard

Annotation and Validation

XML mode

In XML mode, the GitDOX editor lets you use a browser based XML editor to enter annotated text in any annotation scheme. You can assign an XSD schema to validate each document and report results to the user in the editor, or for all documents in the project dashboard.

You can also use CodeMirror's built in syntax highlighting and auto-complete options to define your own tags.

Try the XML editor demo

Spreadsheet mode

You can use the spreadsheet mode to annotate tokens of running text, in a one token per line format, or define more granular columns to support sub-word annotations. Other columns express various annotations, with multirow spans used to represent annotations of multiple tokens (e.g. entity annotations, chunks, paragraphs, etc.). All editors are multi-user aware, enabling collaboration on one document using Optimistic Concurrency Control.

Try the spreadsheet editor demo

Spannotator mode

The Spannotator editor is tailor made for entity and grouping annotations, such as named entity recognition, entity type annotation, coreference resolution, bridging anaphora and named entity linking. Users can wrap tokens in nested boxes which can be grouped by color to represent coreferring expressions or other groupings, and/or connected via edges between boxes. Arbitrary key-value annotations can be added to entity boxes, among other features. As with other modes, all edits are saved and validated in real time on each edit, and progress can be committed to GitHub.

Try the Spannotator editor demo

Dendroid mode

The Dendroid editor supports dependency syntax annotation, primarily aimed at the Universal Dependencies standard, but fully customizable. It supports user defined labels, annotating tags and lemmas, basic and enhanced (multiplanar and cyclical) dependencies, multiword tokens and ellipsis token annotations. Multiple annotators are supported and individual annotator trees can be compared visually and exported separately. The editor can import and export CoNLL-U formatted data.

Try the Dendroid editor demo

Validation control

Beyond using XSD schemas, you can define validation rules for metadata, label and spreadsheet content using rules that apply to all documents, individual corpora, or individual documents. Rules can require metadata and annotations to be:

  • present - the tag type or metadatum must exist, or
  • match a certain regular expression pattern

Annotations can also be required to:

  • have the same span in tokens (token span must match for tags)
  • nest - one annotation may never be smaller, or break across, spans in another annotation
  • have the same text, sum up to the text of another annotation and more

Validation violations are reported in the editor window and dashboard with linked violating token Ids, and the corresponding annotations or metadata are automatically highlighted

Version Control

GitDOX stores data locally on the server, but also uses GitHub as a backend for version control. Users with committing permissions can commit serialized files of their annotations using XML or the Corpus Workbench vertical format. GitDOX users can be paired with GitHub user names and tokens to allow use of GitHub's own version history tools and user tracking: commit messages and committing users are logged as if they committed to GitHub using Git themselves.

Because only one branch and no forks are used in the repo configured for each document, it is impossible to create version conflicts, and annotators do not need to learn how to use GitHub: the latest committed version always overwrites the previous one, and in case of errors, data can be restored from GitHub itself with the press of a button.

Acknowledgments

GitDOX has been developed at Georgetown University primarily by:

  • Amir Zeldes
  • Emma Manning
  • Luke Gessler
  • Shuo Zhang

Support for GitDOX development has been provided by the National Endowment for the Humanities (NEH) and German Research Council (DFG) as part of the bilateral KELLIA project.


© 2017–2026 Amir Zeldes. Code released under the Apache 2.0 License.