Complex sentence: Most of the neuter nouns became masculine while a few feminine, like the neuter अग्नि (agni) in the Prakrit became the feminine आग (āg) in Hindi and "jag" in Romani.
Split into simpler sentences: Most of the neuter nouns became masculine while a few became feminine. For instance, the neuter अग्नि (agni) in the Prakrit became the feminine आग (āg) in Hindi and "jag" in Romani.