private String parseUtterance() throws IOException{
		String Query="";
		tag="";
		if(utterance == null || utterance.equals("")){
			throw new IOException();
		}
		else if(utterance.matches("youtube .*?")){
			Query = utterance.replaceFirst("youtube ","");
		}
		else if(utterance.matches("play the song .*?")){
			tag = YouTubePlayer.musicTag;
			Query = utterance.replaceFirst("play the song ","");
		}
		else if (utterance.matches("play the video.*?")){
			Query = utterance.replaceFirst("play the video ","");
		}
		else if (utterance.matches("play the clip.*?")){
			Query = utterance.replaceFirst("play the clip ","");
		}		
		else if (utterance.matches("play .*?")){			

			if (utterance.contains("music video")){
				tag = YouTubePlayer.musicTag;
			}
			if (utterance.contains("trailer for")){
				tag = YouTubePlayer.movieTag;
			}
			Query = utterance.replaceFirst("play","");
		}
		return Query;
	}