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 comentarios

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?

Iniciar sesión para comentar.

Respuestas (1)

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

4 comentarios

what does ' YourText = ' mean just a variable name?
Yes, in that context YourText is just a variable name.
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);

Iniciar sesión para comentar.

Categorías

Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 17 de Oct. de 2015

Editada:

el 26 de Nov. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by