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 Ansichten (letzte 30 Tage)
kannada alphabets text document to be read using matlab.It is very much required for my project.
  3 Kommentare
Swapna Havalgi
Swapna Havalgi am 18 Okt. 2015
yes it is a text processing question to read a file containing unicode encoded kannada characters.
Swapna Havalgi
Swapna Havalgi am 2 Nov. 2015
Thank you for the response but in the code below what does 'yourtext=' mean just a variable name?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 19 Okt. 2015
YourText = native2unicode( uint8( fileread('YourUTF8File.txt') ), 'UTF-8');
  4 Kommentare
Swapna Havalgi
Swapna Havalgi am 10 Nov. 2015
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 am 26 Nov. 2015
Bearbeitet: Walter Roberson am 26 Nov. 2015
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);

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by