Sonnet
guesslanguage.h
59 * Sets limits to number of languages returned by identify(). The confidence for each language is computed
60 * as difference between this and next language on the list normalized to 0-1 range. Reasonable value to get
61 * fairly sure result is 0.1 . Default is returning best guess without caring about confidence - exactly
QString identify(const QString &text, const QStringList &suggestions=QStringList()) const
Returns the 2 digit ISO 639-1 code for the language of the currently set text and.
Definition guesslanguage.cpp:550
void setLimits(int maxItems, double minConfidence)
Sets limits to number of languages returned by identify().
Definition guesslanguage.cpp:618
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:17 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:17 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.