The hard part with the explain function could come when including the symbols within the USAS tagset like the rarity symbols and the plus and minus symbols. The hard part about this would be how to represent that in the more verbose setting, e.g. if it was the tag X1+ the verbose could be either General positive or General (positive) whereby all extra symbol text is added to the original tag text within parentheses. I think I prefer the parentheses version.
spaCy has this really great function called explain, whereby it will output the verbose version of the tag, e.g.
I was thinking we could have the same functionaility within
pymusas
for USAS tags, what do you think @perayson , e.g.The hard part with the explain function could come when including the symbols within the USAS tagset like the rarity symbols and the plus and minus symbols. The hard part about this would be how to represent that in the more verbose setting, e.g. if it was the tag
X1+
the verbose could be eitherGeneral positive
orGeneral (positive)
whereby all extra symbol text is added to the original tag text within parentheses. I think I prefer the parentheses version.