vb.net中的阿拉伯字母频率 [英] arabic letter frequency in vb.net

查看:95
本文介绍了vb.net中的阿拉伯字母频率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想执行示例文本中包含的阿拉伯字符的字母频率,但是我不知道如何读取包含阿拉伯语内容的文本文件以及如何计算每个字符的频率

例如

البيتالكسزاللتيلالزجاجالست.

各个字母所在的地方

brءءءببددددظظظظظbr br br br br

如何检测写入或存储文件的代码页?
它可以打开用阿拉伯语言创建的文本文件吗?

I want to perform letter frequency of Arabic characters contained in a sample text, but i don''t know how to read the text file containing the Arabic content and how to count the frequency of each characters

for example

البيت الكسز اللتيل الزجاج الست.

where individual letters are

ا أ إ آ ى ؤ ئ ء ب ت ة ث ج ح خ د ذ ر ز س ش ص ض ط ظ ع غ ف ق ك ل م ن ه

How do i detect the code-page a file is written or stored in?
Can it help in this program, because am opening text files created with Arabic language?

推荐答案

不要在多个地方重新发布相同的问题.在VB.NET论坛中已经回答了这个问题.
Don''t repost the same question in multiple places. This has already been answered in the VB.NET forum.


这篇关于vb.net中的阿拉伯字母频率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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