private void appendTagHtml(StringBuilder html) {
		html.append("<p>dict tag info:");
		Set<Integer> keys = tagMap.keySet();
		Integer[] labels = keys.toArray(new Integer[keys.size()]);
		double size = 100.0 / (labels.length + 1);
		html.append("<table border=\"1\" width=\"100%\">");
		html.append("<tr>");
		html.append("<td width=\"").append(size).append("%\"></td>");
		for (int label : labels) {
			html.append("<td width=\"" + size + "%\" bgcolor=\"red\">")
					.append(ergate.core.Tag.TagMapper.I2Tag(label))
					.append("</td>");
		}
		html.append("</tr>");
		Tag tag;
		Long temp;
		for (int i = 0; i < labels.length; i++) {
			html.append("<tr>");
			html.append("<td width=\"" + size + "%\" bgcolor=\"red\">")
					.append(ergate.core.Tag.TagMapper.I2Tag(labels[i])).append("</td>");
			for (int j = 0; j < labels.length; j++) {
				tag = tagMap.get(labels[i]);
				if (tag == null) {
					html.append("<td width=\"" + size + "%\">&nbsp</td>");
				} else {
					temp = tag.trans.getVal(labels[j]);
					if (temp != null) {
						html.append("<td width=\"").append(size).append("%\">")
								.append(temp).append("</td>");
					} else {
						html.append("<td width=\"" + size + "%\">&nbsp</td>");
					}
				}
			}
			html.append("</tr>");
		}
		html.append("</table>");

	}