1 write to Text
Microsoft.ML.Data (1)
Transforms\TransformsCatalog.cs (1)
44
Text
= new TextTransforms(this);
136 references to Text
Microsoft.ML.AutoML (3)
EstimatorExtensions\EstimatorExtensions.cs (1)
242
return context.Transforms.
Text
.FeaturizeText(outColumn, inColumn);
SweepableEstimator\Estimators\FeaturizeText.cs (1)
11
return context.Transforms.
Text
.FeaturizeText(param.OutputColumnName, param.InputColumnName);
SweepableEstimator\Estimators\NormalizeText.cs (1)
15
return context.Transforms.
Text
.NormalizeText(param.OutputColumnName, param.InputColumnName, param.CaseMode, param.KeepDiacritics, param.KeepPunctuations, param.KeepNumbers);
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
1374
var pipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
Microsoft.ML.IntegrationTests (16)
DataTransformation.cs (1)
137
var pipeline = mlContext.Transforms.
Text
.FeaturizeText("Features",
Debugging.cs (1)
49
var pipeline = mlContext.Transforms.
Text
.FeaturizeText(
Evaluation.cs (3)
65
var pipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
94
var pipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
300
var pipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
IntrospectiveTraining.cs (4)
81
var pipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
184
var pipeline = mlContext.Transforms.
Text
.ProduceWordBags("SentimentBag", "SentimentText")
185
.Append(mlContext.Transforms.
Text
.LatentDirichletAllocation("Features", "SentimentBag",
225
var pipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
Prediction.cs (1)
50
var pipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
Training.cs (6)
41
var featurizationPipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
92
var featurizationPipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
136
var featurizationPipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
180
var featurizationPipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
224
var featurizationPipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
406
var featurizationPipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
Microsoft.ML.PerformanceTests (5)
FeaturizeTextBench.cs (1)
62
var featurizer = _mlContext.Transforms.
Text
.FeaturizeText(textColumn, new TextFeaturizingEstimator.Options()
PredictionEngineBench.cs (1)
93
var pipeline = mlContext.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
StochasticDualCoordinateAscentClassifierBench.cs (2)
102
var text = _mlContext.Transforms.
Text
.FeaturizeText("WordEmbeddings", new TextFeaturizingEstimator.Options
112
var trans = _mlContext.Transforms.
Text
.ApplyWordEmbedding("Features", "WordEmbeddings_TransformedText",
TextPredictionEngineCreation.cs (1)
28
var pipeline = _context.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
Microsoft.ML.Samples (35)
Dynamic\NgramExtraction.cs (3)
42
var charsPipeline = ml.Transforms.
Text
46
var ngramOnePipeline = ml.Transforms.
Text
49
var ngramTwpPipeline = ml.Transforms.
Text
Dynamic\SimpleDataViewImplementation.cs (1)
36
var transformedDataView = mlContext.Transforms.
Text
.TokenizeIntoWords(
Dynamic\TensorFlow\TextClassification.cs (1)
100
mlContext.Transforms.
Text
.TokenizeIntoWords(
Dynamic\TextTransform.cs (2)
44
var default_pipeline = ml.Transforms.
Text
50
var customized_pipeline = ml.Transforms.
Text
Dynamic\Transforms\Conversion\KeyToValueToKey.cs (2)
30
var defaultPipeline = mlContext.Transforms.
Text
.TokenizeIntoWords(
41
var customizedPipeline = mlContext.Transforms.
Text
.TokenizeIntoWords(
Dynamic\Transforms\Text\ApplyCustomWordEmbedding.cs (3)
47
var textPipeline = mlContext.Transforms.
Text
.NormalizeText("Text")
48
.Append(mlContext.Transforms.
Text
.TokenizeIntoWords("Tokens",
50
.Append(mlContext.Transforms.
Text
.ApplyWordEmbedding("Features",
Dynamic\Transforms\Text\ApplyWordEmbedding.cs (3)
36
var textPipeline = mlContext.Transforms.
Text
.NormalizeText("Text")
37
.Append(mlContext.Transforms.
Text
.TokenizeIntoWords("Tokens",
39
.Append(mlContext.Transforms.
Text
.ApplyWordEmbedding("Features",
Dynamic\Transforms\Text\FeaturizeText.cs (1)
53
var textPipeline = mlContext.Transforms.
Text
.FeaturizeText("Features",
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (1)
71
var textPipeline = mlContext.Transforms.
Text
.FeaturizeText("Features",
Dynamic\Transforms\Text\LatentDirichletAllocation.cs (5)
40
var pipeline = mlContext.Transforms.
Text
.NormalizeText("NormalizedText",
42
.Append(mlContext.Transforms.
Text
.TokenizeIntoWords("Tokens",
44
.Append(mlContext.Transforms.
Text
.RemoveDefaultStopWords("Tokens"))
46
.Append(mlContext.Transforms.
Text
.ProduceNgrams("Tokens"))
47
.Append(mlContext.Transforms.
Text
.LatentDirichletAllocation(
Dynamic\Transforms\Text\NormalizeText.cs (1)
26
var normTextPipeline = mlContext.Transforms.
Text
.NormalizeText(
Dynamic\Transforms\Text\ProduceHashedNgrams.cs (2)
45
var textPipeline = mlContext.Transforms.
Text
.TokenizeIntoWords("Tokens",
48
.Append(mlContext.Transforms.
Text
.ProduceHashedNgrams(
Dynamic\Transforms\Text\ProduceHashedWordBags.cs (1)
47
var textPipeline = mlContext.Transforms.
Text
.ProduceHashedWordBags(
Dynamic\Transforms\Text\ProduceNgrams.cs (2)
52
var textPipeline = mlContext.Transforms.
Text
.TokenizeIntoWords("Tokens",
57
.Append(mlContext.Transforms.
Text
.ProduceNgrams("NgramFeatures",
Dynamic\Transforms\Text\ProduceWordBags.cs (1)
55
var textPipeline = mlContext.Transforms.
Text
.ProduceWordBags(
Dynamic\Transforms\Text\RemoveDefaultStopWords.cs (2)
30
var textPipeline = mlContext.Transforms.
Text
.TokenizeIntoWords("Words",
32
.Append(mlContext.Transforms.
Text
.RemoveDefaultStopWords(
Dynamic\Transforms\Text\RemoveStopWords.cs (2)
29
var textPipeline = mlContext.Transforms.
Text
.TokenizeIntoWords("Words",
31
.Append(mlContext.Transforms.
Text
.RemoveStopWords(
Dynamic\Transforms\Text\TokenizeIntoCharactersAsKeys.cs (1)
28
var textPipeline = mlContext.Transforms.
Text
Dynamic\Transforms\Text\TokenizeIntoWords.cs (1)
29
var textPipeline = mlContext.Transforms.
Text
.TokenizeIntoWords("Words",
Microsoft.ML.Samples.GPU (1)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\TextClassification.cs (1)
100
mlContext.Transforms.
Text
.TokenizeIntoWords(
Microsoft.ML.TensorFlow.Tests (1)
TensorflowTests.cs (1)
1280
var estimator = _mlContext.Transforms.
Text
.TokenizeIntoWords("TokenizedWords", "Sentiment_Text")
Microsoft.ML.TestFramework (2)
DataPipe\TestDataPipe.cs (2)
1549
var est = ML.Transforms.
Text
.LatentDirichletAllocation(opt);
1606
var lda = ML.Transforms.
Text
.LatentDirichletAllocation("Zeros").Fit(srcView).Transform(srcView);
Microsoft.ML.Tests (65)
OnnxConversionTest.cs (13)
853
var pipeline = mlContext.Transforms.
Text
.ApplyWordEmbedding("Embed", embedNetworkPath, "Tokens");
1448
var pipeline = mlContext.Transforms.
Text
.TokenizeIntoWords("Tokens", "Text", new[] { ' ' });
1478
mlContext.Transforms.
Text
.TokenizeIntoWords("Tokens", "Text", new[] { ' ' })
1480
.Append(mlContext.Transforms.
Text
.ProduceNgrams("NGrams", "Tokens",
1485
mlContext.Transforms.
Text
.TokenizeIntoCharactersAsKeys("Tokens", "Text")
1486
.Append(mlContext.Transforms.
Text
.ProduceNgrams("NGrams", "Tokens",
1491
mlContext.Transforms.
Text
.ProduceWordBags("Tokens", "Text",
1496
mlContext.Transforms.
Text
.TokenizeIntoWords("Tokens0", "Text")
1497
.Append(mlContext.Transforms.
Text
.ProduceWordBags("Tokens", "Tokens0"))
1541
var pipeline = mlContext.Transforms.
Text
.TokenizeIntoWords("Words", "Text")
1542
.Append(mlContext.Transforms.
Text
.RemoveStopWords(
1565
var pipeline = mlContext.Transforms.
Text
.TokenizeIntoWords("Words", "Text")
1566
.Append(mlContext.Transforms.
Text
.RemoveDefaultStopWords(
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (8)
521
mlContext.Transforms.
Text
.FeaturizeText("TextFeatures", "Message")
524
.Append(mlContext.Transforms.
Text
.NormalizeText("NormalizedMessage", "Message"))
527
.Append(mlContext.Transforms.
Text
.ProduceWordBags("BagOfWords", "NormalizedMessage"))
530
.Append(mlContext.Transforms.
Text
.ProduceHashedWordBags("BagOfBigrams", "NormalizedMessage",
534
.Append(mlContext.Transforms.
Text
.TokenizeIntoCharactersAsKeys("MessageChars", "Message"))
535
.Append(mlContext.Transforms.
Text
.ProduceNgrams("BagOfTrichar", "MessageChars",
541
.Append(mlContext.Transforms.
Text
.TokenizeIntoWords("TokenizedMessage", "NormalizedMessage"))
542
.Append(mlContext.Transforms.
Text
.ApplyWordEmbedding("Embeddings", "TokenizedMessage",
Scenarios\Api\Estimators\MultithreadedPrediction.cs (1)
31
var pipeline = ml.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
Scenarios\Api\Estimators\SimpleTrainAndPredict.cs (2)
29
var pipeline = ml.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
66
var pipeline = ml.Transforms.
Text
.FeaturizeText("Features", "SentimentText")
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (1)
28
var pipeline = ml.Transforms.
Text
.FeaturizeText("Features", "SentimentText");
Scenarios\WordBagTest.cs (4)
32
mlContext.Transforms.
Text
.ProduceWordBags("Text", "Text",
34
mlContext.Transforms.
Text
.ProduceWordBags("Text2", new[] { "Text2", "Text2" },
69
mlContext.Transforms.
Text
.ProduceHashedWordBags("Text", "Text", ngramLength: 3, useAllLengths: false).Append(
70
mlContext.Transforms.
Text
.ProduceHashedWordBags("Text2", new[] { "Text2", "Text2" }, ngramLength: 3, useAllLengths: false));
Transformers\CategoricalHashTests.cs (1)
89
var est = ML.Transforms.
Text
.TokenizeIntoWords("VarVectorString", "ScalarString")
Transformers\CategoricalTests.cs (1)
164
var est = ML.Transforms.
Text
.TokenizeIntoWords("VarVectorString", "ScalarString")
Transformers\FeatureSelectionTests.cs (3)
238
var pipeline = ML.Transforms.
Text
.TokenizeIntoWords("Features")
246
var pipeline = ML.Transforms.
Text
.TokenizeIntoWords("Features")
254
var pipeline = ML.Transforms.
Text
.TokenizeIntoWords("Features")
Transformers\TextFeaturizerTests.cs (18)
52
var pipeline = ML.Transforms.
Text
.FeaturizeText("Features", options, "A");
76
var pipeline = ML.Transforms.
Text
.FeaturizeText("Features", options, "A");
106
var pipeline = ML.Transforms.
Text
.FeaturizeText("Features", options, null);
148
var pipeline = ML.Transforms.
Text
.FeaturizeText("Features", options);
189
var pipeline = ML.Transforms.
Text
.FeaturizeText("Features", options, "A");
217
var pipeline = ML.Transforms.
Text
.FeaturizeText("Features", options, "A");
251
var pipeline = ML.Transforms.
Text
.FeaturizeText("Features", options, "A");
268
var pipeline = ML.Transforms.
Text
.FeaturizeText("Features", options, "A");
317
var pipeline = ML.Transforms.
Text
.FeaturizeText("Features", options, "A");
354
var pipeline = ML.Transforms.
Text
.FeaturizeText("Features", options, "A");
392
var pipeline = ML.Transforms.
Text
.FeaturizeText("Features", options, "A");
436
var feat = ML.Transforms.
Text
.FeaturizeText("Data", new TextFeaturizingEstimator.Options { OutputTokensColumnName = "OutputTokens" }, new[] { "text" });
536
var est = ML.Transforms.
Text
.NormalizeText("text")
537
.Append(ML.Transforms.
Text
.TokenizeIntoWords("words", "text"))
538
.Append(ML.Transforms.
Text
.RemoveDefaultStopWords("NoDefaultStopwords", "words"))
539
.Append(ML.Transforms.
Text
.RemoveStopWords("NoStopWords", "words", "xbox", "this", "is", "a", "the", "THAT", "bY"));
737
var est = ml.Transforms.
Text
.LatentDirichletAllocation("F1V", resetRandomGenerator: true);
782
var pipeline = ML.Transforms.
Text
.ProduceWordBags("Features")
Transformers\ValueMappingTests.cs (1)
640
var est = ML.Transforms.
Text
.TokenizeIntoWords("TokenizeB", "B")
Transformers\WordBagTransformerTests.cs (4)
40
mlContext.Transforms.
Text
.ProduceWordBags("Text", termSeparator: ';', freqSeparator: ':');
69
mlContext.Transforms.
Text
.ProduceWordBags("Text", termSeparator: ':', freqSeparator: ';');
107
var textPipelineDefault = mlContext.Transforms.
Text
.ProduceWordBags("Text", termSeparator: ';', freqSeparator: ':');
108
var textPipelineNonDefault = mlContext.Transforms.
Text
.ProduceWordBags("Text", termSeparator: ':', freqSeparator: ';');
Transformers\WordEmbeddingsTests.cs (8)
41
var est = ML.Transforms.
Text
.NormalizeText("NormalizedText", "SentimentText", keepDiacritics: false, keepPunctuations: false)
42
.Append(ML.Transforms.
Text
.TokenizeIntoWords("Words", "NormalizedText"))
43
.Append(ML.Transforms.
Text
.RemoveDefaultStopWords("CleanWords", "Words"));
46
var pipe = ML.Transforms.
Text
.ApplyWordEmbedding("WordEmbeddings", "CleanWords", modelKind: WordEmbeddingEstimator.PretrainedModelKind.SentimentSpecificWordEmbedding);
76
var est = ML.Transforms.
Text
.NormalizeText("NormalizedText", "SentimentText", keepDiacritics: false, keepPunctuations: false)
77
.Append(ML.Transforms.
Text
.TokenizeIntoWords("Words", "NormalizedText"))
78
.Append(ML.Transforms.
Text
.RemoveDefaultStopWords("CleanWords", "Words"));
89
var pipe = ML.Transforms.
Text
.ApplyWordEmbedding("WordEmbeddings", pathToCustomModel, "CleanWords");
Microsoft.ML.TimeSeries.Tests (3)
TimeSeriesDirectApi.cs (3)
227
var pipeline = ml.Transforms.
Text
.FeaturizeText("Text_Featurized", "Text")
303
var pipeline = ml.Transforms.
Text
.FeaturizeText("Text_Featurized", "Text")
449
var model = ml.Transforms.
Text
.FeaturizeText("Text_Featurized", "Text")
Microsoft.ML.TorchSharp.Tests (4)
ObjectDetectionTests.cs (4)
46
var filteredPipeline = chain.Append(ML.Transforms.
Text
.TokenizeIntoWords("Labels", separators: new char[] { ',' }), TransformerScope.Training)
48
.Append(ML.Transforms.
Text
.TokenizeIntoWords("Box", separators: new char[] { ',' }), TransformerScope.Training)
63
var pipeline = ML.Transforms.
Text
.TokenizeIntoWords("Labels", separators: new char[] { ',' })
65
.Append(ML.Transforms.
Text
.TokenizeIntoWords("Box", separators: new char[] { ',' }))