Unfortunately, NLTagger's enumerateTags() API is broken. Even after following Apple's example from the developer documentation, which is meant to demonstrate how to identify parts of speech in a given text, the only tag returned for each word is OtherWord:
I thought maybe it was a Simulator issue, so I quickly implemented an iOS app and copied over the code, but it didn't help.
I even tried with Xcode 15.0 beta 7: same.
Dear Core ML team, please fix/restore this functionality. Thanks!