20 references to NgramExtractorTransform
Microsoft.ML.Transforms (20)
Text\TextFeaturizingEstimator.cs (4)
226
NgramExtractorTransform
.NgramExtractorArguments extractor = null;
229
extractor = new
NgramExtractorTransform
.NgramExtractorArguments();
259
NgramExtractorTransform
.NgramExtractorArguments extractor = null;
262
extractor = new
NgramExtractorTransform
.NgramExtractorArguments();
Text\WordBagTransform.cs (16)
21
[assembly: LoadableClass(
NgramExtractorTransform
.Summary, typeof(INgramExtractorFactory), typeof(
NgramExtractorTransform
), typeof(
NgramExtractorTransform
.NgramExtractorArguments),
22
typeof(SignatureNgramExtractorFactory), "Ngram Extractor Transform", "NgramExtractorTransform", "Ngram",
NgramExtractorTransform
.LoaderSignature)]
24
[assembly: EntryPointModule(typeof(
NgramExtractorTransform
.NgramExtractorArguments))]
44
/// A many-to-one column common to both <see cref="
NgramExtractorTransform
"/>
99
internal sealed class Options :
NgramExtractorTransform
.ArgumentsBase
131
new
NgramExtractorTransform
.Options()
138
Columns = new
NgramExtractorTransform
.Column[options.Columns.Length]
151
new
NgramExtractorTransform
.Column()
169
estimator = estimator.Append(
NgramExtractorTransform
.CreateEstimator(h, extractorArgs, estimator.GetOutputSchema(inputSchema)));
629
/// An implementation of <see cref="INgramExtractorFactory"/> to create <see cref="
NgramExtractorTransform
"/>.
633
private readonly
NgramExtractorTransform
.NgramExtractorArguments _extractorArgs;
638
public NgramExtractorFactory(
NgramExtractorTransform
.NgramExtractorArguments extractorArgs,
649
var options =
NgramExtractorTransform
.CreateNgramExtractorOptions(_extractorArgs, cols);
650
return
NgramExtractorTransform
.CreateEstimator(env, options, SchemaShape.Create(input.Schema), _termLoaderArgs).Fit(input);