Skip to content

HuygensING/TAG

Repository files navigation

Text as Graph (TAG)

What is it?

The Text As Graph (TAG) data model is a directed property hypergraph for modeling text, markup (roughly comparable to XML elements), and annotations (roughly comparable to what XML attributes would be like if they could contain markup, including attributes on attributes).

News

New release: Alexandria 2.4 (October 2020)

New features:
  • The export-xml now has an option to choose a 'leading' layer. When a TAGML document has multiple layers, export-xml uses Trojan Horse Milestones on the layers. Previously it used these on all layers. In this version you can indicate a layer to define the XML hierarchy: markup in this leading layer will be output as regular XML open/close tags, for all other layers the Trojan Horse Milestones will be used.
  • When a view is active, changes to its definition file cannot be committed.
  • init now also creates a sparql directory.
  • export-xml (new option: --leadinginglayer / -l)

New release: LSP-tagml 1.0.1 (May 2020)

LSP-tagml is a plugin for Sublime Text 3 that installs the tagml-language-server.

New release: tagml-language-server 0.1 (May 2020)

The tagml-language-server is an implementation of the Language Server Protocol for TAGML. When linked with a compatible editor, it can be used to provide syntax help in the editor.

New release: Alexandria 2.3 (September 2019)

Bugfixes:
  • It is now possible, when a view other than the default view is active, to commit new and changed view definitions, and new tagml source files. Committing changes to tagml source files of existing documents is still only possible when the default view is active.
  • Running alexandria init in your home directory is not allowed and will fail with an error message.
  • alexandria status will now only search one level deep in watched directories for files/directories that may be added.
  • When committing a view definition which is valid json, but does not contain at least one of the required fields includeLayers, excludeLayers, includeMarkup, excludeMarkup, alexandria would silently accept this, producing an invalid view. This has been fixed: committing this view definition will not fail with an error message.

New release: Alexandria 2.2 (July 2019)

  • query
Bugfixes:
  • After a revert, the reverted file is now no longer shown as modified.
  • It is now possible to run alexandria commands from any directory, provided one of its parent directories has been initialized.

New release: Alexandria 2.1 (December 2018)

New features:
  • about
  • add
  • commit
  • export-dot
  • export-svg
  • export-png
  • export-xml
Bugfixes:
  • The first markup is now always the root markup for the default layer, even if new layers are defined on that markup.
  • This means that this first markup tag must correspond with the last closing markup tag, and suspending/resuming of this markup is not allowed.

Upcoming presentation

Elli Bleeker, Bram Buitendijk, and Ronald Haentjens Dekker. “Between Flexibility and Universality: Combining TAGML with XML to Improve the Modeling of Cultural Heritage Texts”. Short paper at the online workshop Computational Humanities Research, November 18-20, 2020.

Implementations

Alexandria

Alexandria is a prototype implementation of TAG.

TAGML

TAGML (Text-As-Graph Markup Language) is a syntax for the TAG model.

HyperCollate

HyperCollate is a prototype collation engine that is able to handle intradocumentary variation (i.e. variation within one document), in addition to finding the differences between witnesses. This advanced form of collation is possible because HyperCollate looks not only at the text of a document, but also at its markup.

Presentations and Publications

TAG-related GitHub repositories

TAG-related GitHub repositories

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published