extract nouns and verbs from a text dataframe and save it in two different dataframes in R -
this question has answer here:
- extracting nouns , verbs text 1 answer
i have text dataframe text columns. 1 of columns
hw motorola scanner model rssn missing issue damaged power connectionif serial provide extended part numberrs fsr = short cable attached wrist build type rpcolleague colin patterson contact number ensure main depot id selected ensure selected correct model position id save log
i have removed numbers, stopwords , punctuations text. want separate nouns , verbs , put them in different dataframes.
that not strictly trivial task. load library parts of speech each word (e.g. opennlp -> maxent_pos_tag_annotator), of them may either 1 part of speech or depending upon context, makes harder task programmatically perfect. hope opennpl package helps though.
Comments
Post a Comment