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