Skip to main content

dictcli

개인 어휘 그래프 — 한↔영 크로스링귀얼 쿼리 확장 + 한국어 형태소 분석. expand로 한글 단어에서 영어 태그 후보를 찾고, stem으로 한국어 어간을 추출한다. knowledge_search의 3층 역할. '단어 확장', '태그 찾기', '한영 매핑', 'expand', 'stem', '형태소'.

Source facts

Repository
junghan0611/agent-config
Last source activity
September 3, 2026 at 02:04
Detected SKILL.md language
Korean
Stars
5
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
dictcli
description
개인 어휘 그래프 — 한↔영 크로스링귀얼 쿼리 확장 + 한국어 형태소 분석. expand로 한글 단어에서 영어 태그 후보를 찾고, stem으로 한국어 어간을 추출한다. knowledge_search의 3층 역할. '단어 확장', '태그 찾기', '한영 매핑', 'expand', 'stem', '형태소'.
# dictcli — Personal Vocabulary Graph (Layer 3) Korean↔English triple graph. Expands Korean words to English Denote tags. Layer 3 of knowledge_search — cross-lingual query enrichment. ## API Binary bundled in skill directory. **Must cd to {baseDir}** (reads CWD/graph.edn). | Command | Usage | Output | |---------|-------|--------| | **expand** | `cd {baseDir} && ./dictcli expand "보편" --json` | `["universal","universalism","particular","paideia"]` | | graph | `cd {baseDir} && ./dictcli graph "보편"` | All triples for the word | | stats | `cd {baseDir} && ./dictcli stats` | Graph statistics | | validate | `cd {baseDir} && ./dictcli validate` | Invariant check | ### expand — Core Command Traverses the graph: direct translation → opposite's translation → related word's translation. ```bash cd {baseDir} && ./dictcli expand "기술" --json # → ["art","technology","technique"] cd {baseDir} && ./dictcli expand "도피" --json # → ["escape","flight","avoidance","evasion"] ``` Empty array = word not in graph.edn. Fall back to original query. ### knowledge_search Integration Pattern ``` 1. User: "보편 학문 관련 노트" 2. expand "보편" → ["universal","universalism","paideia"...] 3. Search: "보편 학문 universal universalism paideia" ``` Agent autonomously: extract concept words → expand → enrich query → knowledge_search. ## stem — Korean Morphological Analysis **JVM-only** (Kiwi JNI — not in native binary). Called via dictcli repo's `run.sh stem`. Agents rarely call directly — andenken batch-indexes via `--batch` / `--serve` mode. ```bash cd ~/repos/gh/dictcli && ./run.sh stem "설계했다" # → 설계 cd ~/repos/gh/dictcli && ./run.sh stem --serve 9876 # socket server (1ms/query) ``` Pipeline: `"설계했다" → stem → "설계" → expand → ["design","architecture"]` ## Data - `graph.edn`: 3,989 triples, 2,453 `:trans` mappings, 4,735 words, 526 clusters - Sources: meta-note clusters, Syntopicon 102 Great Ideas, philosophy glossary - Relations: `:trans`(2453), `:source`(1422), `:related`(58), `:synonym`(44) ## Architecture Note | Component | Runtime | Latency | |-----------|---------|---------| | expand/lookup/stats | GraalVM native-image | ~9ms | | stem | JVM (Kiwi JNI) | ~1ms (server) / ~3s (cold start) | Native binary cannot include stem (JNI incompatible with native-image). Two separate execution paths — no conflict. ## Layer 3 in the Stack | Layer | Tool | Role | |-------|------|------| | 1 | knowledge_search | Embedding vector search | | 2 | denotecli | Exact match + graph links | | **3** | **dictcli expand + stem** | **Korean→English query expansion + stemming** |
View on GitHub