jdict

command line tool for looking up terms in yomidict dictionaries
git clone anongit@rnpnr.xyz:jdict.git
Log | Files | Refs | Feed | README | LICENSE

jdict.1 (1192B)


      1 .Dd January 5, 2025
      2 .Dt JDICT 1
      3 .Os
      4 .
      5 .Sh NAME
      6 .Nm jdict
      7 .Nd search through Japanese dictionaries
      8 .
      9 .Sh SYNOPSIS
     10 .Nm
     11 .Op Fl d Ar dictionary
     12 .Op Fl F Ar FS
     13 .Op Fl i
     14 .Ar term ...
     15 .
     16 .Sh DESCRIPTION
     17 The
     18 .Nm
     19 utility searches through dictionaries formatted in the yomidict
     20 format for
     21 .Ar term ...
     22 and outputs the definition for any matches to stdout.
     23 .Pp
     24 The following options are supported:
     25 .
     26 .Bl -tag -width Ds
     27 .It Fl d Ar dictionary
     28 limit search to the specified
     29 .Ar dictionary .
     30 .It Fl F Ar FS
     31 use
     32 .Ar FS
     33 for output field separation.
     34 .It Fl i
     35 run the program in interactive mode.
     36 FS will be set to "\\n".
     37 .El
     38 .
     39 .Sh CUSTOMIZATION
     40 .Nm
     41 is customized by modifying config.h and (re)compiling the program.
     42 .
     43 .Sh AUTHORS
     44 .An Randy Palamar Aq Mt randy@rnpnr.xyz
     45 .
     46 .Sh CAVEATS
     47 Many of the newer dictionaries available online contain full json
     48 data.
     49 This throws away the benefits of the original yomidict format and
     50 requires a full json parser to handle.
     51 The handling of these dictionaries is outside the scope of this
     52 utility and will not be implemented.
     53 To check if a dictionary is supported open a term_bank_XX.json
     54 file and check for field names.
     55 If they are present the dictionary is not supported.