0

I would like to understand how to get a specific syntax for universal dependencies (POS-based), as they are the input for a code I'm trying to reproduce.

More specifically, I have this sentence

Workvivo received financial backing in its latest funding ...

POS tagged with Stanza like:

Workvivo_np1@_nn1 received_vvd financial_jj backing_nn1 in_ii its_appge latest_jjt funding_nn1 ..._...

I would like to get this output but don't understand how

VBD|obj_<<NN>>_JJ|amod

My code so far is using this pipeline

    nlp = stanza.Pipeline(lang='en', processors='tokenize,mwt,pos,lemma,depparse', verbose=False)
pos_tagging = nlp(sentence)

Is there any other library that could help me?

I don't really know the name of that kind of output and it would be useful aready

0 Answers0