diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 16:20:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 16:20:58 +0000 |
commit | 5bb0bb4be543fd5eca41673696a62ed80d493591 (patch) | |
tree | ad2c464f140e86c7f178a6276d7ea4a93e3e6c92 /sphinx/search/fi.py | |
parent | Adding upstream version 7.2.6. (diff) | |
download | sphinx-5bb0bb4be543fd5eca41673696a62ed80d493591.tar.xz sphinx-5bb0bb4be543fd5eca41673696a62ed80d493591.zip |
Adding upstream version 7.3.7.upstream/7.3.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | sphinx/search/fi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/search/fi.py b/sphinx/search/fi.py index 70114f8..5eca6e3 100644 --- a/sphinx/search/fi.py +++ b/sphinx/search/fi.py @@ -9,7 +9,7 @@ import snowballstemmer from sphinx.search import SearchLanguage, parse_stop_word finnish_stopwords = parse_stop_word(''' -| source: http://snowball.tartarus.org/algorithms/finnish/stop.txt +| source: https://snowball.tartarus.org/algorithms/finnish/stop.txt | forms of BE olla @@ -106,7 +106,7 @@ class SearchFinnish(SearchLanguage): js_stemmer_rawcode = 'finnish-stemmer.js' stopwords = finnish_stopwords - def init(self, options: dict) -> None: + def init(self, options: dict[str, str]) -> None: self.stemmer = snowballstemmer.stemmer('finnish') def stem(self, word: str) -> str: |