CEDICT-TO-CSV(1)

NAME
cedict-to-csv - convert CEDICT dictionary data to CSV

SYNOPSIS
cedict-to-csv [options]

DESCRIPTION
This program converts dictionary data from the CEDICT format into a simple character-delimited value (CSV) format. The program reads text from the standard input, and writes the formatted CSV to the standard output.

If your system has pinyin-dec installed, then this program will use pinyin-dec to automatically convert numbered Chinese Pinyin into Pinyin with proper diacritics. If pinyin-dec is not installed, then the numbered Pinyin will be left in its original form.

OPTIONS

-h, --help
    print usage information and then exit

-v, --verbose
    include information useful for debugging

EXIT STATUS
The exit status is 0 on normal termination, and 1 on error.

DIAGNOSTICS
Errors will print a message to the standard error stream. To enable stack traces for debugging, enable the “verbose” option.

EXAMPLES
$ cat cedict.txt | cedict-to-csv > cedict.csv

Reformat Chinese-to-English dictionary CEDICT to CSV.

BUGS
Please contact the author if any bugs are found, or file a bug report with the project. Incomplete or inaccurate documentation should be treated as a bug.

AUTHOR
yaoguai <http://lapislazulitexts.com/articles/edict_to_csv>