Speaking crystal: AI learns language of atom arrangements in solids