37 references to Language
Microsoft.ML.Samples (1)
Dynamic\Transforms\Text\RemoveDefaultStopWords.cs (1)
34
StopWordsRemovingEstimator.
Language
.English));
Microsoft.ML.Tests (1)
OnnxConversionTest.cs (1)
1568
StopWordsRemovingEstimator.
Language
.English));
Microsoft.ML.Transforms (35)
Text\StopWordsRemovingTransformer.cs (30)
77
public StopWordsRemovingEstimator.
Language
? Language;
110
public StopWordsRemovingEstimator.
Language
Language = StopWordsRemovingEstimator.Defaults.DefaultLanguage;
137
private static volatile Dictionary<ReadOnlyMemory<char>, StopWordsRemovingEstimator.
Language
> _langsDictionary;
149
var values = Enum.GetValues(typeof(StopWordsRemovingEstimator.
Language
)).Cast<int>();
164
private static Dictionary<ReadOnlyMemory<char>, StopWordsRemovingEstimator.
Language
> LangsDictionary
168
Dictionary<ReadOnlyMemory<char>, StopWordsRemovingEstimator.
Language
> result = _langsDictionary;
171
var langsDictionary = Enum.GetValues(typeof(StopWordsRemovingEstimator.
Language
)).Cast<StopWordsRemovingEstimator.
Language
>()
236
var
lang = (StopWordsRemovingEstimator.
Language
)ctx.Reader.ReadInt32();
237
Contracts.CheckDecode(Enum.IsDefined(typeof(StopWordsRemovingEstimator.
Language
), lang));
294
foreach (StopWordsRemovingEstimator.
Language
lang in Enum.GetValues(typeof(StopWordsRemovingEstimator.
Language
)))
319
private static void AddResourceIfNotPresent(StopWordsRemovingEstimator.
Language
lang)
341
private static Stream GetResourceFileStreamOrNull(StopWordsRemovingEstimator.
Language
lang)
408
StopWordsRemovingEstimator.
Language
stopWordslang = _parent._columns[iinfo].Language;
419
var
langToUse = stopWordslang;
470
var
langToUse = _parent._columns[iinfo].Language;
483
private void UpdateLanguage(ref StopWordsRemovingEstimator.
Language
langToUse, ValueGetter<ReadOnlyMemory<char>> getLang, ref ReadOnlyMemory<char> langTxt)
488
StopWordsRemovingEstimator.
Language
lang;
498
private bool ResourceExists(StopWordsRemovingEstimator.
Language
lang)
545
/// <seealso cref="TextCatalog.RemoveDefaultStopWords(TransformsCatalog.TextTransforms, string, string,
Language
)" />
575
public readonly
Language
Language;
588
Language
language = Defaults.DefaultLanguage,
627
public const
Language
DefaultLanguage =
Language
.English;
643
internal StopWordsRemovingEstimator(IHostEnvironment env, string outputColumnName, string inputColumnName = null,
Language
language =
Language
.English)
655
internal StopWordsRemovingEstimator(IHostEnvironment env, (string outputColumnName, string inputColumnName)[] columns,
Language
language =
Language
.English)
Text\TextCatalog.cs (2)
310
StopWordsRemovingEstimator.
Language
language = StopWordsRemovingEstimator.
Language
.English)
Text\TextFeaturizingEstimator.cs (3)
313
public StopWordsRemovingEstimator.
Language
StopwordsLanguage
314
=> (StopWordsRemovingEstimator.
Language
)Enum.Parse(typeof(StopWordsRemovingEstimator.
Language
), Language.ToString());