public String tokenize(String text) {
		Annotation document = new Annotation(text);
		posPipeline.annotate(document);
		List<CoreMap> sentences = document.get(SentencesAnnotation.class);
		StringBuilder builder = new StringBuilder();
		for (CoreMap sentence : sentences) {
			for (CoreLabel token : sentence.get(TokensAnnotation.class)) {
				String word = token.get(TextAnnotation.class);
				if (word.equals("-LRB-")) {
					builder.append("(");
				} else if (word.equals("-RRB-")) {
					builder.append(")");
				} else if (word.equals("``") || word.equals("''")) {
					builder.append("\"");
				} else {
					builder.append(word);
				}
				builder.append(" ");
			}
		}
		return builder.toString();
	}