Hi Folks,
I have an issue with the TextVisualizer component that is part of the Information Extraction plugin. When I try and run any of the sample processes for the plugin (downloadable from link below) that use the TextVisualiser I get an error such as below.
Anyone familiar with the Information Extraction plugin around to help? I am using the latest RapidMiner: 5.2.008 and the latest Information Extraction plugin on SourceForge. The other Information Extraction components seem to work fine so far.
[tt]Dec 31, 2012 4:15:01 PM WARNING: Error creating renderer: java.lang.ClassCastException: com.rapidminer.operator.visualization.TextVisualizer cannot be cast to com.rapidminer.operator.visualization.TextVisualizer[/tt]
Sample processes were downloaded from:
http://ieplugin4rm.svn.sourceforge.net/viewvc/ieplugin4rm/informationextractionplugin_Vega/trunk/informationExtraction_Vega/samples/
http://ieplugin4rm.svn.sourceforge.net/viewvc/ieplugin4rm/informationextractionplugin_Vega/trunk/informationExtraction_Vega/samples/
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.2.008">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.2.008" expanded="true" name="Process">
<process expanded="true" height="540" width="815">
<operator activated="true" class="text:read_document" compatibility="5.2.004" expanded="true" height="60" name="Read Document" width="90" x="45" y="30">
<parameter key="file" value="C:\Documents and Settings\jcurry\My Documents\A_AAAAAA\samples\toyText.txt"/>
</operator>
<operator activated="true" class="text:documents_to_data" compatibility="5.2.004" expanded="true" height="76" name="Documents to Data" width="90" x="179" y="30">
<parameter key="text_attribute" value="text"/>
</operator>
<operator activated="true" class="informationExtraction:sentence_tokenizer" compatibility="1.0.000" expanded="true" height="76" name="SentenceTokenizer" width="90" x="45" y="165">
<parameter key="attribute" value="text"/>
<parameter key="new token-name" value="sentence"/>
</operator>
<operator activated="true" class="informationExtraction:word_tokenizer" compatibility="1.0.000" expanded="true" height="76" name="WordTokenizer" width="90" x="179" y="165">
<parameter key="attribute" value="sentence"/>
<parameter key="new token-name" value="word"/>
</operator>
<operator activated="true" class="informationExtraction:text_visualizer" compatibility="1.0.000" expanded="true" height="76" name="TextVisualizer" width="90" x="313" y="165">
<parameter key="text-attribute" value="word"/>
<parameter key="label-attribute" value="sentence"/>
</operator>
<operator activated="true" class="select_attributes" compatibility="5.2.008" expanded="true" height="76" name="Select Attributes" width="90" x="45" y="300">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="batch|word"/>
<parameter key="include_special_attributes" value="true"/>
</operator>
<operator activated="true" class="store" compatibility="5.2.008" expanded="true" height="60" name="Store" width="90" x="179" y="300">
<parameter key="repository_entry" value="./ToyTextTokenized"/>
</operator>
<connect from_op="Read Document" from_port="output" to_op="Documents to Data" to_port="documents 1"/>
<connect from_op="Documents to Data" from_port="example set" to_op="SentenceTokenizer" to_port="example set input"/>
<connect from_op="SentenceTokenizer" from_port="example set output" to_op="WordTokenizer" to_port="example set input"/>
<connect from_op="WordTokenizer" from_port="example set output" to_op="TextVisualizer" to_port="example set input"/>
<connect from_op="TextVisualizer" from_port="example set output" to_op="Select Attributes" to_port="example set input"/>
<connect from_op="TextVisualizer" from_port="text visualizer port" to_port="result 1"/>
<connect from_op="Select Attributes" from_port="example set output" to_op="Store" to_port="input"/>
<connect from_op="Store" from_port="through" to_port="result 2"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="54"/>
<portSpacing port="sink_result 2" spacing="18"/>
<portSpacing port="sink_result 3" spacing="0"/>
</process>
</operator>
</process>
Regards,
John.