Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ Features
uk Ukrainian
vi Vietnamese
zh Chinese
bn Bengali


Get it now
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ Features
uk Ukrainian
vi Vietnamese
zh Chinese
bn Bengali


Get it now
Expand Down
1 change: 1 addition & 0 deletions docs/user_guide/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,4 @@ of popular news source urls.. In case you need help choosing a news source!
ja Japanese
be Belarusian
lt Lithuanian
bn Bengali
4 changes: 3 additions & 1 deletion newspaper/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import logging

from .parsers import Parser
from .text import (StopWords, StopWordsArabic, StopWordsChinese,
from .text import (StopWords, StopWordsArabic, StopWordsBengali, StopWordsChinese,
StopWordsKorean, StopWordsHindi, StopWordsJapanese, StopWordsThai)
from .version import __version__

Expand Down Expand Up @@ -116,6 +116,8 @@ def get_stopwords_class(language):
return StopWordsArabic
elif language == 'ja':
return StopWordsJapanese
elif language == 'bn':
return StopWordsBengali
elif language == 'th':
return StopWordsThai
return StopWords
Expand Down
Loading