I would like to pickup weight units in order to be able to tell the user how much more can be packed in a parcel.
I found that there is an automatic annotation called %$UNIT.NER which recognizes weight units automatically in the input. I tried to extract the value using a listener with the following condition:
But when I then print the value for
amount, I always get it with the unit. Is there a way that I can access the value only, without the unit?
Thanks in advance!