Abstract With the deepening of the reform of civic education in colleges and universities, the traditional mode of civic education has gradually revealed its limitations. The integration of red cultural resources into the ideological education of colleges and universities has become a more common method of ideological education. According to the attributes of red cultural resources in civic education, the study combines the HMM model, BiLSTM model, and BiLSTM-CRF model to construct a red cultural resource base for civic education courses in colleges and universities so as to dynamically integrate red cultural resources in civic education in colleges and universities, analyze the textual features of the red cultural resources in the research methods in the college and university education resource base, and explore the teaching of civic education in colleges and universities. The top five high-frequency words in the mainstream research methods are “history” (540), “comparison” (538), “literature” (486), “system” (334), “discipline” (245), and the most frequent words in the empirical research method are “case” (67), “investigation “(26), “interview” (23), “culture” (15), and “qualitative research” (18). The degree of understanding of the content of Yan’an red cultural resources by students of colleges and universities in Shaanxi Province is Yan’an spirit (14.65%), celebrity heroes’ deeds (26.19%), red literary writings (3.59%), red attractions (35.95%), the course of the revolutionary struggle (25.16%), deeds of poverty alleviation (19.54%), and no understanding (8.57%).