Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Natural Language Processing and Computational Linguistics

You're reading from  Natural Language Processing and Computational Linguistics

Product type Book
Published in Jun 2018
Publisher Packt
ISBN-13 9781788838535
Pages 306 pages
Edition 1st Edition
Languages
Author (1):
Bhargav Srinivasa-Desikan Bhargav Srinivasa-Desikan
Profile icon Bhargav Srinivasa-Desikan

Table of Contents (22) Chapters

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
What is Text Analysis? Python Tips for Text Analysis spaCy's Language Models Gensim – Vectorizing Text and Transformations and n-grams POS-Tagging and Its Applications NER-Tagging and Its Applications Dependency Parsing Topic Models Advanced Topic Modeling Clustering and Classifying Text Similarity Queries and Summarization Word2Vec, Doc2Vec, and Gensim Deep Learning for Text Keras and spaCy for Deep Learning Sentiment Analysis and ChatBots Other Books You May Enjoy Index

Clustering text

So far we looked at analyzing text to understand better what the text or corpus consists of. When we tried to POS-tag or NER-tag, we were interested in knowing what kind of words were presented in our documents, and when we topic-modeled, we wanted to know the underlying topics which could be hidden in our texts. Sure, we could use our topic models to attempt to cluster articles, but that isn't its purpose; we would be silly to expect great results if we tried this, too. Remember that since the purpose of topic modeling is to find hidden themes in a corpus and not to group documents together, our methods are not optimized for the task. For example, after we perform topic modeling, a document can be made of 30% topic 1, 30% topic 2, and 40% topic 3. In such a case, we cannot use this information to cluster.

Let us now start exploring how to use machine learning...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}