Complex sentence: For thousands of years in China, public schools especially public higher learning schools were for men, generally only schools established by zongzu (宗族, gens) for both male and female students.
Split into simpler sentences: For thousands of years in China, public schools especially public higher learning schools were for men. Generally only schools established by zongzu (宗族, gens) were for both male and female students.