LanguageGuess class final

A detected language with its confidence in [0.0, 1.0].

Constructors

LanguageGuess(String code, double confidence)
Creates a guess for code with the given confidence.
const

Properties

code String
ISO 639-1 language code (e.g. "en", "hu"). Matches the code set used by betto_lexical's Stopwords enum.
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