# Additional hotkeys for the MedCat trainer (META annotations)

**URL:** <https://discourse.cogstack.org/t/additional-hotkeys-for-the-medcat-trainer-meta-annotations/138>\
**Category:** MedCAT\
**Created:** [January 16, 2023, 11:14am UTC](https://discourse.cogstack.org/t/additional-hotkeys-for-the-medcat-trainer-meta-annotations/138 "2023-01-16T11:14:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samora](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Samora](https://discourse.cogstack.org/u/Samora)\
**Post date:** [January 16, 2023, 11:14am UTC](https://discourse.cogstack.org/t/additional-hotkeys-for-the-medcat-trainer-meta-annotations/138/1 "2023-01-16T11:14:37Z")

</div>

The current hotkeys work well for correct/incorrect, next document, next annotation. However when annotating for meta annotations we need to take our hands off the keyboard and onto the mouse to toggle the meta annotations.

Additional hotkeys to toggle the meta annotations would be very useful and drastically speed up annotation projects.

Thanks.

---

<div class="post-metadata">

**Author:** ![anthony.shek](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anthony.shek](https://discourse.cogstack.org/u/anthony.shek)\
**Post date:** [January 16, 2023, 2:24pm UTC](https://discourse.cogstack.org/t/additional-hotkeys-for-the-medcat-trainer-meta-annotations/138/2 "2023-01-16T14:24:45Z")

</div>

Sure interested to explore this feature request.

Any preference on which hot keys and how you would like to use them at least across 3 multiple meta-annotations and meta tasks?

I suspect that this may not be easy to standardise across custom meta-tasks lot especially when each task can potentially have 5+ options.

---

<div class="post-metadata">

**Author:** ![Samora](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Samora](https://discourse.cogstack.org/u/Samora)\
**Post date:** [January 16, 2023, 3:04pm UTC](https://discourse.cogstack.org/t/additional-hotkeys-for-the-medcat-trainer-meta-annotations/138/3 "2023-01-16T15:04:58Z")

</div>

I currently have my left hand over 1 and 2 and right hand on the arrow keys.

Maybe remap confirmation keys to WASD? or use 3, 4, 5…

You could have one key to scroll through/select a meta annotation and another key to toggle the selected annotations options.

That would be just 4 keys (1,2,3,4) for correct incorrect and an arbitrary number of meta annotations.

Thanks

---

<div class="post-metadata">

**Author:** ![tomolopolis](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@tomolopolis](https://discourse.cogstack.org/u/tomolopolis)\
**Post date:** [January 16, 2023, 6:03pm UTC](https://discourse.cogstack.org/t/additional-hotkeys-for-the-medcat-trainer-meta-annotations/138/4 "2023-01-16T18:03:07Z")

</div>

Agree - hot keys would be nice for meta-annotations. There are defaults that you can set for each MetaAnnotation task which should speed up things.

3,4,5 are already set for the other potential choices for each concept. See screenshot of the the help (question mark icon on the top right) brings up a lightbox / dialog:

 ![Screenshot 2023-01-16 at 17.58.32](https://europe1.discourse-cdn.com/flex017/uploads/cogstack/original/1X/ea65ab375457873249eaf2542d9ccd248323a90c.png)

I can add a task for adding tab indexes and using `left``right` and `enter` to select, then `esc` to reset the tab index to -1 or something

---

<div class="post-metadata">

**Author:** ![anthony.shek](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anthony.shek](https://discourse.cogstack.org/u/anthony.shek)\
**Post date:** [January 19, 2023, 4:43pm UTC](https://discourse.cogstack.org/t/additional-hotkeys-for-the-medcat-trainer-meta-annotations/138/5 "2023-01-19T16:43:10Z")

</div>

So something I realised @tomolopolis

Users can use hotkeys even when (Terminate 3 and Irrelevant 5) are disabled from the project.  
I have had an annotator use these keys accidentally throughout projects and this majorly affects any outputs.

**Feature request** : for not set options, disable respective hotkeys

---

<div class="post-metadata">

**Author:** ![tomolopolis](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@tomolopolis](https://discourse.cogstack.org/u/tomolopolis)\
**Post date:** [January 19, 2023, 8:24pm UTC](https://discourse.cogstack.org/t/additional-hotkeys-for-the-medcat-trainer-meta-annotations/138/6 "2023-01-19T20:24:28Z")

</div>

Not sure - thats a feature request - but just a straight up 🐛.

Will add a ticket and get this fixed in the next release.

---

<div class="post-metadata">

**Author:** ![tomolopolis](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@tomolopolis](https://discourse.cogstack.org/u/tomolopolis)\
**Post date:** [January 23, 2023, 10:11am UTC](https://discourse.cogstack.org/t/additional-hotkeys-for-the-medcat-trainer-meta-annotations/138/7 "2023-01-23T10:11:13Z")

</div>

have fixed this. Will be available in the next release - sometime next week

---

<div class="post-metadata">

**Author:** ![tomolopolis](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@tomolopolis](https://discourse.cogstack.org/u/tomolopolis)\
**Post date:** [February 2, 2023, 1:02pm UTC](https://discourse.cogstack.org/t/additional-hotkeys-for-the-medcat-trainer-meta-annotations/138/8 "2023-02-02T13:02:19Z")

</div>

this release is now available. default docker-compose.yml is also updated: [MedCATtrainer/docker-compose.yml at master · CogStack/MedCATtrainer · GitHub](https://github.com/CogStack/MedCATtrainer/blob/master/docker-compose.yml)
