}
private void addText(String text1, String text2, Document htmlOut, Element tdl, Element tdr){
// match left column
GST gst = new GST(text1);
gst.setPreprocessingAlgorithm(new EEBOPreprocessing());
gst.match(text2);
int last1 = 0;
for(GSTTile tile : gst.getTiles()){
// for left column
last1 = addTile(last1, text1, tile, htmlOut, tdl);
}
// add last part
addTile(last1, text1, null, htmlOut, tdl);
// match right column
gst = new GST(text2);
gst.setPreprocessingAlgorithm(new EEBOPreprocessing());
gst.match(text1);
int last2 = 0;
for(GSTTile tile : gst.getTiles()){
// for left column