To what language did Catalan display similarities?