Skip to Main content

tuyen dict convert

Convert a dictionary file into a TuyenDict output set readable by the TTK reader.

Usage

tuyen dict convert [OPTIONS] --input <INPUT> --output <OUTPUT>

Options

-i, --input <INPUT>

  • Path to the source dictionary file to convert.
  • Required: Yes.
  • Alias: src.

-o, --output <OUTPUT>

  • Path to the output file, which must end in the dictzip extension.
  • Required: Yes.
  • Alias: dest.

--word-encoding <WORD_ENCODING>

  • Encoding used to decode headwords, auto-detected when not provided.

--definition-encoding <DEFINITION_ENCODING>

  • Encoding used to decode definitions, auto-detected when not provided.

-h, --help

  • Print help.