Skip to content

Commit 8aa69b0

Browse files
committed
DOC vectorizers were referring to a private function in public docs
1 parent ff77a64 commit 8aa69b0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

sklearn/feature_extraction/text.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,7 @@ class HashingVectorizer(BaseEstimator, VectorizerMixin):
360360
will be used.
361361
362362
stop_words: string {'english'}, list, or None (default)
363-
If a string, it is passed to _check_stop_list and the appropriate stop
364-
list is returned. 'english' is currently the only supported string
365-
value.
363+
If 'english', a built-in stop word list for English is used.
366364
367365
If a list, that list is assumed to contain stop words, all of which
368366
will be removed from the resulting tokens.
@@ -561,9 +559,7 @@ class CountVectorizer(BaseEstimator, VectorizerMixin):
561559
will be used.
562560
563561
stop_words : string {'english'}, list, or None (default)
564-
If a string, it is passed to _check_stop_list and the appropriate stop
565-
list is returned. 'english' is currently the only supported string
566-
value.
562+
If 'english', a built-in stop word list for English is used.
567563
568564
If a list, that list is assumed to contain stop words, all of which
569565
will be removed from the resulting tokens.

0 commit comments

Comments
 (0)