i have written some rules to highlight diabetes but i want also to highlight 200.
I was wondering if i could do the following:
defSpanType X=:
...eq('prevalence') eq('of')[ eq('diabetes') ]eq('is')...;
defSpanType Y =:
...[re('[0-9]')]...;
defSpanType Y =:
...[@x @y)]...;
It seems though that it doesn't work. Is there a way to highlight two different words through one span? Apparently my way is not working. Is it because i am putting two different spans together and minorthird considers them to be right next to each other? I have been trying quite some time to do this.
Any help will be deeply appreciated!
George
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
just a quick question:
i have this sentence:
i have written some rules to highlight diabetes but i want also to highlight 200.
I was wondering if i could do the following:
It seems though that it doesn't work. Is there a way to highlight two different words through one span? Apparently my way is not working. Is it because i am putting two different spans together and minorthird considers them to be right next to each other? I have been trying quite some time to do this.
Any help will be deeply appreciated!
George
An annotation must be a contiguous span of text.
thanks