https://github.com/ukoloff/bkrs
Convert bkrs.info database to Dictan and GoldenDict formats
https://github.com/ukoloff/bkrs
appveyor bkrs coffeescript goldendict pinyin travis-ci
Last synced: 4 months ago
JSON representation
Convert bkrs.info database to Dictan and GoldenDict formats
- Host: GitHub
- URL: https://github.com/ukoloff/bkrs
- Owner: ukoloff
- Created: 2015-01-21T10:28:46.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-09-27T09:55:46.000Z (about 2 years ago)
- Last Synced: 2025-05-05T14:54:00.590Z (5 months ago)
- Topics: appveyor, bkrs, coffeescript, goldendict, pinyin, travis-ci
- Language: CoffeeScript
- Homepage:
- Size: 96.7 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bkrs
[](https://travis-ci.org/ukoloff/bkrs)
[](https://ci.appveyor.com/project/ukoloff/bkrs)
[](https://gitlab.com/ukoloff/bkrs/commits/master)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 addedDictan 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
* Install [Node.js](http://nodejs.org/download/)
* git clone https://github.com/ukoloff/bkrs.git
* cd bkrs
* npm install --production## Converting
* Download current [BKRS sources](http://bkrs.info/p47) (*_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 folderFeed 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:
* [bkrs.zd](https://ci.appveyor.com/api/projects/ukoloff/bkrs/artifacts/bkrs.zd) - for
Dictan
* [bkrs.zip](https://ci.appveyor.com/api/projects/ukoloff/bkrs/artifacts/bkrs.zip)
([mirror](http://ukoloff.gitlab.io/bkrs/bkrs.zip)) - for GoldenDict
* [bkrs-min.zip](https://ci.appveyor.com/api/projects/ukoloff/bkrs/artifacts/bkrs-min.zip)
([mirror](http://ukoloff.gitlab.io/bkrs/bkrs-min.zip)) - for GoldenDict on Android
(packed with dictzip)## Development
* npm install
* npm test## Credits
* [BKRS](http://bkrs.info/)
* [Dictan](http://www.softex.info/)
* [GoldenDict](http://goldendict.org/)
* [Node.js](http://nodejs.org/)
* [DictZip@win32](https://github.com/Tvangeste/dictzip-win32/releases)
* [Travis CI](https://travis-ci.org/)
* [AppVeyor](http://www.appveyor.com/)
* [GitLab](https://gitlab.com/)