languageHypotheses(withMaximum:)
Generates the probabilities of possible languages for the processed text.
Declaration
@nonobjc func languageHypotheses(withMaximum maxHypotheses: Int) -> [NLLanguage : Double]Parameters
- maxHypotheses:
The maximum number of languages to return.
Return Value
A dictionary mapping languages with their probabilities, up to maxHypotheses languages.