Cjknife offers most functions from cjklib on the command line. Non-
It is impossible though to specify settings manually so that particularly
conversion targets cannot be adjusted.
Similar to builder options in buildcjkdb support for options as listed by
ReadingOperator.getDefaultOptions() and
ReadingConverter.getDefaultOptions() could be implemented, while taking
into account that for reading conversion source and target reading options
might be disjoint.
Outcome could be (just an idea)
$ cjknife -s Pinyin -t Pinyin?toneMarkType=Numbers -m nv3
nü3
Options not specified should maybe still be subject to guessing, see
example above.
Maybe the option format similar to buildcjkdb will be useful (note the
mixture of operator and converter options):
$ cjknife --Pinyin-toneMarkType=Numbers --Pinyin-keepPinyinApostrophes=yes
-m nv3'hai2
nü3'hai2
Original issue reported on code.google.com by christop...@gmail.com on 27 Jul 2009 at 1:04
Original issue reported on code.google.com by
christop...@gmail.com
on 27 Jul 2009 at 1:04