Sponsor:

Your company here — click to reach over 10,000 unique daily visitors

chewing-cli-init-database - Man Page

Create a new dictionary file

Synopsis

chewing-cli init-database [-t|--db-type] [-n|--name] [-c|--copyright] [-l|--license] [-r|--version] [-k|--keep-word-freq] [-s|--skip-invalid] [--csv] [-h|--help] <TSI_SRC> <OUTPUT>

Description

Create a new dictionary file

Options

-t,  --db-type=DB_TYPE [default: trie]

Choose the underlying database implementation

[possible values: trie, sqlite]

-n,  --name=NAME [default: 我的詞庫]

Name of the phrase dictionary

-c,  --copyright=COPYRIGHT [default: Unknown]

Copyright information of the dictionary

-l,  --license=LICENSE [default: Unknown]

License information of the dictionary

-r,  --version=VERSION [default: 1.0.0]

Version of the dictionary

-k,  --keep-word-freq

Keep single word frequency

-s,  --skip-invalid

Skip invalid lines

--csv

Read the dictionary source as CSV with header

-h,  --help

Print help

<TSI_SRC>

Path to the dictionary source file

<OUTPUT>

Path to the output file

Referenced By

chewing-cli(1).

init-database