4

Latent Semantic Analysis with scikit-learn

Searching for keywords has become part of our information lives. We use keyword searches to find articles. When we type in words, we do not mean to retrieve articles with the exact words but the concepts. For example, when we search for “Tesla” and “electric car,” we want to get articles about the company Tesla and its electric cars, rather than historical information about the scientist Nicola Tesla. This is called a “semantic search,” which means interpreting a word for its intent and contextual meaning. We use keywords as cues to get the concept and the documents that are associated with that concept, rather than using the keywords at their face values.

Latent Semantic Analysis (LSA) is a milestone ...

Get The Handbook of NLP with Gensim now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.