The part of speech feature and the person feature can be encoded into one-hot vectors x and y, respectively. We can get the embedded vector v from x and y:
z = concat([x, y])
v = z * E

where E is a trainable embedding matrix.