Skip to content

Query about Text Preprocessing (Encoding)

3 messages · Khadija Shakeel, Duncan Murdoch, Michael Dewey

#
i want to work with Urdu language but R is only displaying Urdu text but
cant work with Urdu text. Actually I want to apply preproessing steps of
text mining. but R is nor responding for this text.
Help me how can I handle this problem?

here are some pictures of word cloud of Urdu text.
#
On 29/05/2016 3:20 AM, Khadija Shakeel wrote:
R doesn't currently have a translation team (see 
translation.r-project.org) for Urdu, so it may be hard for you to get 
Urdu-specific support.  However, I would guess the problems you are 
having are common to other languages that use non-Roman alphabets, and 
you may get some advice from the translation teams for one of them.

The general issues that I know of are:

  - R needs to know your encoding.  On Unix-alikes the best support is 
for UTF-8; Windows support is weaker, because Windows tends to use 
UTF-16 or other multibyte encodings, and R's support for those is mixed.

  - You need to make sure your graphics device supports your alphabet. 
Not all graphics devices have character support for all languages.

Duncan Murdoch
#
Would it be a good idea to mention Urdu in the subject line as other 
people who deal with Urdu, but not specifically text mining, may be able 
to help? I have added it to my reply
On 29/05/2016 08:20, Khadija Shakeel wrote: