-
Notifications
You must be signed in to change notification settings - Fork 1
/
jdict.1
51 lines (51 loc) · 1.13 KB
/
jdict.1
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
48
49
50
51
.Dd November 16, 2023
.Dt JDICT 1
.
.Sh NAME
.Nm jdict
.Nd search through japanese dictionaries
.
.Sh SYNOPSIS
.Nm
.Op Fl d Ar dictionary
.Op Fl F Ar FS
.Op Fl i
.Ar term ...
.
.Sh DESCRIPTION
The
.Nm
utility searches through dictionaries formatted in the yomidict
format for
.Ar term ...
and outputs any found definitions to stdout.
.Pp
The following options are supported:
.
.Bl -tag -width Ds
.It Fl d Ar dictionary
limit search to the specified
.Ar dictionary .
.It Fl F Ar FS
use
.Ar FS
for output field separation.
.It Fl i
run the program in interactive mode. FS will be set to "\\n".
.El
.
.Sh CUSTOMIZATION
.Nm
is customized by modifying config.h and (re)compiling the program.
.
.Sh AUTHORS
.An Randy Palamar Aq Mt [email protected]
.
.Sh CAVEATS
Many of the newer dictionaries available online contain full json
data. This throws away the benefits of the original yomidict
format and requires a full json parser to handle. This is outside
the scope of this utility and will not be implemented. To check if
the dictionary is supported open a term_bank_XX.json file and check
for field names. If they are present the dictionary is not
supported.