how to write output from rapidminer to a txt file?

徘徊边缘 提交于 2020-01-02 10:23:08

问题


i am using rapidminer 5.3.I took a small document which contains around three english sentences , tokenized it and filtered it with respect to the length of words.i want to write the output into a different word document.i tried using Write document utility but it is not working,it is simply writing the same original document into the new one.However when i write the output to the console,it gives me the expected answer.Something wrong with the write document utility. Here is my process

READ DOCUMENT --> TOKENIZE --> FILTER TOKENS --> WRITE DOCUMENT


回答1:


Try the following

Cut Document (with (\S+) as the regular expression)

Inside the Cut Document operator use Tokenize with (non letters) followed by Filter Tokens

Use Combine Documents after Cut Document

Then use Write Document

This should do what you want

Andrew



来源:https://stackoverflow.com/questions/23884817/how-to-write-output-from-rapidminer-to-a-txt-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!