"Which version of WVTool is used by the RapidMiner Text Plugin?"

pserpser Member Posts: 8 Contributor II
edited May 2019 in Help
Hello,

I tried to change some details in the wordlist creation that is done by the TextInput operator from the RapidMiner Text Plugin. In order to do this I looked into the sourcecode of this operator (TextInput.java) and found that it uses a WVTool object from the Word Vector Tool:

private WVTool wvt = new WVTool(false);
[...]
wvt.addToWordList(wordList, tokens, append);
Since the Word Vector Tool is included in the RapidMiner Text Plugin only as a jar-file, without sourcecode, I downloaded the latest version of the Word Vector Tool from Sourceforge (http://sourceforge.net/project/showfiles.php?group_id=131810). Now I looked into the file WVTool.java from the sourcecode I downloaded but it does not contain the method "addToWordList" that is called from the TextInput.java!
So it seems RapidMiner Text Plugin does not use the latest version of Word Vector Tool. Where can I get the version of Word Vector Tool that is used by the RapidMiner Text Plugin?

Thanks in advance,
Daniel

Answers

  • drstevekramerdrstevekramer Member Posts: 7 Contributor II
    I ran into exactly that same problem. You can get the updated version of the WVTool class in the rapidminer-text-4.4-src.zip  source bundle here -> http://sourceforge.net/project/showfiles.php?group_id=114160&;package_id=128128.

    I hope that helps!

    Cheers,
    Steve

  • drstevekramerdrstevekramer Member Posts: 7 Contributor II
    Sorry, I spoke too soon. The WVTool class from the rapidminer-text-4.4 release does indeed have that method, but I wasn't able to find the corresponding Java source file after all.

    Best of luck in your search, and please let us know if you're able to locate it.

    Cheers,
    Steve
Sign In or Register to comment.