File tree 13 files changed +13
-13
lines changed
13 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ def word_filter(self, word: str) -> bool:
130
130
def parse_stop_word (source : str ) -> set [str ]:
131
131
"""Parse snowball style word list like this:
132
132
133
- * https://snowball.tartarus .org/algorithms/finnish/stop.txt
133
+ * https://snowballstem .org/algorithms/finnish/stop.txt
134
134
"""
135
135
result : set [str ] = set ()
136
136
for line in source .splitlines ():
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
danish_stopwords = parse_stop_word ("""
10
- | source: https://snowball.tartarus .org/algorithms/danish/stop.txt
10
+ | source: https://snowballstem .org/algorithms/danish/stop.txt
11
11
og | and
12
12
i | in
13
13
jeg | I
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
german_stopwords = parse_stop_word ("""
10
- |source: https://snowball.tartarus .org/algorithms/german/stop.txt
10
+ |source: https://snowballstem .org/algorithms/german/stop.txt
11
11
aber | but
12
12
13
13
alle | all
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
spanish_stopwords = parse_stop_word ("""
10
- |source: https://snowball.tartarus .org/algorithms/spanish/stop.txt
10
+ |source: https://snowballstem .org/algorithms/spanish/stop.txt
11
11
de | from, of
12
12
la | the, her
13
13
que | who, that
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
finnish_stopwords = parse_stop_word ("""
10
- | source: https://snowball.tartarus .org/algorithms/finnish/stop.txt
10
+ | source: https://snowballstem .org/algorithms/finnish/stop.txt
11
11
| forms of BE
12
12
13
13
olla
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
french_stopwords = parse_stop_word ("""
10
- | source: https://snowball.tartarus .org/algorithms/french/stop.txt
10
+ | source: https://snowballstem .org/algorithms/french/stop.txt
11
11
au | a + le
12
12
aux | a + les
13
13
avec | with
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
hungarian_stopwords = parse_stop_word ("""
10
- | source: https://snowball.tartarus .org/algorithms/hungarian/stop.txt
10
+ | source: https://snowballstem .org/algorithms/hungarian/stop.txt
11
11
| prepared by Anna Tordai
12
12
a
13
13
ahogy
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
italian_stopwords = parse_stop_word ("""
10
- | source: https://snowball.tartarus .org/algorithms/italian/stop.txt
10
+ | source: https://snowballstem .org/algorithms/italian/stop.txt
11
11
ad | a (to) before vowel
12
12
al | a + il
13
13
allo | a + lo
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
dutch_stopwords = parse_stop_word ("""
10
- | source: https://snowball.tartarus .org/algorithms/dutch/stop.txt
10
+ | source: https://snowballstem .org/algorithms/dutch/stop.txt
11
11
de | the
12
12
en | and
13
13
van | of, from
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
norwegian_stopwords = parse_stop_word ("""
10
- | source: https://snowball.tartarus .org/algorithms/norwegian/stop.txt
10
+ | source: https://snowballstem .org/algorithms/norwegian/stop.txt
11
11
og | and
12
12
i | in
13
13
jeg | I
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
portuguese_stopwords = parse_stop_word ("""
10
- | source: https://snowball.tartarus .org/algorithms/portuguese/stop.txt
10
+ | source: https://snowballstem .org/algorithms/portuguese/stop.txt
11
11
de | of, from
12
12
a | the; to, at; her
13
13
o | the; him
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
russian_stopwords = parse_stop_word ("""
10
- | source: https://snowball.tartarus .org/algorithms/russian/stop.txt
10
+ | source: https://snowballstem .org/algorithms/russian/stop.txt
11
11
и | and
12
12
в | in/into
13
13
во | alternative form
Original file line number Diff line number Diff line change 7
7
from sphinx .search import SearchLanguage , parse_stop_word
8
8
9
9
swedish_stopwords = parse_stop_word ("""
10
- | source: https://snowball.tartarus .org/algorithms/swedish/stop.txt
10
+ | source: https://snowballstem .org/algorithms/swedish/stop.txt
11
11
och | and
12
12
det | it, this/that
13
13
att | to (with infinitive)
You can’t perform that action at this time.
0 commit comments