![]() doc of Documents to Data and its exa connects to.You’re almost there! Just connect the operators. In the “Parameters” pane, just type text in the “text attribute” field. You can find the operator under Text Processing > Documents to Data.ĭrag and drop it into our “Process” pane and select it. Luckily, there is another operator right next door called the “Documents to Data” operator. So, we need to convert the “Document” type text we just created into an “Example Set”. Great! However, the operator (“Enrich Data by Webservice”) we set up to connect to the API expects an input type called “Example Set”, not a “Document”. For purpose of this tutorial, we will just type something like the following: I love hotdogs. Then click on “Edit Text…” in the “Parameters” pane to paste in some sample text. Select it so that we can edit the “Parameters” in the right pane. Again, in the left “Operators” pane, find the “Create Document” operator under Text Processing > Create Document.ĭrag it to the center “Process” pane and drop it there. If not, go back to the Marketplace (Updates and Extensions) to install it, the same way you installed the “Web Mining” extensions.įirst, lets create a sample document with sample text. Now that we have the right settings to connect with the API, we need text to send.īefore we can start, make sure that you have the “Text Processing” extension installed. Note: we are using Regular Expression queries to match and grab the four items (“type”, “score”, “ratio”, and “keywords”) we want out of the entire JSON response that we would get back from the API.Īfter your done, it should look something like this: Step 3) Setup the Input Text We need to set the following parameters: query type Select the operator we just dropped in the “Process” pane to edit the “Parameters” on the right pane. On the left “Operators” pane, find the operator called “Enrich Data by Webservice” listed under Web Mining > Services > Enrich Data by Webservice.ĭrag it to the center “Main Process” pane and drop it there. To connect to our web API, you will need to use the Web Mining extension you just downloaded. With the Web Mining extension installed, you can now connect to REST APIs to process your text and data. ![]() Once the Marketplace is opened, search for “ Web Mining” and install the extension. However, before we can do this, we need to install an extension that will allow us to send data to the web and capture the response.įirst, start RapidMiner and in the top menu, go to Help > Marketplace (Updates and Extensions)… RapidMiner is a great tool already packed with text processing capabilities. In addition, we can use it to connect to third party APIs to do more work, such us connecting to our Twinword Sentiment Analysis API. If not, visit the link above, download and install the full software to start your free trial. Step 1) Install Web Mining Extension for RapidMinerīefore going any further, you should already have RapidMiner installed. Twinword Sentiment Analysis API Key ( get free API key at Mashape).RapidMiner Studio ( download free trial).This tutorial uses our free Twinword Sentiment Analysis API. This is a tutorial on how to do sentiment analysis with RapidMiner. ![]() RapidMiner is a great tool for non-programmers to do data mining and text analysis. Please help us fix this tutorial by letting us know if you have found a solution or alternative via an email or a comment below. Please contact RapidMiner to get more support. The operator “Enrich Data by Webservice” of the RapidMiner Web Mining Extension seems to be having issues making connections to URLs over HTTPS protocol. ***As of April 3rd, 2016, this tutorial no longer works until further notice.***
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |