2 writes to _columns
Microsoft.ML.Transforms (2)
Text\StopWordsRemovingTransformer.cs (2)
202
_columns
= columns;
233
_columns
= new StopWordsRemovingEstimator.ColumnOptions[columnsLength];
11 references to _columns
Microsoft.ML.Transforms (11)
Text\StopWordsRemovingTransformer.cs (11)
133
internal IReadOnlyCollection<StopWordsRemovingEstimator.ColumnOptions> Columns =>
_columns
.AsReadOnly();
217
foreach (var column in
_columns
)
239
_columns
[i] = new StopWordsRemovingEstimator.ColumnOptions(ColumnPairs[i].outputColumnName, ColumnPairs[i].inputColumnName, lang, langColName);
288
for (int iinfo = 0; iinfo <
_columns
.Length; iinfo++)
289
requiredResources[(int)
_columns
[iinfo].Language] = true;
375
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", parent.
_columns
[i].InputColumnName, StopWordsRemovingEstimator.ExpectedColumnType, srcType.ToString());
378
if (!string.IsNullOrEmpty(_parent.
_columns
[i].LanguageColumn))
380
if (!inputSchema.TryGetColumnIndex(_parent.
_columns
[i].LanguageColumn, out int langCol))
381
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "language", _parent.
_columns
[i].LanguageColumn);
408
StopWordsRemovingEstimator.Language stopWordslang = _parent.
_columns
[iinfo].Language;
470
var langToUse = _parent.
_columns
[iinfo].Language;