Hello! I have a rookie question, hopefully it is not too primitive for this group.
I am trying to tag named entities like songs and artists in sentences like "Play X by Y on spotify" (where 'on spotify' may or may not occur in the text). For X and Y, I am using a looped box with <TOKEN> or <DIC>+<!DIC>. Making 'on spotify' optional messes with the output as it is also recognized as the possible part of the <TOKEN> loop. What is the best practice to solve such issues? Thank you very much in advance