This article will focus on the relationship between Digital Humanities and Artificial Intelligence and will discuss the methodology of applying Artificial Intelligence in Digital Humanities; specifically, the article will target the applications in Dunhuang culture studying. The development of digital humanities facilitated by computers and the future research direction will be studied. The article aims to propose specific methods of applying Artificial Intelligence to Digital Humanities to facilitate the inheritance, development, and innovation of traditional culture. By sorting out the development process of digital humanities and combining it with the newest development direction of Artificial Intelligence forecasted by specialists in the area, the study will discuss the possible applications of the technologies in intangible cultural heritage studies. The methods include utilizing Smart Data to obtain structured and visual cultural heritage, implying Cross-media Intelligence to help reconstruct and propagate culture, and using Human-machine Association for the renovation and recreation of cultural heritage. Additionally, the specific methods of applying these methodologies to Dunhuang culture studying will be discussed, whose object is to realize natural language analysis, image style transfer using Smart Data, build digital museums using VR and AR, and restore murals in Mogao caves using Human-machine Association. The effects of these techniques on cultural heritage and its future development methodology will also be discussed.