Convert bkrs.info database to Dictan and GoldenDict formats
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
extras
lib
tags
test
.gitignore
.gitlab-ci.yml
.travis.yml
FarMenu.ini
README.md
appveyor.yml
package.json

README.md

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