Skip to content

Commit 687ca53

Browse files
authored
FeaturizeText: Add instructions to turn off char- or word-gram generation to the tooltip. (#2947)
* Adding a note on how to turn off char-grams and word-grams in FeaturizeText.
1 parent 726d486 commit 687ca53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Microsoft.ML.Transforms/Text/TextFeaturizingEstimator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ public sealed class Options : TransformInputBase
128128

129129
/// <summary>
130130
/// Ngram feature extractor to use for words (WordBag/WordHashBag).
131+
/// Set to <see langword="null" /> to turn off n-gram generation for words.
131132
/// </summary>
132133
public WordBagEstimator.Options WordFeatureExtractor
133134
{
@@ -160,6 +161,7 @@ public WordBagEstimator.Options WordFeatureExtractor
160161

161162
/// <summary>
162163
/// Ngram feature extractor to use for characters (WordBag/WordHashBag).
164+
/// Set to <see langword="null" /> to turn off n-gram generation for characters.
163165
/// </summary>
164166
public WordBagEstimator.Options CharFeatureExtractor
165167
{

0 commit comments

Comments
 (0)