");
+ for (Tag tag : cloud.tags()) {
+ String classS;
+ if (tag.getNormScore()>0.3f)
+ classS = "tagcloud2_0";
+ else if (tag.getNormScore()>0.2f)
+ classS = "tagcloud2_1";
+ else if (tag.getNormScore()>0.1f)
+ classS = "tagcloud2_2";
+ else
+ classS = "tagcloud2_3";
+
+ String title = "Score = "+tag.getScore()+", Normalized score = "+tag.getNormScore()+", Weight = "+tag.getWeight()+", Category = "+classS.replace("tagcloud2_", "");
+
+ out.println("
"+ tag.getName() +"");
+
+ }
+ out.println("
");*/
+
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+
+
+ }
+
+ /**
+ * @param parameters the parameters to set
+ */
+ public void setParameters(TagCloudParameters parameters) {
+ this.parameters = parameters;
+ }
+
+ public void setData(Map