rename: 词条 -> 词汇 (dashboard nav/page + docs)

This commit is contained in:
Lang
2026-10-14 21:37:46 +08:00
parent 60e0a1b856
commit 56bb1850b0
10 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ POS_SET = {"n", "v", "vt", "vi", "adj", "adv", "art", "prep", "conj",
def parse_line(line: str):
"""返回 (word, meaning) 或 None。取行首第一个词为词条。"""
"""返回 (word, meaning) 或 None。取行首第一个词为词汇。"""
s = line.strip().lstrip("\ufeff").strip()
if not s or re.fullmatch(r"[A-Z]", s): # 空行 / 章节标题 A/B/C
return None