let tagger = NSLinguisticTagger(tagSchemes: [.language], options: 0)
I am attempting to use Apple's ML Libraries for iOS and I am getting the error:
Type 'String' has no member 'language'
What is the issue with the enums? I followed an example and cannot tell the issue.
Did you try importing foundation?
import Foundation
at your file beginning
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.