Contents

languageHypothesesWithMaximum:

Generates the probabilities of possible languages for the processed text.

Declaration

- (NSDictionary<NSString *,NSNumber *> *) languageHypothesesWithMaximum:(NSUInteger) maxHypotheses;

Parameters

  • maxHypotheses:

    The maximum number of languages to return.

Mentioned in

Return Value

A dictionary mapping languages with their probabilities, up to maxHypotheses languages.

See Also

Determining the language