<Finding certain phrases in texts using R and crea...
# community-feeds
r
Finding certain phrases in texts using R and creating a list based on the findings [closed] I have a large data file that contains dozens of thousands of texts; each row includes a text and its ID number. I also have another list with a thousand idiomatic phrases. What I want to do is search the texts for these phrases and create a new dataset with the texts that include them. The new dataset should have 3 columns: text ID, text itself, and the idiomatic phrase that the text includes. Here is the tricky part: since idiomatic phrases can change according to tense and other factors,...