powered by
Count number of times a _single_ phrase appears in the corpus
phrase.count(phrase, corp)
A string
A corpus object from tm package
Other textregCounting: make.count.table, make.phrase.matrix
make.count.table
make.phrase.matrix
# NOT RUN { library( tm ) data( bathtub ) phrase.count( "bathtub", bathtub ) # }
Run the code above in your browser using DataLab