Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Training Data for Korean Japanese Chinese Entity Resolution

· 5 min read · Home Tech

In this article
  1. What Entity Resolution Means for CJK Languages
  2. Public Datasets by Language
  3. How to Build Your Own from Wikipedia
  4. Choosing the Right Dataset for Your Task
  5. Common Problems and How to Handle Them
  6. Cost and Licensing
  7. Frequently Asked Questions

To find training data for Korean, Japanese, and Chinese entity resolution, start with the multilingual datasets from the Multi-lingual Entity Discovery and Linking (MEDL) tasks, the Cross-lingual Entity Discovery (CEL) tasks, and the JRC-Names corpus, which cover these languages. For Korean specifically, use the Naver NER dataset; for Japanese, the KWDLC (Kyoto University Web Document Lead Corpus) and Wikipedia entity linking datasets; for Chinese, the MSRA NER and CLUE benchmarks. These resources provide labeled mentions, entity types, and links to knowledge bases, which are the core components needed to train or evaluate an entity resolution system.

What Entity Resolution Means for CJK Languages

Entity resolution (ER) – also called entity linking, record linkage, or deduplication – is the task of identifying when two mentions refer to the same real-world entity. For Korean, Japanese, and Chinese (CJK), this is harder than for English because:

  • No spaces in Japanese and Chinese, so word boundaries must be inferred before entity matching.
  • Multiple scripts – Japanese uses kanji, hiragana, katakana; Korean uses Hangul and sometimes Hanja; Chinese uses simplified and traditional characters.
  • Name variations – the same person might be written as “Kim Jong-un” (Romanized), “김정은” (Hangul), or “金正恩” (Hanja/Chinese).
  • Romanization – multiple systems (Revised Romanization, Hepburn, Pinyin) create many surface forms.

Training data for ER must include not just entity mentions but also the links between them, often to a knowledge base like Wikipedia or Wikidata.

Public Datasets by Language

Below are the most commonly used public datasets, grouped by language. They are free to download for research.

Korean

  • Naver NER Dataset – 90,000 sentences with named entity labels (person, organization, location, etc.) in Korean. Available via Naver’s GitHub.
  • KLUE (Korean Language Understanding Evaluation) – includes a named entity recognition (NER) task and a relation extraction task, useful for entity type classification.
  • Korean Wikipedia Dump – can be used to create entity linking data by matching hyperlinks to article titles.

Japanese

  • KWDLC (Kyoto University Web Document Lead Corpus) – 5,000 web documents with full morphological and syntactic annotations, including named entities.
  • Wikipedia Entity Linking Dataset – from the “Wikipedia2Vec” project, provides mention-to-entity links in Japanese.
  • NTCIR-11 Crosslink-2 – a dataset for cross-lingual entity linking, including Japanese and Korean.

Chinese

  • MSRA NER – a widely used Chinese NER dataset with 50,000 sentences, annotated with person, location, and organization.
  • CLUE Benchmark – a collection of Chinese NLU tasks, including NER and entity typing.
  • Chinese Wikipedia Dump – for building entity linking data via hyperlink structure.

Multilingual / Cross-lingual

  • MEDL (Multi-lingual Entity Discovery and Linking) – from TAC-KBP, provides entity linking data in Chinese and other languages.
  • JRC-Names – a multilingual named entity resource covering all three languages, with translations and transliterations.
  • Wikidata – a structured knowledge base with labels in Korean, Japanese, and Chinese; you can extract entity pairs and aliases.

How to Build Your Own from Wikipedia

If existing datasets don’t fit your domain, you can create your own training data from Wikipedia dumps. The idea is to use the hyperlinks between articles as mention-entity pairs.

  1. Download the Wikipedia dump for your language (e.g., from dumps.wikimedia.org).
  2. Parse the XML to extract article text and internal links.
  3. For each link, the anchor text is the mention, and the target article title is the entity ID.
  4. Optionally, add entity types by using the category system (e.g., “Category:People” → person).
  5. Split the data into train/dev/test sets, ensuring no overlapping entities.

This approach gives you a large, free, and constantly updated dataset, though it may contain noisy mentions (e.g., links to non-entity pages like “List of...”).

Choosing the Right Dataset for Your Task

Your choice depends on what your ER system needs to do:

  • If you need to identify entity mentions in text – use NER datasets (Naver, MSRA, KWDLC).
  • If you need to link mentions to a knowledge base – use entity linking datasets (MEDL, Wikipedia-based).
  • If you need to match records (e.g., customer names) – create synthetic data using name variations and transliterations, or use the JRC-Names corpus.
  • If you need cross-lingual matching – use multilingual datasets like MEDL or build your own from Wikidata aliases.

Common Problems and How to Handle Them

When using these datasets, you may encounter:

  • Annotation inconsistencies – different datasets use different entity type sets. Map them to a common schema.
  • Script variations – Japanese kanji vs. kana, Chinese simplified vs. traditional. Normalize using Unicode NFKC or a transliteration library.
  • Rare entities – most datasets have a long tail of rare names; consider data augmentation with synthetic transliterations.
  • Domain mismatch – news-trained models may fail on social media. Fine-tune with domain-specific data from Wikipedia categories.

Cost and Licensing

Most of the datasets mentioned are free for research, but check the license before commercial use. For example:

  • Naver NER and KLUE are released under a permissive license for research, but commercial use may require permission.
  • KWDLC is available for academic use; contact Kyoto University for commercial licensing.
  • Wikipedia dumps are under CC BY-SA, which requires attribution and share-alike if you redistribute.
  • JRC-Names is free to use with attribution.

If you need a commercial license, consider contacting the dataset owners or using Wikidata (CC0) as a base.

Frequently Asked Questions

Can I use English entity resolution datasets for Korean, Japanese, or Chinese?

Not directly. English datasets lack the script variations and word segmentation issues of CJK. You could use them for pretraining a multilingual model, but you will still need CJK-specific data for fine-tuning.

How do I handle the lack of spaces in Chinese and Japanese?

You need a tokenizer or segmenter first. For Japanese, use MeCab or Kuromoji; for Chinese, use Jieba or LTP. Then apply entity resolution on the segmented tokens.

What is the difference between entity resolution and named entity recognition?

NER finds mentions and classifies them (e.g., “Seoul” → location). Entity resolution goes further: it links that mention to a specific entity in a knowledge base (e.g., “Seoul” → the capital of South Korea, not the city in Texas).

Where can I find training data for cross-lingual entity resolution between Korean, Japanese, and Chinese?

The best option is to build your own from Wikidata, which has labels and aliases in all three languages. You can also use the MEDL dataset, which includes Chinese, and the NTCIR Crosslink-2 for Japanese and Korean.

Are there any pre-trained models I can use instead of training from scratch?

Yes, multilingual models like mBERT, XLM-R, and multilingual T5 can be fine-tuned on your entity resolution data. For Japanese, the LUKE model; for Chinese, the Chinese-BERT-wwm; for Korean, the KR-BERT are good starting points.

How much data do I need to train a good entity resolution model?

It depends on the complexity. For simple NER, a few thousand sentences can work. For linking to a large knowledge base, you may need hundreds of thousands of examples. Start with existing datasets and add your own if performance is poor.