setMinLanguageVoteFraction

public final void setMinLanguageVoteFraction(double value)

Consensus control for multi-language detection (only applies when is greater than 1). A secondary language that is not present in the whole-page reading is reported only if the regions that detect it make up at least this fraction (0.0 to 1.0) of all regions. Works together with to keep the extra language from being inferred from a negligible share of a long document.

Parameters

value

The value to set for the MinLanguageVoteFraction property.