File: chewing-cli-init-database.1

package info (click to toggle)
libchewing 0.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,584 kB
  • sloc: ansic: 7,148; perl: 291; python: 190; sh: 127; makefile: 44
file content (47 lines) | stat: -rw-r--r-- 1,420 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH chewing-cli-init-database 1  "init-database " 
.SH NAME
chewing\-cli\-init\-database \- Create a new dictionary file
.SH SYNOPSIS
\fBchewing\-cli init\-database\fR [\fB\-t\fR|\fB\-\-db\-type\fR] [\fB\-n\fR|\fB\-\-name\fR] [\fB\-c\fR|\fB\-\-copyright\fR] [\fB\-l\fR|\fB\-\-license\fR] [\fB\-r\fR|\fB\-\-version\fR] [\fB\-s\fR|\fB\-\-skip\-invalid\fR] [\fB\-\-fix\fR] [\fB\-\-csv\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fITSI_SRC\fR> <\fIOUTPUT\fR> 
.SH DESCRIPTION
Create a new dictionary file
.SH OPTIONS
.TP
\fB\-t\fR, \fB\-\-db\-type\fR \fI<DB_TYPE>\fR [default: trie]
Choose the underlying database implementation
.br

.br
[\fIpossible values: \fRtrie, sqlite]
.TP
\fB\-n\fR, \fB\-\-name\fR \fI<NAME>\fR [default: 我的詞庫]
Name of the phrase dictionary
.TP
\fB\-c\fR, \fB\-\-copyright\fR \fI<COPYRIGHT>\fR [default: Unknown]
Copyright information of the dictionary
.TP
\fB\-l\fR, \fB\-\-license\fR \fI<LICENSE>\fR [default: Unknown]
License information of the dictionary
.TP
\fB\-r\fR, \fB\-\-version\fR \fI<VERSION>\fR [default: 1.0.0]
Version of the dictionary
.TP
\fB\-s\fR, \fB\-\-skip\-invalid\fR
Skip invalid lines
.TP
\fB\-\-fix\fR
Attempt to fix simple spelling errors
.TP
\fB\-\-csv\fR
Read the dictionary source as CSV with header
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help
.TP
<\fITSI_SRC\fR>
Path to the dictionary source file
.TP
<\fIOUTPUT\fR>
Path to the output file