Skip to content

CLAMS "app patterns" or "task vocabulary"  #262

@haydenmccormick

Description

@haydenmccormick

Because

Views are rendered as appropriate tabs by attempting to ascertain the "abstract view type", e.g. OCR, ASR, NER, etc. This is done extremely naively, especially when checking for OCR views, since there is no standardized schema for what the output of a "thumbnail" view should look like. For example, these views could output:

As a Band-Aid solution, the OCR abstract view type checker just pattern matches against known OCR/CV apps to determine if a view is a thumbnail tab. This is obviously not great for long-term development, since it would require the list to be manually updated with every new OCR app, and it wouldn't support third-party (non-CLAMS-developed) apps.

Done when

This could be addressed in a few different ways:

  1. A standardized "abstract view type" as part of the metadata for MMIF views, defined by each CLAMS app separately
  2. Allowing the user to add views as tabs manually and specify their abstract type from within the app
  3. A much more advanced rule-based type checking system (if there is some consistent and maintained pattern)

There are most likely other solutions that may be more elegant/robust -- I'm leaving this issue open for further discussion on potential strategies/methods for dealing with this problem

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions