Given a simple string:
t <- "hello world ww ff a wr gj dkjffdkn kuku"
VCorpus(VectorSource(t))
I want to filter out all the 2 and lower length substrings.
How can I do this using qdap or tm packages?
I know I can use regex for this but is there a function that does it?
With the package
qdapRegex, you can do: