Scroll to navigation

chewing-cli-init-database(1) General Commands Manual chewing-cli-init-database(1)

NAME

chewing-cli-init-database - 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

Choose the underlying database implementation

[possible values: trie, sqlite]

Name of the phrase dictionary
Copyright information of the dictionary
License information of the dictionary
Version of the dictionary
Keep single word frequency
Skip invalid lines
Read the dictionary source as CSV with header
Print help
<TSI_SRC>
Path to the dictionary source file
<OUTPUT>
Path to the output file
init-database