From 9a3679654ce6fe9d574c4901c845d24e7ff9aabf Mon Sep 17 00:00:00 2001 From: louib Date: Wed, 19 Sep 2018 12:15:26 -0400 Subject: [PATCH] Removing quotes from variant names. --- doc/modules/feature_extraction.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/modules/feature_extraction.rst b/doc/modules/feature_extraction.rst index b3867373cbf11..827cc13592f56 100644 --- a/doc/modules/feature_extraction.rst +++ b/doc/modules/feature_extraction.rst @@ -735,9 +735,9 @@ decide better:: array([[1, 1, 1, 0, 1, 1, 1, 0], [1, 1, 0, 1, 1, 1, 0, 1]]) -In the above example, ``'char_wb`` analyzer is used, which creates n-grams +In the above example, ``char_wb`` analyzer is used, which creates n-grams only from characters inside word boundaries (padded with space on each -side). The ``'char'`` analyzer, alternatively, creates n-grams that +side). The ``char`` analyzer, alternatively, creates n-grams that span across words:: >>> ngram_vectorizer = CountVectorizer(analyzer='char_wb', ngram_range=(5, 5))