LanguageIdFilterOptions

Options & Configuration · AiDotNet.Data.Quality

Configuration options for language identification filtering.

How It Works

Uses character n-gram frequency profiles for language detection.

Constructors

Constructor Summary
LanguageIdFilterOptions()

Properties

Property Summary
double MinConfidence { get; set; } Minimum confidence score to accept detection.
int MaxProfileSize { get; set; } Maximum number of n-grams to keep in language profile.
int MinTextLength { get; set; } Minimum text length (in characters) for reliable detection.
int ProfileNGramSize { get; set; } N-gram size for character-level language profiles.
string[] TargetLanguages { get; set; } Target language codes to keep (e.g., “en”, “fr”).

Methods

Method Summary
void Validate() Validates that all option values are within acceptable ranges.