Skip to content
/ bkrs Public

Convert bkrs.info database to Dictan and GoldenDict formats

Notifications You must be signed in to change notification settings

ukoloff/bkrs

Repository files navigation

bkrs

Build Status Build status build status

Convert bkrs.info database to Dictan(zd/fdb/dsl) and GoldenDict(dsl) format

Features

  • Index by pinyin (汉语拼音)
  • Index by traditional characters (繁體字)
  • Show traditional variant where appropriate
  • Examples injected into correspondent articles
  • Abbreviations added

Dictan version is combined: RU->ZH and ZH->RU versions in single file.

GoldenDict version contains two separate dictionaries: RU->ZH (with pinyin, traditional index and examples) and ZH->RU.

Installation

Converting

  • Download current BKRS sources (*_yymmdd.gz files, see bottom of page)

    or just say node lib/fetch ;-)

  • Put them into src folder

  • npm start [--tags=format]

  • See sources for makezd in src folder

Feed src/articles.txt to makezd or Dictan converter.

Command npm start --tags=dsl will generate DSL formatted sources, so feed it to new Dictan converter. In addition src/*.dsl are good for GoldenDict.

Nightly builds

This converter runs every night with fresh BKRS sources. Generated files are:

Development

  • npm install
  • npm test

Credits

About

Convert bkrs.info database to Dictan and GoldenDict formats

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published