Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

SQLite Korean Dictionaries

This repository contains a JSON and XML to SQLite converter scripts & prebuilt SQLite dictionaries using the KRDict dictionary from the Korean Language Institute.

The simplified JSON extractions (data.json) from the minidictionaries are made by RicBent

The full versions can be downloaded directly from https://krdict.korean.go.kr/download/downloadPopup

25/11/2025

There is a problem in the current dictionary downloads, the zip containing JSON files includes a 0 bytes entry (10_5000_20251119.json) The originin of the problem can be due to a malformation of the original XML file 10_5000_20251119.xml also available in the current downloads (mismatched tag: line 573053, column 5 - closing tag is missing in line 572998), adding the closing tag seems to avoid parsers abruptly ending processing the data.

I will include the fixed XML version on the repo for now (xmldict) and also added a xml to sqlite parser

json to sqlite

Modify:

if name == "main": json_folder_to_sqlite( folder_path="./fullDict",<-- Origin files path db_path="english.db", <-- name for the generated DB target_language="영어" <--Selected language (in korean) )

RUN: python/py json_to_sqlite.py

XML to sqlite

Modify:

if name == "main": xml_to_sqlite( folder_path="./xmldict", db_path="spanish_from_xml.db", target_language="스페인어" )

RUN: python/py xml_to_sqlite.py

For minidictionaries

RUN: node buildDictionaryDB.js

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /