}
private void visualizeEmbeddedLcpTable(String fileName, String caption, String label) throws IOException {
buffer.append(String.format(LATEX_INPUT, fileName));
Writer out = new FileWriter(DOC_PATH + fileName);
LinearizedSuffixTree lst = new LinearizedSuffixTreeImpl(corpus.sequence(), corpus.alphabetSize());
int windowSize = 5;
Interval interval = findInterval(lst, "in");
EmbeddedSuffixTree est = EmbeddedSuffixTreeImpl.create(lst, interval, windowSize, corpus);
LaTeXVisualizer.visualizeLcpInSuffixTable(out, caption, label, est, corpus, true);
out.flush();