Text mining is part of the larger concept "data science". TDM uses natural language processing to explore words and phrases and their use in data or texts. Read more e.g Ignatow, G., & Mihalcea, R. (2018). An introduction to text mining. SAGE Publications, Inc, https://dx.
Search books and articles about text and data mining e.g. in Sage Research Methods Online