Skip to content

Commit d1d2e66

Browse files
committed
Fix a name
1 parent 3769398 commit d1d2e66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public static WordTokenizingEstimator TokenizeWords(this TransformsCatalog.TextT
193193
/// <param name="ngramLength">Ngram length.</param>
194194
/// <param name="skipLength">Maximum number of tokens to skip when constructing an ngram.</param>
195195
/// <param name="allLengths">Whether to include all ngram lengths up to <paramref name="ngramLength"/> or only <paramref name="ngramLength"/>.</param>
196-
/// <param name="maximumNgramsCounts">Maximum number of n-grams to store in the dictionary.</param>
196+
/// <param name="maximumNgramsCount">Maximum number of n-grams to store in the dictionary.</param>
197197
/// <param name="weighting">Statistical measure used to evaluate how important a word is to a document in a corpus.</param>
198198
/// <example>
199199
/// <format type="text/markdown">
@@ -208,10 +208,10 @@ public static NgramExtractingEstimator ProduceNgrams(this TransformsCatalog.Text
208208
int ngramLength = NgramExtractingEstimator.Defaults.NgramLength,
209209
int skipLength = NgramExtractingEstimator.Defaults.SkipLength,
210210
bool allLengths = NgramExtractingEstimator.Defaults.AllLengths,
211-
int maximumNgramsCounts = NgramExtractingEstimator.Defaults.MaximumNgramsCount,
211+
int maximumNgramsCount = NgramExtractingEstimator.Defaults.MaximumNgramsCount,
212212
NgramExtractingEstimator.WeightingCriteria weighting = NgramExtractingEstimator.Defaults.Weighting) =>
213213
new NgramExtractingEstimator(Contracts.CheckRef(catalog, nameof(catalog)).GetEnvironment(), outputColumnName, inputColumnName,
214-
ngramLength, skipLength, allLengths, maximumNgramsCounts, weighting);
214+
ngramLength, skipLength, allLengths, maximumNgramsCount, weighting);
215215

216216
/// <summary>
217217
/// Produces a bag of counts of ngrams (sequences of consecutive words) in <paramref name="columns.inputs"/>

0 commit comments

Comments
 (0)