linguisticTags(in:scheme:options:orthography:tokenRanges:)
Returns an array of linguistic tags for the specified range and requested tags within the receiving string.
Declaration
func linguisticTags<T, R>(in range: R, scheme tagScheme: T, options opts: NSLinguisticTagger.Options = [], orthography: NSOrthography? = nil, tokenRanges: UnsafeMutablePointer<[Range<Self.Index>]>? = nil) -> [String] where T : StringProtocol, R : RangeExpression, R.Bound == String.Index