public static void main(String[] args) {
		try {
			TextComponent text = (TextComponent) new BookReader().read("text.txt");
			System.out.println(new ComponentConverter().componentToString(text));
			System.out.print("Sentencis with the same words: ");
			System.out.println(new SameWordsFinder(text).getSentenceCount());
			new BookWriter().write(text, "out.txt");
		} catch (BookException e) {
			LOG.fatal("Fatal", e);
		}
	}