Question

The method I am doing right now is breaking the string into array of words in NSSet and minus the set of stopwords. Is there a more efficient way?

Was it helpful?

Solution

NSRegularExpression is your friend.

OTHER TIPS

A good regex library might do it faster.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top