buildcjkdb — Build database¶
buildcjkdb builds the database for the cjklib library. Example:
buildcjkdb build allAvail
.
Builders can be given specific options with format --BuilderName-option
or --TableName-option
, e.g. --Unihan-wideBuild=yes
.
Options¶
-
--version
¶
show program’s version number and exit
-
-h
,
--help
¶
show this help message and exit
-
-r
,
--rebuild
¶
build tables even if they already exist
-
-d
,
--keepDepending
¶
don’t rebuild build-depends tables that are not given
-
-p
BUILDER
,
--prefer
=BUILDER
¶ builder preferred where several provide the same table
-
-q
,
--quiet
¶
don’t print anything on stdout
-
--database
=URL
¶ database url
-
--attach
=URL
¶ attachable databases
-
--registerUnicode
=BOOL
¶ register own Unicode functions if no ICU support available
-
--ignoreConfig
¶
ignore settings from cjklib.conf
Global builder options¶
-
--dataPath
=VALUE
¶ path to data files
-
--entrywise
=BOOL
¶ insert entries one at a time (for debugging)
-
--ignoreMissing
=BOOL
¶ ignore missing Unihan column and build empty table
-
--wideBuild
=BOOL
¶ include characters outside the Unicode BMP
-
--slimUnihanTable
=BOOL
¶ limit keys of Unihan table
-
--collation
=VALUE
¶ collation for dictionary entries
-
--enableFTS3
=BOOL
¶ enable SQLite full text search (FTS3)
-
--filePath
=VALUE
¶ file path including file name, overrides searching
-
--fileType
=VALUE
¶ file extension, overrides file type guessing
-
--useCollation
=BOOL
¶ use collations for dictionary entries