annotate_text {poldis} | R Documentation |
This function relies on '{spacyr}' NLP parsing to annotate texts.
annotate_text(v, level = "words")
v |
Text vector |
level |
At which level would you like to parse the text? Options include "words" or "sentences". Defaults to "words". |
A data frame with syntax information by words or sentences in text.
#annotate_text(US_News_Conferences_1960_1980[1:2, 3])
#annotate_text(US_News_Conferences_1960_1980[1:2, 3], level = "sentence")