2019-02-14 17:31:19 +03:00
|
|
|
|
# Source: https://github.com/stopwords-iso/stopwords-sl
|
2022-01-17 12:38:37 +03:00
|
|
|
|
# TODO: probably needs to be tidied up – the list seems to have month names in
|
|
|
|
|
# it, which shouldn't be considered stop words.
|
2019-02-14 17:31:19 +03:00
|
|
|
|
|
|
|
|
|
STOP_WORDS = set(
|
|
|
|
|
"""
|
|
|
|
|
a
|
|
|
|
|
ali
|
2022-01-17 12:38:37 +03:00
|
|
|
|
april
|
|
|
|
|
avgust
|
2019-02-14 17:31:19 +03:00
|
|
|
|
b
|
|
|
|
|
bi
|
|
|
|
|
bil
|
|
|
|
|
bila
|
|
|
|
|
bile
|
|
|
|
|
bili
|
|
|
|
|
bilo
|
|
|
|
|
biti
|
|
|
|
|
blizu
|
|
|
|
|
bo
|
|
|
|
|
bodo
|
2022-01-17 12:38:37 +03:00
|
|
|
|
bojo
|
2019-02-14 17:31:19 +03:00
|
|
|
|
bolj
|
|
|
|
|
bom
|
|
|
|
|
bomo
|
|
|
|
|
boste
|
|
|
|
|
bova
|
|
|
|
|
boš
|
|
|
|
|
brez
|
|
|
|
|
c
|
|
|
|
|
cel
|
|
|
|
|
cela
|
|
|
|
|
celi
|
|
|
|
|
celo
|
|
|
|
|
d
|
|
|
|
|
da
|
|
|
|
|
daleč
|
|
|
|
|
dan
|
|
|
|
|
danes
|
2022-01-17 12:38:37 +03:00
|
|
|
|
datum
|
|
|
|
|
december
|
|
|
|
|
deset
|
|
|
|
|
deseta
|
|
|
|
|
deseti
|
|
|
|
|
deseto
|
|
|
|
|
devet
|
|
|
|
|
deveta
|
|
|
|
|
deveti
|
|
|
|
|
deveto
|
2019-02-14 17:31:19 +03:00
|
|
|
|
do
|
|
|
|
|
dober
|
|
|
|
|
dobra
|
|
|
|
|
dobri
|
|
|
|
|
dobro
|
|
|
|
|
dokler
|
|
|
|
|
dol
|
2022-01-17 12:38:37 +03:00
|
|
|
|
dolg
|
|
|
|
|
dolga
|
|
|
|
|
dolgi
|
2019-02-14 17:31:19 +03:00
|
|
|
|
dovolj
|
2022-01-17 12:38:37 +03:00
|
|
|
|
drug
|
|
|
|
|
druga
|
|
|
|
|
drugi
|
|
|
|
|
drugo
|
|
|
|
|
dva
|
|
|
|
|
dve
|
2019-02-14 17:31:19 +03:00
|
|
|
|
e
|
|
|
|
|
eden
|
|
|
|
|
en
|
|
|
|
|
ena
|
|
|
|
|
ene
|
|
|
|
|
eni
|
|
|
|
|
enkrat
|
|
|
|
|
eno
|
|
|
|
|
etc.
|
|
|
|
|
f
|
2022-01-17 12:38:37 +03:00
|
|
|
|
februar
|
2019-02-14 17:31:19 +03:00
|
|
|
|
g
|
|
|
|
|
g.
|
|
|
|
|
ga
|
|
|
|
|
ga.
|
|
|
|
|
gor
|
|
|
|
|
gospa
|
|
|
|
|
gospod
|
|
|
|
|
h
|
|
|
|
|
halo
|
|
|
|
|
i
|
|
|
|
|
idr.
|
|
|
|
|
ii
|
|
|
|
|
iii
|
|
|
|
|
in
|
|
|
|
|
iv
|
|
|
|
|
ix
|
|
|
|
|
iz
|
|
|
|
|
j
|
2022-01-17 12:38:37 +03:00
|
|
|
|
januar
|
2019-02-14 17:31:19 +03:00
|
|
|
|
jaz
|
|
|
|
|
je
|
|
|
|
|
ji
|
|
|
|
|
jih
|
|
|
|
|
jim
|
|
|
|
|
jo
|
2022-01-17 12:38:37 +03:00
|
|
|
|
julij
|
|
|
|
|
junij
|
|
|
|
|
jutri
|
2019-02-14 17:31:19 +03:00
|
|
|
|
k
|
|
|
|
|
kadarkoli
|
|
|
|
|
kaj
|
|
|
|
|
kajti
|
|
|
|
|
kako
|
|
|
|
|
kakor
|
|
|
|
|
kamor
|
|
|
|
|
kamorkoli
|
|
|
|
|
kar
|
|
|
|
|
karkoli
|
|
|
|
|
katerikoli
|
|
|
|
|
kdaj
|
|
|
|
|
kdo
|
|
|
|
|
kdorkoli
|
|
|
|
|
ker
|
|
|
|
|
ki
|
|
|
|
|
kje
|
|
|
|
|
kjer
|
|
|
|
|
kjerkoli
|
|
|
|
|
ko
|
2022-01-17 12:38:37 +03:00
|
|
|
|
koder
|
2019-02-14 17:31:19 +03:00
|
|
|
|
koderkoli
|
|
|
|
|
koga
|
|
|
|
|
komu
|
|
|
|
|
kot
|
2022-01-17 12:38:37 +03:00
|
|
|
|
kratek
|
|
|
|
|
kratka
|
|
|
|
|
kratke
|
|
|
|
|
kratki
|
2019-02-14 17:31:19 +03:00
|
|
|
|
l
|
2022-01-17 12:38:37 +03:00
|
|
|
|
lahka
|
|
|
|
|
lahke
|
|
|
|
|
lahki
|
|
|
|
|
lahko
|
2019-02-14 17:31:19 +03:00
|
|
|
|
le
|
|
|
|
|
lep
|
|
|
|
|
lepa
|
|
|
|
|
lepe
|
|
|
|
|
lepi
|
|
|
|
|
lepo
|
2022-01-17 12:38:37 +03:00
|
|
|
|
leto
|
2019-02-14 17:31:19 +03:00
|
|
|
|
m
|
2022-01-17 12:38:37 +03:00
|
|
|
|
maj
|
|
|
|
|
majhen
|
|
|
|
|
majhna
|
|
|
|
|
majhni
|
|
|
|
|
malce
|
|
|
|
|
malo
|
2019-02-14 17:31:19 +03:00
|
|
|
|
manj
|
2022-01-17 12:38:37 +03:00
|
|
|
|
marec
|
2019-02-14 17:31:19 +03:00
|
|
|
|
me
|
|
|
|
|
med
|
|
|
|
|
medtem
|
|
|
|
|
mene
|
2022-01-17 12:38:37 +03:00
|
|
|
|
mesec
|
2019-02-14 17:31:19 +03:00
|
|
|
|
mi
|
|
|
|
|
midva
|
|
|
|
|
midve
|
|
|
|
|
mnogo
|
|
|
|
|
moj
|
|
|
|
|
moja
|
|
|
|
|
moje
|
|
|
|
|
mora
|
|
|
|
|
morajo
|
|
|
|
|
moram
|
|
|
|
|
moramo
|
|
|
|
|
morate
|
|
|
|
|
moraš
|
|
|
|
|
morem
|
|
|
|
|
mu
|
|
|
|
|
n
|
|
|
|
|
na
|
|
|
|
|
nad
|
|
|
|
|
naj
|
|
|
|
|
najina
|
|
|
|
|
najino
|
|
|
|
|
najmanj
|
|
|
|
|
naju
|
|
|
|
|
največ
|
|
|
|
|
nam
|
2022-01-17 12:38:37 +03:00
|
|
|
|
narobe
|
2019-02-14 17:31:19 +03:00
|
|
|
|
nas
|
|
|
|
|
nato
|
|
|
|
|
nazaj
|
|
|
|
|
naš
|
|
|
|
|
naša
|
|
|
|
|
naše
|
|
|
|
|
ne
|
|
|
|
|
nedavno
|
2022-01-17 12:38:37 +03:00
|
|
|
|
nedelja
|
2019-02-14 17:31:19 +03:00
|
|
|
|
nek
|
|
|
|
|
neka
|
|
|
|
|
nekaj
|
|
|
|
|
nekatere
|
|
|
|
|
nekateri
|
|
|
|
|
nekatero
|
|
|
|
|
nekdo
|
|
|
|
|
neke
|
|
|
|
|
nekega
|
|
|
|
|
neki
|
|
|
|
|
nekje
|
|
|
|
|
neko
|
|
|
|
|
nekoga
|
|
|
|
|
nekoč
|
|
|
|
|
ni
|
|
|
|
|
nikamor
|
|
|
|
|
nikdar
|
|
|
|
|
nikjer
|
|
|
|
|
nikoli
|
|
|
|
|
nič
|
|
|
|
|
nje
|
|
|
|
|
njega
|
|
|
|
|
njegov
|
|
|
|
|
njegova
|
|
|
|
|
njegovo
|
|
|
|
|
njej
|
|
|
|
|
njemu
|
|
|
|
|
njen
|
|
|
|
|
njena
|
|
|
|
|
njeno
|
|
|
|
|
nji
|
|
|
|
|
njih
|
|
|
|
|
njihov
|
|
|
|
|
njihova
|
|
|
|
|
njihovo
|
|
|
|
|
njiju
|
|
|
|
|
njim
|
|
|
|
|
njo
|
|
|
|
|
njun
|
|
|
|
|
njuna
|
|
|
|
|
njuno
|
|
|
|
|
no
|
|
|
|
|
nocoj
|
2022-01-17 12:38:37 +03:00
|
|
|
|
november
|
2019-02-14 17:31:19 +03:00
|
|
|
|
npr.
|
|
|
|
|
o
|
|
|
|
|
ob
|
|
|
|
|
oba
|
|
|
|
|
obe
|
|
|
|
|
oboje
|
|
|
|
|
od
|
2022-01-17 12:38:37 +03:00
|
|
|
|
odprt
|
|
|
|
|
odprta
|
|
|
|
|
odprti
|
2019-02-14 17:31:19 +03:00
|
|
|
|
okoli
|
2022-01-17 12:38:37 +03:00
|
|
|
|
oktober
|
2019-02-14 17:31:19 +03:00
|
|
|
|
on
|
|
|
|
|
onadva
|
|
|
|
|
one
|
|
|
|
|
oni
|
|
|
|
|
onidve
|
2022-01-17 12:38:37 +03:00
|
|
|
|
osem
|
|
|
|
|
osma
|
|
|
|
|
osmi
|
|
|
|
|
osmo
|
2019-02-14 17:31:19 +03:00
|
|
|
|
oz.
|
|
|
|
|
p
|
|
|
|
|
pa
|
2022-01-17 12:38:37 +03:00
|
|
|
|
pet
|
|
|
|
|
peta
|
|
|
|
|
petek
|
|
|
|
|
peti
|
|
|
|
|
peto
|
2019-02-14 17:31:19 +03:00
|
|
|
|
po
|
|
|
|
|
pod
|
|
|
|
|
pogosto
|
|
|
|
|
poleg
|
2022-01-17 12:38:37 +03:00
|
|
|
|
poln
|
|
|
|
|
polna
|
|
|
|
|
polni
|
|
|
|
|
polno
|
2019-02-14 17:31:19 +03:00
|
|
|
|
ponavadi
|
2022-01-17 12:38:37 +03:00
|
|
|
|
ponedeljek
|
2019-02-14 17:31:19 +03:00
|
|
|
|
ponovno
|
|
|
|
|
potem
|
|
|
|
|
povsod
|
2022-01-17 12:38:37 +03:00
|
|
|
|
pozdravljen
|
|
|
|
|
pozdravljeni
|
|
|
|
|
prav
|
|
|
|
|
prava
|
|
|
|
|
prave
|
|
|
|
|
pravi
|
|
|
|
|
pravo
|
|
|
|
|
prazen
|
|
|
|
|
prazna
|
|
|
|
|
prazno
|
2019-02-14 17:31:19 +03:00
|
|
|
|
prbl.
|
|
|
|
|
precej
|
|
|
|
|
pred
|
|
|
|
|
prej
|
|
|
|
|
preko
|
|
|
|
|
pri
|
|
|
|
|
pribl.
|
|
|
|
|
približno
|
2022-01-17 12:38:37 +03:00
|
|
|
|
primer
|
|
|
|
|
pripravljen
|
|
|
|
|
pripravljena
|
|
|
|
|
pripravljeni
|
2019-02-14 17:31:19 +03:00
|
|
|
|
proti
|
2022-01-17 12:38:37 +03:00
|
|
|
|
prva
|
|
|
|
|
prvi
|
|
|
|
|
prvo
|
2019-02-14 17:31:19 +03:00
|
|
|
|
r
|
2022-01-17 12:38:37 +03:00
|
|
|
|
ravno
|
2019-02-14 17:31:19 +03:00
|
|
|
|
redko
|
|
|
|
|
res
|
2022-01-17 12:38:37 +03:00
|
|
|
|
reč
|
2019-02-14 17:31:19 +03:00
|
|
|
|
s
|
|
|
|
|
saj
|
|
|
|
|
sam
|
|
|
|
|
sama
|
|
|
|
|
same
|
|
|
|
|
sami
|
|
|
|
|
samo
|
|
|
|
|
se
|
|
|
|
|
sebe
|
|
|
|
|
sebi
|
|
|
|
|
sedaj
|
2022-01-17 12:38:37 +03:00
|
|
|
|
sedem
|
|
|
|
|
sedma
|
|
|
|
|
sedmi
|
|
|
|
|
sedmo
|
2019-02-14 17:31:19 +03:00
|
|
|
|
sem
|
2022-01-17 12:38:37 +03:00
|
|
|
|
september
|
2019-02-14 17:31:19 +03:00
|
|
|
|
seveda
|
|
|
|
|
si
|
|
|
|
|
sicer
|
|
|
|
|
skoraj
|
|
|
|
|
skozi
|
2022-01-17 12:38:37 +03:00
|
|
|
|
slab
|
2019-02-14 17:31:19 +03:00
|
|
|
|
smo
|
|
|
|
|
so
|
2022-01-17 12:38:37 +03:00
|
|
|
|
sobota
|
2019-02-14 17:31:19 +03:00
|
|
|
|
spet
|
2022-01-17 12:38:37 +03:00
|
|
|
|
sreda
|
|
|
|
|
srednja
|
|
|
|
|
srednji
|
2019-02-14 17:31:19 +03:00
|
|
|
|
sta
|
|
|
|
|
ste
|
2022-01-17 12:38:37 +03:00
|
|
|
|
stran
|
|
|
|
|
stvar
|
2019-02-14 17:31:19 +03:00
|
|
|
|
sva
|
|
|
|
|
t
|
|
|
|
|
ta
|
|
|
|
|
tak
|
|
|
|
|
taka
|
|
|
|
|
take
|
|
|
|
|
taki
|
|
|
|
|
tako
|
|
|
|
|
takoj
|
|
|
|
|
tam
|
|
|
|
|
te
|
|
|
|
|
tebe
|
|
|
|
|
tebi
|
|
|
|
|
tega
|
2022-01-17 12:38:37 +03:00
|
|
|
|
težak
|
|
|
|
|
težka
|
|
|
|
|
težki
|
|
|
|
|
težko
|
2019-02-14 17:31:19 +03:00
|
|
|
|
ti
|
|
|
|
|
tista
|
|
|
|
|
tiste
|
|
|
|
|
tisti
|
|
|
|
|
tisto
|
|
|
|
|
tj.
|
|
|
|
|
tja
|
|
|
|
|
to
|
|
|
|
|
toda
|
2022-01-17 12:38:37 +03:00
|
|
|
|
torek
|
|
|
|
|
tretja
|
|
|
|
|
tretje
|
|
|
|
|
tretji
|
|
|
|
|
tri
|
2019-02-14 17:31:19 +03:00
|
|
|
|
tu
|
|
|
|
|
tudi
|
|
|
|
|
tukaj
|
|
|
|
|
tvoj
|
|
|
|
|
tvoja
|
|
|
|
|
tvoje
|
|
|
|
|
u
|
|
|
|
|
v
|
|
|
|
|
vaju
|
|
|
|
|
vam
|
|
|
|
|
vas
|
|
|
|
|
vaš
|
|
|
|
|
vaša
|
|
|
|
|
vaše
|
|
|
|
|
ve
|
|
|
|
|
vedno
|
2022-01-17 12:38:37 +03:00
|
|
|
|
velik
|
|
|
|
|
velika
|
|
|
|
|
veliki
|
|
|
|
|
veliko
|
2019-02-14 17:31:19 +03:00
|
|
|
|
vendar
|
|
|
|
|
ves
|
|
|
|
|
več
|
|
|
|
|
vi
|
|
|
|
|
vidva
|
|
|
|
|
vii
|
|
|
|
|
viii
|
2022-01-17 12:38:37 +03:00
|
|
|
|
visok
|
|
|
|
|
visoka
|
|
|
|
|
visoke
|
|
|
|
|
visoki
|
2019-02-14 17:31:19 +03:00
|
|
|
|
vsa
|
|
|
|
|
vsaj
|
|
|
|
|
vsak
|
|
|
|
|
vsaka
|
|
|
|
|
vsakdo
|
|
|
|
|
vsake
|
|
|
|
|
vsaki
|
|
|
|
|
vsakomur
|
|
|
|
|
vse
|
|
|
|
|
vsega
|
|
|
|
|
vsi
|
|
|
|
|
vso
|
|
|
|
|
včasih
|
2022-01-17 12:38:37 +03:00
|
|
|
|
včeraj
|
2019-02-14 17:31:19 +03:00
|
|
|
|
x
|
|
|
|
|
z
|
|
|
|
|
za
|
|
|
|
|
zadaj
|
|
|
|
|
zadnji
|
|
|
|
|
zakaj
|
2022-01-17 12:38:37 +03:00
|
|
|
|
zaprta
|
|
|
|
|
zaprti
|
|
|
|
|
zaprto
|
2019-02-14 17:31:19 +03:00
|
|
|
|
zdaj
|
|
|
|
|
zelo
|
|
|
|
|
zunaj
|
|
|
|
|
č
|
|
|
|
|
če
|
|
|
|
|
često
|
2022-01-17 12:38:37 +03:00
|
|
|
|
četrta
|
|
|
|
|
četrtek
|
|
|
|
|
četrti
|
|
|
|
|
četrto
|
2019-02-14 17:31:19 +03:00
|
|
|
|
čez
|
|
|
|
|
čigav
|
|
|
|
|
š
|
2022-01-17 12:38:37 +03:00
|
|
|
|
šest
|
|
|
|
|
šesta
|
|
|
|
|
šesti
|
|
|
|
|
šesto
|
|
|
|
|
štiri
|
2019-02-14 17:31:19 +03:00
|
|
|
|
ž
|
|
|
|
|
že
|
|
|
|
|
""".split()
|
|
|
|
|
)
|