汉字转换为平假名 [英] Kanji to Hiragana Conversion

查看:1802
本文介绍了汉字转换为平假名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

 

我正在寻找一种将汉字字符转换为C#中相应的平假名字符的方法.我在Visual Studio中工作.我知道MS Word可以为您提供选择

Im looking for a way to convert Kanji characters to corresponding Hiragana characters in C#. Im working in Visual Studio. I know that MS Word gives you options

. C Sharp中是否有执行类似操作的例程?

for Kanji and Hiragana when one is typing in Japanes. Is there a routine in C sharp that does a similar thing?

 

谢谢!

推荐答案

您需要字典和语法分析引擎.例如日文汉字日".有数十种平假名表示形式,您需要根据具体情况选择最确定的一种.

You need a dictionary and a grammar analysis engine. For example the Kanji "日" has dozens of hiragama representations and you need to choose one with the best certainty based on the context.

C#中没有任何形式的字典.我不确定是否可以自动将Word存档.尝试 Office开发类别下的论坛.

There is no dictionary of any kind in C#. I am not sure if you can automate Word to archive this. Try the forums under the Office development category.


这篇关于汉字转换为平假名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆