8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac8fe3 commit aa26538Copy full SHA for aa26538
sklearn/feature_extraction/text.py
@@ -1357,8 +1357,10 @@ class TfidfVectorizer(CountVectorizer):
1357
preprocessing and n-grams generation steps.
1358
Only applies if ``analyzer == 'word'``.
1359
1360
- analyzer : string, {'word', 'char'} or callable
+ analyzer : string, {'word', 'char', 'char_wb'} or callable
1361
Whether the feature should be made of word or character n-grams.
1362
+ Option 'char_wb' creates character n-grams only from text inside
1363
+ word boundaries; n-grams at the edges of words are padded with space.
1364
1365
If a callable is passed it is used to extract the sequence of features
1366
out of the raw, unprocessed input.
0 commit comments