 He attended high school in Ptuj and Maribor.He studied Slavic and Germanic philology at the University of Vienna, where he was a pupil of Franz Miklosich.After obtaining his PhD in Vienna in 1886, he went to postdoctoral studies to Moscow.