liveBook · Manning

Text mining

As explained in Starting Data Analytics with Generative AI and Python

Text mining is the computational extraction and organization of patterns, relationships, and insights from textual content.

Text mining converts large volumes of unstructured writing into organized data for analysis. It combines natural language processing to structure language, machine learning to detect patterns or predict outcomes, and artificial intelligence to automate the process across varied sources. section 5.1

Use text mining to:

  • Track sentiment and customer preferences. section 5.1
  • Spot trends and identify potential threats. section 5.1
  • Extract phrases, entities, relationships, sentences, and parts of speech for further analysis. section 5.1

Traditional techniques often approximate meaning through frequent phrases, keywords, or predefined dictionaries. Large language models instead process text sequentially and can connect information across passages, although their internal shortcuts and limitations remain difficult to assess. section 5.1.1

Customer feedback

A review-analysis workflow can examine post-purchase surveys to find positive aspects and improvement areas. The data may be disorganized, emotional, misspelled, and written in Portuguese; the dataset includes ratings, review titles and messages, identifiers, and timestamps. section 5.2.2

How Starting Data Analytics with Generative AI and Python covers it

How deep it goes
Explains NLP extraction, machine-learning pattern detection, AI automation, and LLM comparison, but stops short of implementation details.
Examples
Uses Portuguese post-purchase reviews containing ratings, comments, identifiers, and timestamps to identify satisfaction strengths and improvements.
What you can do after
Evaluate customer feedback and discover patterns, trends, threats, and preferences across large text collections.
How it connects
Connects natural language processing, machine learning, artificial intelligence, sentiment analysis, and topic modeling.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Starting Data Analytics with Generative AI and Python. The section links point to the parts of the book it draws on.