Laya.Catalyst
26.9.5740
dotnet add package Laya.Catalyst --version 26.9.5740
NuGet\Install-Package Laya.Catalyst -Version 26.9.5740
<PackageReference Include="Laya.Catalyst" Version="26.9.5740" />
<PackageVersion Include="Laya.Catalyst" Version="26.9.5740" />
<PackageReference Include="Laya.Catalyst" />
paket add Laya.Catalyst --version 26.9.5740
#r "nuget: Laya.Catalyst, 26.9.5740"
#:package Laya.Catalyst@26.9.5740
#addin nuget:?package=Laya.Catalyst&version=26.9.5740
#tool nuget:?package=Laya.Catalyst&version=26.9.5740
Laya.Catalyst
A statistical language identifier for Laya's Router, backed by
Catalyst's language detector (53 languages, model embedded in
the Catalyst package — nothing is downloaded).
using Laya;
using Laya.Catalyst;
var router = new Router { LanguageClassifier = await CatalystLanguageClassifier.CreateAsync() };
router.Route("Saya ditagih dua kali untuk langganan saya bulan ini").Model; // "multilingual"
Laya's built-in detector is exact about script and names a Latin-script language only on stopword
evidence. Text it cannot identify that carries no non-English letters — plain-ASCII Indonesian, Swahili,
Tagalog, Turkish with its letters stripped — is otherwise treated as English and sent to the checkpoint
that cannot read it. The classifier is consulted for exactly that case: it can move an undecided state to
the multilingual checkpoint, never an identified one away from it, and it is not asked about text shorter
than MinimumWords or trusted below MinimumProbability.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.