Three Ways to Enumerate the Words In a String Using Swift
Søren L Kristiansen
211
Thanks very much, Soren — you’ve provided a great explanation and demonstration of the tokenization capabilities of String, CFStringTokenizer, and NSLinguisticTagger.
One question: you don’t mention CFStringTokenizerGetCurrentSubTokens(_:_:_:_:). Could this method be used as an alternative approach in your StringTokenization-3 example, above?