Learning of text-level discourse parsing