/*------------------------------------------------------------------- b5addpy.l Guo Jin (guojin@iss.nus.sg) Oct. 29, 1994 To add pinyin annotation to certain BIG5 hanzi: o rare hanzi (frequency less than a setted threshold); o randomly selected (to help non-native simplified hanzi reader). usage: b5addpy [-h] [-f frequency] [-r probability] -h: for help. -f: the frequency threshold (annotate only those with frequency no more than the threshold). -r: the probability threshold (randomly annotate the setted probability of hanz). default: FREQ = 5; PROB = 0.01; -------------------------------------------------------------------*/ /*------------------------------------------------------------------- gbaddpy.l Guo Jin (guojin@iss.nus.sg) Oct. 29, 1994 To add pinyin annotation to certain GB hanzi: o rare hanzi (frequency less than a setted threshold); o randomly selected (to help non-native simplified hanzi reader). usage: gbaddpy [-h] [-f frequency] [-r probability] -h: for help. -f: the frequency threshold (annotate only those with frequency no more than the threshold). -r: the probability threshold (randomly annotate the setted probability of hanz). default: FREQ = 5; PROB = 0.01; -------------------------------------------------------------------*/