I'm doing text analysis using R. Is there a way to remove all the words not in caps using tm
or stringi
?
If I have something like this
Albert Einstein went to the store and saw his friend Nikola Tesla ... + 200 pags
to be converted into
Albert Einstein Nikola Tesla
Best regards