Is it possible to prevent Trankit to split words for POS-tagging on hyphens?
For example, it splits "out-of-print materials" to "out", "-", "of", "-", "print", "materials", and then does POS on each item separately. Sometimes a word on the whole could have one POS, but if Trankit splits the words, all of them get their own POS tag. Next I need to find a way to combine all of them back and choose only one POS. It makes the whole code quite cumbersome.
Is it possible to just prevent Trankit from doing that?
Dear community,
Is it possible to prevent Trankit to split words for POS-tagging on hyphens? For example, it splits "out-of-print materials" to "out", "-", "of", "-", "print", "materials", and then does POS on each item separately. Sometimes a word on the whole could have one POS, but if Trankit splits the words, all of them get their own POS tag. Next I need to find a way to combine all of them back and choose only one POS. It makes the whole code quite cumbersome.
Is it possible to just prevent Trankit from doing that?