Say I have a list of sentences like:
quick brown blah red work word
quick brown too red blah someone
quick gray one two three
quick gray two three four
quick gray johnson week summer
quick gray johnson day week water fall
quick gray wicked stopper fall
quick gray hotel flamer walk
doggie bone
doggie python
doggie python tree flower python
doggie python flower whatever
tree bone stick
I'm looking for code to return a list of the common 'parent' sentences:
quick brown
quick gray
quick gray johnson
doggie bone
doggie python
tree bone stick
THX