fix(ui): resolve AttributeError on dict pages in render_pdf_page_inspector and eliminate circular import

This commit is contained in:
Abhinav Gupta
2026-10-15 14:22:40 +05:30
parent c269bb9ca2
commit 8f7140cd5e
5 changed files with 457 additions and 391 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ def extract_search_query_variations(raw_term: str, evidence: str = "") -> list[s
_add(" ".join(core_words))
# 4. Morphological synonyms
from medical_coding.retrieval.tokenizer import CLINICAL_MORPHOLOGY
from medical_coding.utils.clinical_lexicon import CLINICAL_MORPHOLOGY
syn_words: list[str] = []
has_syn = False
for w in (core_words or words):