(flist <- freqlist(tokenize("The old story of the old man and the sea.")))
# extract frequency counts from a frequency list
as_numeric(flist)
as.numeric(flist)
# preferable alternative
type_freqs(flist)
Run the code above in your browser using DataLab