Why Tokenize component not show any list of words?

research_moghimresearch_moghim MemberPosts:2Contributor I
edited January 2020 inHelp

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.

01.png 0B

Answers

  • sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM ModeratorPosts:2,959Community Manager

    @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

  • rfuentealbarfuentealba Moderator, RapidMiner Certified Analyst, Member, University ProfessorPosts:568Unicorn

    Hi@research_moghim,

    你介意发布th吗e 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.

  • neginzneginz MemberPosts:17Maven
    research_moghim
    U Should set the encoding toUTF-8
Sign InorRegisterto comment.