iOS, Machine Learning, iOS App Development, Artificial Intelligence, Programming.
NLTagger.Options = [.omitWhitespace, .omitPunctuation] tagger.string = text tagger.setGazetteers([gazetteer], for: .nameTypeOrLexicalClass) tagger.enumerateTags(in: text.startIndex..<text.endIndex, unit: .word, scheme: .nameTypeOrLexicalClass, options: options) { tag, tokenRange in if let tag = tag