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 (1153B)


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