public void parserWithTokenByChar() throws Exception {
		Ngram ngram;
		int count = 0;
		Token pre = new Token(null, null);
		String preWordWithAttr = null;

		for (int i = 0; i < 10; i++)
			list = lexer.nextTokenList();

		while (current != null) {
			if (current.getKind() == Token.Kind.TOKEN_WORD) {
				if (pre.getKind() == Token.Kind.TOKEN_ATTRIBUTE) {
					if (preWordWithAttr != null) {
						String attrWithWord[] = preWordWithAttr.split("_");

						ngram = new Ngram();
						ngram.setWordAttribute(attrWithWord[0] + "_"
								+ pre.getContent());
						ngram.setWordGroup(attrWithWord[1] + "_"
								+ current.getContent());

						count++;
						service.addNgram(ngram);
						// if (count == 200)
						// break;
						preWordWithAttr = pre.getContent() + "_"
								+ current.getContent();
					} else {
						preWordWithAttr = pre.getContent() + "_"
								+ current.getContent();

					}
				} else if (current.getKind() == Token.Kind.TOKEN_OTHERS
						|| current.getKind() == Token.Kind.TOKEN_PUNCTION) {
					preWordWithAttr = null;
				}
			}

			pre = current;
			current = lexer.nextToken();
		}
	}