public static List<Sentence> node2sentence(Node[] nodes) {
		List<Sentence> stnts = new LinkedList<Sentence>();
		LinkedList<Cell> buffer = new LinkedList<Cell>();
		Cell temp;
		for (int i = 0; i < nodes.length; i++) {
			boolean usePos = false;
			String pos = CHTag.CH_WORD;
			if (NER_TAGS.indexOf("," + nodes[i].type + ',') > -1) {
				pos = nodes[i].type.toUpperCase();
				usePos = true;
			}

			temp = new Cell(nodes[i].image, pos, -1, usePos);
			temp.tag = nodes[i].type.toUpperCase();
			buffer.add(temp);
			if (nodes[i].type.equals("w")) {
				temp = new Cell(Tag.ST, Tag.ST, -1, true);
				temp.tag = Tag.ST;
				buffer.addFirst(temp);
				temp = new Cell(Tag.SE, Tag.SE, -1, true);
				temp.tag = Tag.SE;
				buffer.add(temp);
				stnts.add(new Sentence(buffer.toArray(new Cell[buffer.size()]),
						0));
				buffer.clear();
			}
		}
		if (!buffer.isEmpty()) {
			temp = new Cell(Tag.ST, Tag.ST, -1, true);
			temp.tag = Tag.ST;
			buffer.addFirst(temp);
			temp = new Cell(Tag.SE, Tag.SE, -1, true);
			temp.tag = Tag.SE;
			buffer.add(temp);
			stnts.add(new Sentence(buffer.toArray(new Cell[buffer.size()]),
					0));
			buffer.clear();
		}
		return stnts;
	}