Generalized pos parser to catch possible edge cases
Remove Decoder class