public void analyse() {
		LexicalAnalyser lexicalAnalyser = CommandAnalyseFactory
				.createLexicalAnalyser(this.sentence);
		try {
			lexicalAnalyser.analyse();
		} catch (AnalyseException e) {
		}
		if (!lexicalAnalyser.isComplete()) {
			this.errors = lexicalAnalyser.getErrorMsg();
			return;
		}
		SyntaxAnalyser syntaxAnalyser = CommandAnalyseFactory
				.createSyntaxAnalyser(lexicalAnalyser);
		try {
			syntaxAnalyser.analyse();
		} catch (GrammarCheckException e) {
		} catch (GrammarCreateException e) {
		}
		if (!syntaxAnalyser.isComplete()) {
			this.errors = syntaxAnalyser.getErrorMsg();
			return;
		}
		this.result = syntaxAnalyser.getParserResult();
		this.isSuccess = true;
	}