Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement tagset support #91

Open
sdruskat opened this issue Jul 10, 2017 · 0 comments
Open

Implement tagset support #91

sdruskat opened this issue Jul 10, 2017 · 0 comments
Assignees
Labels

Comments

@sdruskat
Copy link
Contributor

sdruskat commented Jul 10, 2017

Atomic should provide tagset support as follows.

  • The core plugin should provide
    • An object model for tagsets as per the definition further below
    • A related API for constructing object models for a tagset, from some sort of tagset config file
    • Methods for loading tagsets for a corpus in the editor-related API
    • (Perhaps also tagset-aware default implementations for widgets)

and

  • Editor plugins should provide
    • Implementations of tagset-aware editor API (where needed)
    • Logic to provide widgets (comboboxes, etc.) backed by a tagset

In Atomic, a tagset is a definition of annotation values that are valid for a given combination of layers, Salt model elements, namespaces, names and values.

Layer (SLayer) Model element (SSpan, SSpanningRelation, etc.) Namespace (for SAnnotation) Name (SAnnotation name) Values (SAnnotation value)
Valid values List of layers ||
regex ||
null
List of elements ||
null
Empty string ||
List of namespaces ||
regex ||
null
List of names ||
regex ||
null
List of values ||
regex ||
null
A list of layers (defined by SLayer names A list of Salt element types (defined by SALT_TYPE) A list of namespaces (defined by namepsace Strings) A list of annotation names (defined by SAnnotation names) A list of valid annotation values (defined as pairs of value and description, i.e. [value, value description] or [regex, regex decription]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant