Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Latvian languaga #860

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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 @@ -217,6 +217,7 @@ Features
ja Japanese
ko Korean
lt Lithuanian
lv Latvian
mk Macedonian
nb Norwegian (Bokmål)
nl Dutch
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ Features
ja Japanese
ko Korean
lt Lithuanian
lv Latvian
mk Macedonian
nb Norwegian (Bokmål)
nl Dutch
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
lv Latvian
163 changes: 163 additions & 0 deletions newspaper/resources/text/stopwords-lv.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
ārpus
šaipus
aiz
ap
apakš
apakšpus
arī
ar
ar
augšpus
būšu
būs
būsi
būsiet
būsim
būt
bet
bez
bijām
bijāt
bija
biji
biju
caur
dēļ
diemžēl
diezin
droši
esam
esat
esi
esmu
gan
gar
iekām
iekāms
iekš
iekšpus
iekam
iekams
ik
ir
it
itin
iz
ja
jau
jebšu
jeb
jel
jo
kļūšu
kļūs
kļūsi
kļūsiet
kļūsim
kļūst
kļūstam
kļūstat
kļūsti
kļūstu
kļūt
kļuvām
kļuvāt
kļuva
kļuvi
kļuvu
ka
kamēr
kaut
kolīdz
kopš
līdz
līdzko
labad
lai
lejpus
ne
nebūt
nedz
nekā
nevis
nezin
no
nu
otrpus
pār
pēc
pa
par
pat
pie
pirms
pret
priekš
starp
tādēļ
tālab
tāpēc
taču
tad
tak
tapāt
tapšu
tapi
taps
tapsi
tapsiet
tapsim
tapt
te
tiec
tiek
tiekam
tiekat
tieku
tikām
tikāt
tikšu
tik
tika
tikai
tiki
tikko
tiklīdz
tiklab
tiks
tiksiet
tiksim
tikt
tiku
tikvien
tomēr
topat
turpretī
turpretim
un
uz
vai
varēšu
varējām
varējāt
varēja
varēji
varēju
varēs
varēsi
varēsiet
varēsim
varēt
var
varat
viņpus
vien
vien
virs
virspus
vis
zem
1 change: 1 addition & 0 deletions newspaper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ def print_available_languages():
'ja': 'Japanese',
'ko': 'Korean',
'lt': 'Lithuanian',
'lv': 'Latvian',
'mk': 'Macedonian',
'nb': 'Norwegian (Bokmål)',
'nl': 'Dutch',
Expand Down