Is there a better way to remove stopwords in objective c?
-
08-10-2019 - |
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?
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