We have `dfm_sample()` and `corpus_sample()`, but why not `tokens_sample()`? I am tied of doing ```r toks <- tokens(data_corpus_big) toks[sample(seq_along(toks), 10)] ``` just to check how tokenization is going.
We have
dfm_sample()andcorpus_sample(), but why nottokens_sample()?I am tied of doing
just to check how tokenization is going.