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

kannada alphabets text document to be read using matlab.It is very much required for my project.

3 Comments

Is this a question about optical character recognition, or is this a question about reading a file represented in UTF-8 or UTF-16 that contains Unicode encoded Kannada characters?
yes it is a text processing question to read a file containing unicode encoded kannada characters.
Thank you for the response but in the code below what does 'yourtext=' mean just a variable name?

Sign in to comment.

Answers (1)

YourText = native2unicode( uint8( fileread('YourUTF8File.txt') ), 'UTF-8');

4 Comments

Is this code works with the higher versions of MATLAb i.e. R2014b and R2015b or with any version of matlab?
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);

Sign in to comment.

Categories

Asked:

on 17 Oct 2015

Edited:

on 26 Nov 2015

Community Treasure Hunt

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

Start Hunting!