Stand-alone language identification system