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
Problem with WVTOOL
Hi all,
I am trying to compile the Wvtool and that is what i am getting
[javac] Compiling 60 source files to C:\Users\User\workspace\wvtool\build
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\TextInput.java:406: cannot find symbol
[javac] symbol : constructor BooleanParameterCondition(com.rapidminer.operator.TextInput,java.lang.String,boolean,boolean)
[javac] location: class com.rapidminer.parameter.conditions.BooleanParameterCondition
[javac] type.registerDependencyCondition(new BooleanParameterCondition(this, PARAMETER_USE_GIVEN_WORD_LIST, false, false));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\TextVisualizer.java:50: com.rapidminer.operator.TextVisualizer is not abstract and does not override abstract method isCapableToVisualize(java.lang.String) in com.rapidminer.ObjectVisualizer
[javac] public class TextVisualizer implements ObjectVisualizer {
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\WVToolConfigurationWizard.java:179: cannot find symbol
[javac] symbol : method transformList2String(java.util.List<java.lang.String[]>)
[javac] location: class com.rapidminer.parameter.Parameters
[javac] parameters.setParameter("texts", Parameters.transformList2String(texts));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\WVToolConfigurationWizard.java:228: cannot find symbol
[javac] symbol : method transformString2List(java.lang.Object)
[javac] location: class com.rapidminer.parameter.Parameters
[javac] textList = Parameters.transformString2List(parameters.getParameter("texts"));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\WVToolPreviewer.java:179: cannot find symbol
[javac] symbol : method transformString2List(java.lang.Object)
[javac] location: class com.rapidminer.parameter.Parameters
[javac] List<?> textList = Parameters.transformString2List(listener.getParameters().getParameter("texts"));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\extraction\segmenter\DocumentSegmenterClass.java:49: cannot find symbol
[javac] symbol : method valueOf(java.lang.Object)
[javac] location: class java.lang.Boolean
[javac] result = new XPathSegmenter((XPathExtractor) extractor, Boolean.valueOf(params.getParameter(DocumentSegmenterOperator.PARAMETER_IGNORE_CDATA)));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\extraction\segmenter\DocumentSegmenterClass.java:49: internal error; cannot instantiate XPathSegmenter(com.rapidminer.operator.extraction.XPathExtractor,boolean) at com.rapidminer.operator.extraction.segmenter.XPathSegmenter to ()
[javac] result = new XPathSegmenter((XPathExtractor) extractor, Boolean.valueOf(params.getParameter(DocumentSegmenterOperator.PARAMETER_IGNORE_CDATA)));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\extraction\util\FeatureExtractionUtil.java:90: cannot find symbol
[javac] symbol : method transformString2List(java.lang.Object)
[javac] location: class com.rapidminer.parameter.Parameters
[javac] nameSpaceParameterList = Parameters.transformString2List(params.getParameter(PARAMETER_NAMESPACES));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\extraction\util\FeatureExtractionUtil.java:121: cannot find symbol
[javac] symbol : method transformString2List(java.lang.Object)
[javac] location: class com.rapidminer.parameter.Parameters
[javac] requests = Parameters.transformString2List(params.getParameter(PARAMETER_ATTRIBUTES));
[javac] ^
[javac] 9 errors
Any ideas ?
Thanx in advance
I am trying to compile the Wvtool and that is what i am getting
[javac] Compiling 60 source files to C:\Users\User\workspace\wvtool\build
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\TextInput.java:406: cannot find symbol
[javac] symbol : constructor BooleanParameterCondition(com.rapidminer.operator.TextInput,java.lang.String,boolean,boolean)
[javac] location: class com.rapidminer.parameter.conditions.BooleanParameterCondition
[javac] type.registerDependencyCondition(new BooleanParameterCondition(this, PARAMETER_USE_GIVEN_WORD_LIST, false, false));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\TextVisualizer.java:50: com.rapidminer.operator.TextVisualizer is not abstract and does not override abstract method isCapableToVisualize(java.lang.String) in com.rapidminer.ObjectVisualizer
[javac] public class TextVisualizer implements ObjectVisualizer {
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\WVToolConfigurationWizard.java:179: cannot find symbol
[javac] symbol : method transformList2String(java.util.List<java.lang.String[]>)
[javac] location: class com.rapidminer.parameter.Parameters
[javac] parameters.setParameter("texts", Parameters.transformList2String(texts));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\WVToolConfigurationWizard.java:228: cannot find symbol
[javac] symbol : method transformString2List(java.lang.Object)
[javac] location: class com.rapidminer.parameter.Parameters
[javac] textList = Parameters.transformString2List(parameters.getParameter("texts"));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\WVToolPreviewer.java:179: cannot find symbol
[javac] symbol : method transformString2List(java.lang.Object)
[javac] location: class com.rapidminer.parameter.Parameters
[javac] List<?> textList = Parameters.transformString2List(listener.getParameters().getParameter("texts"));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\extraction\segmenter\DocumentSegmenterClass.java:49: cannot find symbol
[javac] symbol : method valueOf(java.lang.Object)
[javac] location: class java.lang.Boolean
[javac] result = new XPathSegmenter((XPathExtractor) extractor, Boolean.valueOf(params.getParameter(DocumentSegmenterOperator.PARAMETER_IGNORE_CDATA)));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\extraction\segmenter\DocumentSegmenterClass.java:49: internal error; cannot instantiate XPathSegmenter(com.rapidminer.operator.extraction.XPathExtractor,boolean) at com.rapidminer.operator.extraction.segmenter.XPathSegmenter to ()
[javac] result = new XPathSegmenter((XPathExtractor) extractor, Boolean.valueOf(params.getParameter(DocumentSegmenterOperator.PARAMETER_IGNORE_CDATA)));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\extraction\util\FeatureExtractionUtil.java:90: cannot find symbol
[javac] symbol : method transformString2List(java.lang.Object)
[javac] location: class com.rapidminer.parameter.Parameters
[javac] nameSpaceParameterList = Parameters.transformString2List(params.getParameter(PARAMETER_NAMESPACES));
[javac] ^
[javac] C:\Users\User\workspace\wvtool\src\com\rapidminer\operator\extraction\util\FeatureExtractionUtil.java:121: cannot find symbol
[javac] symbol : method transformString2List(java.lang.Object)
[javac] location: class com.rapidminer.parameter.Parameters
[javac] requests = Parameters.transformString2List(params.getParameter(PARAMETER_ATTRIBUTES));
[javac] ^
[javac] 9 errors
Any ideas ?
Thanx in advance
0
Answers
which versions of RapidMiner and TextMining plugin do you use? I suggest using the latest version in CVS Branch Zaniah of RapidMiner and the latest head of RapidMiner_Text_Plugin
Greetings,
Sebastian