wtoc(1)

wtoc1

Convert a wnn text-form dictionary (or dictionaries) into canna text-form dictionaries

Usage

wtoc [-f hinshidata] [wnnjisho] [cannajisho]

Overview

wtoc converts a Wnn text-form dictionary file into Canna text-form dictionary file. If all dictionary files are omitted, the Wnn dictionary data is input through the standard input. In this case, the dictionary of the Japanes Input System is output from the standard output. If one dictionary file is specified, it will be regarded as a Wnn dictionary. At this time, Canna dictionary output to the standard output.

Options

-f hinshidata

The user can add new information about word-type correspondence between Wnn and Canna. The following word-type correspondence information must be described in the hinshidata file. Within one line, describe the Wnn word type name and the Canna word type while delimiting by a space(s) or tab.

  Wnn word type       Canna word type
  Adverb              #F04

Examples

% wtoc -f tsuikahinshi kihon.u kihon.t

Inputs word-type correspondence information from tsuikahinshi, then converts Wnn text-form dictionary kihon.u into the Canna text-form dictionary before output.

% wtoc special.u | lpr

Converts Wnn text-form dictionary special.u into Canna text-form dictionary, then outputs the result to the line printer.

Releases

15 releases since Debian 2.0 (Hamm); the text changed 2 times.

  1. 2.0–3.0
  2. 3.1–7
  3. 8–13

From canna 3.7p3-25 in Debian 13 (Trixie). Parsed by carta from the page's man source.