Inherited from Ottoman Turkish مثنوی (mesnevî), from Persian مثنوی (masnavi), from Arabic مَثْنَوِيّ (maṯnawiyy).
mesnevi