Japanese NLP Resource Search
Search libraries, models, and datasets for Japanese natural language processing.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up β so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/search-taishi-i/β the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates β they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description β no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the βWhat this skill doesβ section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Search all Japanese NLP resources (libraries, models, datasets, tutorials, dictionaries, Hugging Face). Accepts keywords or natural language questions in any language.
What this skill does
Search the awesome-japanese-nlp-resources database for: "$ARGUMENTS"
Instructions
Step 0 β Validate input
If $ARGUMENTS is empty or blank, stop immediately and output:
Usage: /awesome-japanese-nlp-resources:search <query>
Examples:
/awesome-japanese-nlp-resources:search morphological analysis
/awesome-japanese-nlp-resources:search BERT
/awesome-japanese-nlp-resources:search named entity recognition
/awesome-japanese-nlp-resources:search text classification dataset
/awesome-japanese-nlp-resources:search sentence embedding
Please pass the keyword(s) you want to search for as the argument.
---
: /awesome-japanese-nlp-resources:search <query>
:
/awesome-japanese-nlp-resources:search
/awesome-japanese-nlp-resources:search BERT
/awesome-japanese-nlp-resources:search
/awesome-japanese-nlp-resources:search
/awesome-japanese-nlp-resources:search
Do not proceed to Step 1 if $ARGUMENTS is empty.
Step 1 β Interpret the query
The user's query is: "$ARGUMENTS"
The data descriptions are in English, so always convert the query intent to English keywords before searching.
Keyword rules β read before choosing keywords:
- Use stems, not full words. Substring match is used, so
morphologcatches "morphology", "morphological", "morphological analyzer". Other examples:embedβ embedding/embeddings,classifβ classification/classifier,translatβ translation/translate,generatβ generation/generative,segmentβ segmentation/segmenter,recogniβ recognition/recognizer,extractβ extraction/extractor,retrievβ retrieval/retrieve. - Add domain-specific tool names. When the query maps to a known NLP domain, include the well-known tool names present in the database:
| Domain (Japanese query hint) | Stem keywords | Tool names to add |
|---|---|---|
| / morphological analysis | morpholog, segment | mecab, janome, sudachi, kytea, kuromoji, jumanpp, nagisa |
| / NER | named entit, NER, recogni | ginza, spacy, knp |
| / dependency parsing | depend, parse, syntax | cabocha, knp, ginza, spacy |
| / text classification | classif, sentiment, categor | bert, fasttext |
| / sentiment analysis | sentiment, emotion, opinion | oseti, wrime |
| / word vectors / embeddings | embed, vector, represent | word2vec, fasttext, bert, sbert |
| / pretrained model | pretrain, language model, bert, gpt | bert, gpt, llama, rinna, elyza, calm, swallow |
| / text generation | generat, language model | gpt, llm, llama, rinna, elyza |
| / machine translation | translat, machine translation | opus, marian, fairseq |
| / speech recognition | speech, recogni, audio, asr | whisper, julius, espnet |
| / text-to-speech | speech, synthesis, tts | voicevox, espnet |
| / QA | question, answer, qa | bert, t5 |
| / summarization | summari, abstract | bart, t5, pegasus |
| IME / dictionary | dict, lexicon, ime | mecab, sudachi, mozc |
| / corpus | corpus, dataset, annot | (rely on stems) |
| / learning | tutorial, introduc, learn | (rely on stems) |
| OCR / | ocr, optical character, recogni | manga-ocr, donut, tesseract |
| RAG / | retriev, rag, embed | ruri, glucose, faiss |
| / fine-tuning | fine-tun, finetun, lora, peft | lora, peft, qlora |
| / benchmark | benchmark, evaluat, jglue | llm-jp-eval, jglue, nejumi |
- Aim for 4β6 keywords. Fewer miss items; more than 6 inflates low-quality partial matches.
- If none of the above domains fit, translate the query intent literally to English stems.
Step 2 β Locate the data file
The data file ships with the plugin. Resolve its path via ${CLAUDE_PLUGIN_ROOT} (Claude Code substitutes this inline in skill content), falling back to a scoped search only if the install is unusual:
RESOURCES_PATH="${CLAUDE_PLUGIN_ROOT}/data/resources.json"
[ -f "$RESOURCES_PATH" ] || RESOURCES_PATH="$(find "${HOME}/.claude/plugins" -type f -name resources.json 2>/dev/null | grep "awesome-japanese-nlp-resources/" | head -1)"
echo "RESOURCES_PATH=$RESOURCES_PATH"
Use the resulting absolute RESOURCES_PATH wherever Step 3 opens the data file.
Step 3 β Search and score via Bash
Do NOT use the Read tool β the file exceeds the Read tool's size limit and would consume ~64K tokens unnecessarily. Instead, run the scoring in a single Bash call using Python.
Each item in the JSON array has:
u: GitHub or Hugging Face URLn: repository/model named: description (English for most items; some Japanese-only items have Japanese descriptions)c: category (e.g.Python library,HuggingFace Model (Text Generation),Corpus,Tutorial, ...)s: subcategory / semantic labels (comma-separated)st: GitHub star count (GitHub items only; absent or 0 otherwise)ns: normalized star score 0β10 (log-scaled, GitHub items only)dl: Hugging Face download count (HF items only; absent or 0 otherwise)nd: normalized download score 0β10 (log-scaled, HF items only)sc: pre-computed quality score (higher = more popular/active)
Run the following, substituting KEYWORDS with your English keywords list from Step 1:
python3 << 'EOF'
import json
with open("RESOURCES_PATH") as f: # absolute path from Step 2
data = json.load(f)
keywords = ["keyword1", "keyword2", "keyword3"] # from Step 1
results =
for item in data:
n = item.get("n", "").lower
d = item.get("d", "").lower
s = item.get("s", "").lower
c = item.get("c", "").lower
text_score = 0
for kw in keywords:
kw = kw.lower
if n == kw: text_score += 20
elif kw in n: text_score += 10
if kw in d: text_score += 5
if kw in s: text_score += 3
if kw in c: text_score += 2
if text_score < 8:
continue
ns = item.get("ns") or 0
nd = item.get("nd") or 0
sc = item.get("sc") or 0
pop = (ns if ns else nd) * 2.5
qual = min(5, sc * 5 / 21)
combined = text_score + pop + qual
results.append((combined, text_score, item))
results.sort(key=lambda x: -x[0])
seen = {item['n'] for _, _, item in results}
# Supplemental pass: surface high-popularity items from matching categories
# that may have been missed because their descriptions are in Japanese.
# Keys are stems to match against user keywords; values are category prefixes
# (prefix match covers "HuggingFace Model (Text Generation)" etc.).
CATEGORY_KEYWORDS = {
"tutorial": "Tutorial", "introduc": "Tutorial", "learn": "Tutorial",
"morpholog": "Python library", "segment": "Python library",
"mecab": "Python library", "janome": "Python library", "sudachi": "Python library",
"spacy": "Python library", "ginza": "Python library",
"corpus": "Corpus", "dataset": "Corpus",
"bert": "HuggingFace Model", "gpt": "HuggingFace Model",
"llm": "HuggingFace Model", "llama": "HuggingFace Model",
"pretrain": "HuggingFace Model", "embed": "HuggingFace Model",
"model": "Pretrained model",
}
supplement_cats = set
for kw in keywords:
for ck, cat in CATEGORY_KEYWORDS.items:
if ck in kw.lower:
supplement_cats.add(cat)
if supplement_cats:
def cat_match(c):
return any(c == cat or c.startswith(cat + " ") for cat in supplement_cats)
extras = [
item for item in data
if cat_match(item.get("c", ""))
and (item.get("st", 0) or item.get("dl", 0))
and item["n"] not in seen
]
extras.sort(key=lambda x: -max(x.get("ns") or 0, x.get("nd") or 0))
for item in extras[:5]:
ns = item.get("ns") or 0
nd = item.get("nd") or 0
sc = item.get("sc") or 0
# base 8 = category-match credit (same as the text_score threshold)
combined = 8 + max(ns, nd) * 2.5 + min(5, sc * 5 / 21)
results.append((combined, 0, item))
seen.add(item["n"])
results.sort(key=lambda x: -x[0])
for combined, text_score, item in results[:20]:
st = item.get("st", 0) or 0
dl = item.get("dl", 0) or 0
flag = " [supplemental]" if text_score == 0 else ""
print(f"score={combined:.1f} text={text_score} st={st} dl={dl}{flag}")
print(f" n={item['n']}")
print(f" u={item['u']}")
print(f" c={item['c']}")
print(f" s={item.get('s','')}")
print(f" d={item.get('d','')[:120]}")
print
EOF
This returns up to 20 candidates. Items marked [supplemental] were added by the category-based pass to recover high-star resources whose descriptions are in Japanese. In Step 4, evaluate supplemental items on semantic fit before including them in the final list.
Step 4 β Re-rank with your judgment
You now have up to 20 candidates. Apply your semantic judgment to produce the final ordered list of up to 10 results.
Re-rank by evaluating each candidate on:
- Semantic centrality β how directly does this resource address the query's core intent? A BERT model is more central to "BERT fine-tuning" than a generic transformer library.
- Popularity as a proxy for quality β high stars/downloads generally signal battle-tested, well-documented tools. Prefer them when candidates are otherwise equivalent.
- Category fit β match the resource type to the implied need:
- "how to learn / " β prefer
Tutorial,Research summary - "I need a model" β prefer
Pretrained model,HuggingFace Model - "find a dataset / " β prefer
Corpus,HuggingFace Dataset - "build an app / " β prefer
Python library, language-specific libs
- Specificity β a resource specialized for the exact task beats a general one.
- Recency signal β when
scis significantly higher among otherwise-similar items, it usually reflects more recent activity; prefer those.
Do not mechanically follow the combined score from Step 3 β use it as a starting point, then move items up or down based on the criteria above.
Step 5 β Format the output
Language detection rule (apply before writing any output):
$ARGUMENTScontains Japanese characters (hiragana / katakana / kanji) β Japanese- Otherwise β English (default)
Apply the detected language to all headings and prose.
Present the final re-ranked results:
## Search results for "$ARGUMENTS"
*(Searched for: keyword1, keyword2, ...)*
Found N result(s).
### 1. [repository-name](url)
**Category:** category > subcategory
**Popularity:** β {st} stars (or π₯ {dl} downloads for HF)
Description text here.
### 2. ...
If no results, suggest alternate keywords and link to: https://github.com/taishi-i/awesome-japanese-nlp-resources
Step 6 β Output use-case selection guide table
After the search results list, append a guide table that helps the user pick the right resource for their specific situation.
Match the section heading and table language to the query language β translate the heading and column headers into the query language (e.g. Japanese query β Japanese heading and headers).
## Use-case Selection Guide
| Use case | Recommended | Popularity | Why |
|---|---|---|---|
| ... | [name](url) | βN or π₯N | short reason |
Rules:
- List 3β6 distinct use cases derived from the top 10 results. Each row should represent a meaningfully different scenario (e.g., "fine-tune an LLM" vs "evaluate an LLM"), not just a restatement of the search query.
- For each row, select the single best resource from the top 10 results.
- Popularity column: use
β{st}for GitHub stars,π₯{dl}for HuggingFace downloads. If both are 0, omit. - Why: write a 10β15 word reason in the query language explaining why this resource is the best fit for that use case. Do not copy the description verbatim. Focus on the practical benefit.
- If two use cases would map to the same resource, merge them into one row or drop the weaker one.
- If there are fewer than 3 meaningfully distinct use cases in the results, output as many rows as make sense (minimum 1).
Related skills
Claude API Helper
anthropics
Build, debug, and optimize Claude API applications with caching and model migration support.
Customer Health Scorer
alirezarezvani
Analyze customer accounts to predict churn risk and identify expansion opportunities.
Adaptyv Protein Lab
foryourhealth111-pixel
Submit protein sequences for automated lab testing and validation experiments.
CLAUDE.md Optimizer
daymade
Optimize your CLAUDE.md file for clarity, efficiency, and maintainability.