From 8736f37e854d93b1a81c739973ad16c36c7b99c9 Mon Sep 17 00:00:00 2001 From: Dustin Michels Date: Wed, 17 Feb 2021 13:41:10 +0100 Subject: [PATCH] fix typo in plot_frequency_distribution_of_ngrams --- ml/guides/text_classification/explore_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ml/guides/text_classification/explore_data.py b/ml/guides/text_classification/explore_data.py index cbf454f..abf1385 100644 --- a/ml/guides/text_classification/explore_data.py +++ b/ml/guides/text_classification/explore_data.py @@ -72,7 +72,7 @@ def plot_frequency_distribution_of_ngrams(sample_texts, """ # Create args required for vectorizing. kwargs = { - 'ngram_range': (1, 1), + 'ngram_range': ngram_range, 'dtype': 'int32', 'strip_accents': 'unicode', 'decode_error': 'replace',