POS_Extract: Extract sentences with the POS tags desired

Description Usage Arguments Examples

Description

This uses udpipe to tag the text. It then compresses all of the text so you have continuous POS tagging or the whole text. The udpipe package has to be pre downloaded to run this.

Usage

1
POS_Extract(POS_seq, columnPOS, columnSentence)

Arguments

POS_seq

The POS tag sequence to extract

columnPOS

The column with the POS tags

columnSentence

The column with the sentence

Examples

1
2
3
#Has to be after POS extraction is done
#mylist<-POS_Extract("NOUN;ADJ;NOUN",MergedUp$upos,MergedUp$sentence)
#MergedUp$Extr<-mylist

sebastiz/EndoMineR_devlop documentation built on May 29, 2019, 7:33 a.m.