Why Tokenize component not show any list of words?

research_moghim
research_moghim New Altair Community Member
edited November 5 in Community Q&A

I am working on a persian classification project. Persian texts is very similar to arabic texts. when I use Tokenize, it does not show any word in its wordlist page and in Example Set Page, The Image below will be shown:

01.pngOutput of Process Documents from Data

I need to classify persian text to some category, but I dont know why.

I Follow some steps like this: 

1- Read Excel(using Read Excel component) dataset with 2 column  : col1 : persian Text ,col2: Category

2- I use Set role component to labeling data

3- I use Process Documents from Data component containing Tokenize(with any mode not change anythings) and Filter Token(min:5,max:25) inside it

4- Then I use Cross Validation Component to train with SVM or Basian and in test mode to get performance. 

The program runs correctly and performance is not bad for e.g accuracy is 50% but I think my work is Wrong.

Any help would be appreciated.

 

Answers

  • sgenzer
    sgenzer
    Altair Employee

    hi @research_moghim - so I'm not sure many people here (including myself) have much experience with Persian text. :( I will say that, in general, this is often an encoding issue. Perhaps try that?


    Scott

     

  • rfuentealba
    rfuentealba New Altair Community Member

    Hi @research_moghim,

     

    Do you mind to publish the XML for your process? Although I don't have experience with Persian text, I do have experience with different encodings and language issues. Perhaps we can see what's happening there and see if there is anything we can help with.

     

  • neginz
    neginz New Altair Community Member
    research_moghim
    U Should set the encoding to UTF-8