View source: R/removePhrases.R
removePhrases | R Documentation |
Remove a set of phrases from a phraseDoc object.
removePhrases(pd, phrs)
pd |
A phraseDoc object. |
phrs |
A set of phrases. |
A phraseDoc object with the phrases in phrs
removed.
tst=c("This is a test text", "This is a test text 2", "This is another test text", "This is another test text 2", "This girl will test text that man", "This boy will test text that man") pd=phraseDoc(tst) removePhrases(pd, c("test text","another test text"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.