chewing-cli-init-database(1)

chewing-cli-init-database1

Create a new dictionary file

Usage

chewing-cli init-database [{-t | --db-type}] [{-n | --name}] [{-c | --copyright}] [{-l | --license}] [{-r | --version}] [{-u | --usage}] [{-s | --skip-invalid}] [--fix] [--csv] [{-h | --help}] <TSI_SRC> <OUTPUT>

Overview

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

-u, --usage <USAGE> [default: unknown]

The usage type of the dictionary

-s, --skip-invalid

Skip invalid lines

--fix

Attempt to fix simple spelling errors

--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

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

--fix since Arch Linux 2026-11-01.

--keep-word-freq until Debian 13 (Trixie); -k until Debian 13 (Trixie).

From libchewing 0.13.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.