I want to read regional language alphabets for example kannada alphabets which is a regional language of karnatka India using matlab.what code is required to do that

3 ビュー (過去 30 日間)
kannada alphabets text document to be read using matlab.It is very much required for my project.
  3 件のコメント
Swapna Havalgi
Swapna Havalgi 2015 年 10 月 18 日
yes it is a text processing question to read a file containing unicode encoded kannada characters.
Swapna Havalgi
Swapna Havalgi 2015 年 11 月 2 日
Thank you for the response but in the code below what does 'yourtext=' mean just a variable name?

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 10 月 19 日
YourText = native2unicode( uint8( fileread('YourUTF8File.txt') ), 'UTF-8');
  4 件のコメント
Swapna Havalgi
Swapna Havalgi 2015 年 11 月 10 日
Is this code works with the higher versions of MATLAb i.e. R2014b and R2015b or with any version of matlab?
Swapna Havalgi
Swapna Havalgi 2015 年 11 月 26 日
編集済み: Walter Roberson 2015 年 11 月 26 日
This code below is not reading the kannada text from the text document it is just showing the boxes (tofu) can anyone suggest solution ?
Message = native2unicode( uint8(
fileread('C:\Users\welcome\Desktop\YourUTF8File.txt') ), 'UTF-8');
text(.5,.5,Message,'HorizontalAlignment','center','FontName','Noto Sans Kannada','FontSize',18)
axis off
disp(Message);

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by