Merge remote-tracking branch 'origin/sub_laptop_5' into sub_laptop_8

This commit is contained in:
2026-10-31 19:08:38 +09:00
16 changed files with 93 additions and 17 deletions
+4 -1
View File
@@ -85,7 +85,10 @@ def kind_of(row: dict) -> str:
def words_of(row: dict) -> list[str]:
name = _sq(row.get("이름"))
return [w for w, targets in WORDS.items() if any(_sq(t) in name for t in targets)]
out = [w for w, targets in WORDS.items() if any(_sq(t) in name for t in targets)]
if "터파기" in name: # 내역서 낱말 「측구파기」 ↔ 로직 「측구터파기」
out.append(str(row.get("이름")).replace("터파기", "파기"))
return out
def _range_label(table: dict, low: Any, high: Any, unit: str) -> str: