class TranslatorImp implements Translator {

	public String ChineseStringToEnglishStringWithPOS(Analyzer analyzer, String ChineseString) {
		List<String> nodes = analyzer.parserString(ChineseString);
		StringBuilder sb = new StringBuilder();
		Iterator<String> it = nodes.iterator();
		while(it.hasNext()) {
			String temp = it.next();
			if(cte.containsKey(temp)) {
				sb.append(cte.get(temp));
			}else if(fullcte.containsKey(temp)){
				sb.append(fullcte.get(temp));
			}else {
				sb.append(temp);
			}
			if(poscc.containsKey(temp)) {
				sb.append(StableData.NLP_SYMBO_SLASH);
				sb.append(poscc.get(temp));
			}
			sb.append(StableData.SPACE_STRING);
		}
		return sb.toString();
	}

}