Computer Aided Textual Markup & Analysis
 
 
 
 


CATMA is written in Java. It uses the GWT-based Vaadin framework for client-server communication and for the generation and delivery of HTML/CSS/Javascript for the GUI. The CATMA server component is backed by a MySQL database. CATMA is released under the GPLv3.

Tagger

One of CATMA's central entities is the text range. All markup generated by the user references text in terms of character offsets. So the smallest referenceable text sequence is one character long, this also includes punctuation marks and blanks. Another central entity is the the Tag Instance which is a typed set of key value pairs that is attached to one or more text ranges. The latter allows CATMA to support discontinuous markup. The type of a Tag Instance is defined by a Tag Definition which is a named set of properties. The property set contains at least a color property. The Tag Definitions can be created freely by the user. CATMA is not bound to the analysis of a specific topic, it can be extended easily to any field of research that can benefit from text analysis.

See the database model for more details:

CATMA Repository DB

CATMA Index DB

For better tool interoperability we offer a TEI export of the user generated markup. To be able to support the free creation of Tag Definitions CATMA makes heavy use of the Feature Declaration System and Feature Structures. We use Standoff Markup. Text ranges (<seg>) are linked to Tag Instances by the use of the @ana attribute. The text itself is represented by <ptr>-Elements that reference the original Source Document. The Source Document, i.e. the text to be annotated is not changed in any way.

Analyzer

The Analyzer's main component is the CATMA Query Language that consists of several simple query types that can be combined to form complex queries. The query engine is based on the antlr library. Especially the CATMA Query Language is heavily inspired by TACT. Some query types are backed by a database containing index tables and are implemented in SQL. The language offers a regular expression query which uses Java's native regular expression capabilities.