There was an error while loading. Please reload this page.
1 parent 681707a commit c1e7d05Copy full SHA for c1e7d05
1 file changed
russian_text_stresser/text_stresser.py
@@ -5,7 +5,6 @@
5
has_acute_accent_or_only_one_syllable,
6
)
7
from russian_text_stresser.russian_dictionary import RussianDictionary
8
-from russian_text_stresser.benchmark_word_sense_disambiguation import LocalLLM
9
from russian_text_stresser.gpt3_WSD import WordSenseDisambiguator
10
11
@@ -15,7 +14,7 @@ def __init__(
15
14
db_file: str = "russian_dict.db",
16
simple_cases_file: Optional[str] = "simple_cases.pkl",
17
use_large_model=False,
18
- llm: Optional[LocalLLM] = None, #
+ llm: Optional["LocalLLM"] = None, #
19
add_stressrnn: bool = False,
20
stressrnn_threshold: float = 0.8,
21
) -> None:
0 commit comments