Code and datasets for r-train.ru