Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205372

how to obtain morphological features of head_token along with lemma in Udpipe?

$
0
0

I am relatively new to Udpipe-environment. Is there a way to extract morphological features of headtokens and along with KWIC in same dataframe in Udpipe? For instance, I would like to get subjects and objects of certain verbs based on dep_rel. However, I would like to extract "feats" for verbs as well. In this case, regarding dep_rel of both nsubj and obj %in% upos "Noun", Verbs are tagged with headtoken_id. is it possible to get morphological feats of Verbs in the same df? Unfortunately, cbind_depend function only allows "parent" not "child" yet. How about a workaround?

Best.


Viewing all articles
Browse latest Browse all 205372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>