Skip to content

Update URLs for the Snowball project #13571

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

Merged
merged 1 commit into from
May 18, 2025
Merged
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
2 changes: 1 addition & 1 deletion sphinx/search/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def word_filter(self, word: str) -> bool:
def parse_stop_word(source: str) -> set[str]:
"""Parse snowball style word list like this:

* https://snowball.tartarus.org/algorithms/finnish/stop.txt
* https://snowballstem.org/algorithms/finnish/stop.txt
"""
result: set[str] = set()
for line in source.splitlines():
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/da.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

danish_stopwords = parse_stop_word("""
| source: https://snowball.tartarus.org/algorithms/danish/stop.txt
| source: https://snowballstem.org/algorithms/danish/stop.txt
og | and
i | in
jeg | I
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/de.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

german_stopwords = parse_stop_word("""
|source: https://snowball.tartarus.org/algorithms/german/stop.txt
|source: https://snowballstem.org/algorithms/german/stop.txt
aber | but

alle | all
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/es.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

spanish_stopwords = parse_stop_word("""
|source: https://snowball.tartarus.org/algorithms/spanish/stop.txt
|source: https://snowballstem.org/algorithms/spanish/stop.txt
de | from, of
la | the, her
que | who, that
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/fi.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

finnish_stopwords = parse_stop_word("""
| source: https://snowball.tartarus.org/algorithms/finnish/stop.txt
| source: https://snowballstem.org/algorithms/finnish/stop.txt
| forms of BE

olla
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/fr.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

french_stopwords = parse_stop_word("""
| source: https://snowball.tartarus.org/algorithms/french/stop.txt
| source: https://snowballstem.org/algorithms/french/stop.txt
au | a + le
aux | a + les
avec | with
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/hu.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

hungarian_stopwords = parse_stop_word("""
| source: https://snowball.tartarus.org/algorithms/hungarian/stop.txt
| source: https://snowballstem.org/algorithms/hungarian/stop.txt
| prepared by Anna Tordai
a
ahogy
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/it.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

italian_stopwords = parse_stop_word("""
| source: https://snowball.tartarus.org/algorithms/italian/stop.txt
| source: https://snowballstem.org/algorithms/italian/stop.txt
ad | a (to) before vowel
al | a + il
allo | a + lo
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/nl.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

dutch_stopwords = parse_stop_word("""
| source: https://snowball.tartarus.org/algorithms/dutch/stop.txt
| source: https://snowballstem.org/algorithms/dutch/stop.txt
de | the
en | and
van | of, from
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/no.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

norwegian_stopwords = parse_stop_word("""
| source: https://snowball.tartarus.org/algorithms/norwegian/stop.txt
| source: https://snowballstem.org/algorithms/norwegian/stop.txt
og | and
i | in
jeg | I
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/pt.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

portuguese_stopwords = parse_stop_word("""
| source: https://snowball.tartarus.org/algorithms/portuguese/stop.txt
| source: https://snowballstem.org/algorithms/portuguese/stop.txt
de | of, from
a | the; to, at; her
o | the; him
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/ru.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

russian_stopwords = parse_stop_word("""
| source: https://snowball.tartarus.org/algorithms/russian/stop.txt
| source: https://snowballstem.org/algorithms/russian/stop.txt
и | and
в | in/into
во | alternative form
Expand Down
2 changes: 1 addition & 1 deletion sphinx/search/sv.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sphinx.search import SearchLanguage, parse_stop_word

swedish_stopwords = parse_stop_word("""
| source: https://snowball.tartarus.org/algorithms/swedish/stop.txt
| source: https://snowballstem.org/algorithms/swedish/stop.txt
och | and
det | it, this/that
att | to (with infinitive)
Expand Down
Loading