summaryrefslogtreecommitdiffstats
path: root/sphinx/search/hu.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/search/hu.py')
-rw-r--r--sphinx/search/hu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/search/hu.py b/sphinx/search/hu.py
index eed08db..ccd6ebe 100644
--- a/sphinx/search/hu.py
+++ b/sphinx/search/hu.py
@@ -9,7 +9,7 @@ import snowballstemmer
from sphinx.search import SearchLanguage, parse_stop_word
hungarian_stopwords = parse_stop_word('''
-| source: http://snowball.tartarus.org/algorithms/hungarian/stop.txt
+| source: https://snowball.tartarus.org/algorithms/hungarian/stop.txt
| prepared by Anna Tordai
a
ahogy
@@ -219,7 +219,7 @@ class SearchHungarian(SearchLanguage):
js_stemmer_rawcode = 'hungarian-stemmer.js'
stopwords = hungarian_stopwords
- def init(self, options: dict) -> None:
+ def init(self, options: dict[str, str]) -> None:
self.stemmer = snowballstemmer.stemmer('hungarian')
def stem(self, word: str) -> str: