NSLinguisticTagger: Lexical class parsing not available on device

NSArray<NSLinguisticTagScheme> *tagSchemes = [NSLinguisticTagger availableTagSchemesForLanguage:@"en"];
NSLog(@"Available tag schemes %@", tagSchemes);


On my simulator this code prints:

Available tag schemes (
    Language,
    Script,
    TokenType,
    LexicalClass,
    NameType,
    NameTypeOrLexicalClass,
    Lemma
)


On my iPhone 6+ iOS11 it prints:


Available tag schemes (
    Language,
    Script,
    TokenType
)


Why is Lexical Class parsing not available on my device? E.g. `NSLinguisticTagSchemeNameTypeOrLexicalClass` or `NSLinguisticTagSchemeLexicalClass`

Replies

I tested on an iPhone X and it correctly allows LexicalClass and NameTypeOrLexicalClass. Why does iPhone6+ not allow lexical class parsing?

Please file a bug report here: https://developer.apple.com/bug-reporting/