The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"text processing code modification"
I downloaded the text processing extension from http://sourceforge.net/projects/rapidminer/files/2.%20Extensions/Text%20Processing/5.0/ .
I open the files by using JCreator. I wish to do modification on it to implement new codes. How can I run the code to see the result of the changes?
I open the files by using JCreator. I wish to do modification on it to implement new codes. How can I run the code to see the result of the changes?
Tagged:
0
Answers
first of all we suggest to base your modifications on the latest version 5.2 from http://sourceforge.net/projects/rapidminer/files/2.%20Extensions/Text%20Processing/5.2/ . To run your changes, you need to checkout RapidMiner in addition, and run the *makeJar* target of its ant file. Then, run the *install* target of the text processing extension to install it. The RapidMiner source and the extension source must be put into the same folder for it to work, like this:
/path/to/src/RapidMiner_Unuk
/path/to/src/RapidMiner_Plugin_TextProcessing_Unuk
Instead of modifying an extisting extension, you should consider to create a custom extension, because RapidMiner's API is quite stable, so that your extension is very likely to work also in future versions, whereas no one can guarantee that you can apply your patches after the next release of the TextProcessing extension.
Best,
Marius
1. check out by using eclipse? as I know that checkout is for whole RapidMiner instead of text processing. Am I able to chekout only textprocessing?
2. any other IDE can do checkout for rapidminer? I prefer netbeans. If yes, can show me the steps of doing it?
You can also obtain the zipped sources directly from sourceforge, if you don't want to you svn: http://sourceforge.net/projects/rapidminer/files/ Please find the text processing extension in the Extensions folder.
On the upper left there is also the "browse svn" link, from where you can find out about the paths inside the svn repository, if you want to checkout with svn.
Best, Marius
2. " To run your changes, you need to checkout RapidMiner in addition, and run the *makeJar* target of its ant file. Then, run the *install* target of the text processing extension to install it."
I could't get your meaning here, and I cant found the make.jar
3. "On the upper left there is also the "browse svn" link, from where you can find out about the paths inside the svn repository,"
"browse svn" from where?
Sorry that I cant really get the meaning.
2. Sorry, I wasn't clear about that: in the project folders, you find a build.xml, this is an ant build file. It contains so-called targets. You need to install the ant tool to run them. Eclipse has a built-in ant manager, so that would be the easiest way. But you can also do it with other tools, or run ant directly from the command line.
Best, Marius