跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机页面
社群首页
帮助
希顶相关网站
希顶社区官网
(原作)希顶翻译器
〇改希顶转写器
希顶模组服务器
搜索
搜索
外观
创建账号
登录
个人工具
创建账号
登录
查看“︁User:ColorfulGalaxy/Programs”︁的源代码
用户页
讨论
不转换
不转换
简体
繁體
新加坡简体
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
用户贡献
日志
查看用户组
特殊页面
页面信息
查看头像
外观
移至侧栏
隐藏
←
User:ColorfulGalaxy/Programs
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于这些用户组的用户执行:
用户
、storagereadable
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
Chart generator (current version) <pre>import sys import os.path import pypinyin import xdi8string # all the characters spaced out translated into shidinn f=open("wikifile.txt","w",encoding="utf-8") characters=[chr(i) for i in range(0x4e00,0xa000)] plaintext=' '.join(chr(n) for n in range(0x4e00,0xa000)) ciphertext=xdi8string.output b1i45=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,(0),0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,44,39,42,22,23,38,26,41,0,0,0,0,0,0,0, 0,35,27,0,11,34,25,0,14,0,0,0,37,0,15,0, 0,0,0,0,40,0,43,0,0,36,0,0,0,0,0,0, 0,31,1,28,17,33,29,19,21,45,5,20,16,3,9,32, 2,6,13,12,18,30,24,4,7,8,10,0,0,0,0,0,0] b1i90000=[(((i-1)%9+1) * (10**((i-1)//9))if i!=0 else 0) for i in b1i45] def b1i45encode(word): return ' '.join((str(b1i45[ord(q)]) if len(str(b1i45[ord(q)]))>=2 else '0'+str(b1i45[ord(q)])) for q in word) def b1i90000sum(word): return sum([b1i90000[ord(q)] for q in word]) plain=plaintext.split() cipher=ciphertext.split() maxlength=0 maxlench=[] f.write("Do not simply rely on this chart to translate, as this chart did not handle [[talk:希顶日本语#注意多音字|homograph]] properly. The calculation may be incorrect. If so, please fix it.") f.write("{| class=\"wikitable sortable\"\n"); f.write("! Character !! Unicode decimal !! Stroke count !! han4 yu3 pin1 yin1 !! xdi8 aho !! [[b1i45密码|b1i45]] !! xdi8 aho letter count !! [[希顶解经|Numeral sum]] !! Stress pattern !! Notes\n") for p in range(len(plain)): if(plain[p]!=cipher[p]): f.write("|-\n"); f.write("| "+plain[p]+" || ") f.write(str(ord(plain[p]))) f.write(" || || ") f.write(pypinyin.pinyin(characters[p],style=pypinyin.Style.TONE3,neutral_tone_with_five=True)[0][0]) f.write(" || "+cipher[p]) f.write(" || "+b1i45encode(cipher[p])) f.write(" || "+str(len(cipher[p]))) f.write(" || "+str(b1i90000sum(cipher[p])) + "\n") if(maxlength<len(cipher[p])): maxlench=[p] maxlength=len(cipher[p]) elif(maxlength<=len(cipher[p])): maxlench+=[p] f.write("|}") print(maxlench,maxlength,len(maxlench)) f.close(); </pre>
返回
User:ColorfulGalaxy/Programs
。