strSplitTab {SherlockHolmes} | R Documentation |
use strsplit to parse words from text t, delete the empty string from the result, and compile into a sorted table of word frequencies
strSplitTab(t)
t |
vector of character strings representing lines of the orginal text |
a sorted table of raw word counts
sst<-strSplitTab(texts.vec)