LanguageResult<T>

Models & Types · AiDotNet.Interfaces

Represents the result of language identification.

Constructors

Constructor Summary
LanguageResult()

Properties

Property Summary
T AlternativeProbability { get; set; } Gets the probability of the alternative language.
T Confidence { get; set; } Gets the confidence score (0.0 to 1.0).
string AlternativeLanguage { get; set; } Gets the second most likely language (if close in probability).
string LanguageCode { get; set; } Gets the detected language code (ISO 639-1/3).
string LanguageName { get; set; } Gets the human-readable language name.