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

Useful scripts for UCCAApp API #49

Open
omriabnd opened this issue Nov 1, 2018 · 1 comment
Open

Useful scripts for UCCAApp API #49

omriabnd opened this issue Nov 1, 2018 · 1 comment

Comments

@omriabnd
Copy link
Member

omriabnd commented Nov 1, 2018

Useful scripts for admining UCCAApp:

  1. script that gets a list of tasks and a number and outputs all units with that number of categories. example: all units with 3 categories.
  2. same but outputs all units that have a specific category X, have a parent category Y and have a top-level ancestor category Z.
  3. specify a list of tokens and a category, output units that contain all these tokens (consecutively, not necessarily consecutively but in the same order, or in any order) and has that category. allow filter that only outputs top-level unit or only outputs their minimal ancestor.
  4. same but all remotes and implicits with a given category. (allow filtering by number of tokens in the remote)

table format for above scripts: task ID, username, unit ID, unit text, ancestor unit annotation (whole sub-tree), ancestor unit text, comment

  1. Creating tok tasks from passages (given a list of )
  2. Creating annotation tasks from tok tasks (given a list of )
  3. Creating review tasks from annotation tasks (given a list of )
@omriabnd
Copy link
Member Author

Also create a script that submits a list of task IDs.
And a script with a list of task IDs that turns their status from SUBMITTED to ONGOING.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant