-
-
Notifications
You must be signed in to change notification settings - Fork 983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ocd文件在32位,64位下可以通用吗 #656
Comments
經過我測試,似乎是不可以的 |
如果不通用,可以弄成通用的吗? |
因为在做wasm(32位)移植,ocd2的生成只能靠64位native build,就研究了一下。
用gdb运行
底层是
不一致的原因是32位和64位下 MARISA_WORD_SIZE 不一样。我不懂marisa的实现,但我猜测既然64位上都是0那32位的数据应该没什么信息量,然后我替换掉HKVariants.ocd2用 opencc -c s2hk.json 似乎也是能转换的。@ayaka14732 请问你的测试方式怎么复现? |
我已經不記得了,如果可以的話,就是我記錯了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
按我的理解应该是数据格式,32,64应该通用。是这样的吗。
The text was updated successfully, but these errors were encountered: