View source: R/text_searching.R
| phrase.count | R Documentation |
Count number of times a _single_ phrase appears in the corpus
phrase.count(phrase, corp)
phrase |
A string |
corp |
A corpus object from tm package |
Other textregCounting:
make.count.table(),
make.phrase.matrix()
library( tm )
data( bathtub )
phrase.count( "bathtub", bathtub )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.