Skip to content

Create narrative paragraphs by using CBDB sqlite database

Notifications You must be signed in to change notification settings

cbdb-project/narrative-cbdb

Repository files navigation

Narrative CBDB

Create narrative biographies by using CBDB sqlite database

Usage

  1. Download CBDB sqlite database

  2. Uncompress the sqlite database

  3. Rename the uncompressed database as cbdb.db and put it to the root of this project directory

  4. Run 1 na-cbdb-chn-short-sentences.py to get the text file

  5. Run 2 remove-zero-none-chn.py to clean the result. You will get the text like this

If you want to sperate output to small files, after getting output.txt, please run split-data.py

Sample result

https://github.com/cbdb-project/narrative-cbdb/blob/main/sample-result.txt

License

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license

About

Create narrative paragraphs by using CBDB sqlite database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages