# Annotate adjacent spans in MedCATTrainer

**URL:** <https://discourse.cogstack.org/t/annotate-adjacent-spans-in-medcattrainer/282>\
**Category:** MedCAT\
**Created:** [February 19, 2024, 1:58pm UTC](https://discourse.cogstack.org/t/annotate-adjacent-spans-in-medcattrainer/282 "2024-02-19T13:58:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmmurphy](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@rmmurphy](https://discourse.cogstack.org/u/rmmurphy)\
**Post date:** [February 19, 2024, 1:58pm UTC](https://discourse.cogstack.org/t/annotate-adjacent-spans-in-medcattrainer/282/1 "2024-02-19T13:58:51Z")

</div>

I am annotating a corpus of Dutch text. In Dutch words are often joined together, for example ‘contrastnefropathie’ rather than ‘contrast nephropathy’ as you would see in English. In MedCATTrainer if you try to annotate a span that is immediately adjacent to another span (for example, ‘contrast’ and then ‘nefropathie’), the annotation on the first span will disappear. Has anyone else experienced this?

---

<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:** [March 11, 2024, 3:57pm UTC](https://discourse.cogstack.org/t/annotate-adjacent-spans-in-medcattrainer/282/2 "2024-03-11T15:57:17Z")

</div>

Oh that is potentially an issue. This will always occur unless there is at least a whitespace separation (MedCATtrainer does not support subword annotations).

I haven’t come across many of these types of examples in English. In our case a concept is always one word or longer in length.

To overcome this in the meantime. Have you thought about creating and adding a single custom concept called “contrastnefropathie” rather than annotating “contrast” and “nefropathie”?
