LanguageGuess class final
A detected language with its confidence in [0.0, 1.0].
Constructors
- LanguageGuess(String code, double confidence)
-
Creates a guess for
codewith the givenconfidence.const
Properties
- code → String
-
ISO 639-1 language code (e.g.
"en","hu"). Matches the code set used bybetto_lexical'sStopwordsenum.final - confidence → double
-
Confidence in
[0.0, 1.0].final - hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override