Getting Started with Topic Modeling and MALLET
Loading...
Date
2012-09-02
Authors
Graham, Shawn
Weingart, Scott
Milligan, Ian
Advisor
Journal Title
Journal ISSN
Volume Title
Publisher
The Editorial Board of the Programming Historian
Abstract
In this lesson you will first learn what topic modeling is and why you might want to employ it in your research. You will then learn how to install and work with the MALLET natural language processing toolkit to do so. MALLET involves modifying an environment variable (essentially, setting up a short-cut so that your computer always knows where to find the MALLET program) and working with the command line (ie, by typing in commands manually, rather than clicking on icons or menus). We will run the topic modeller on some example files, and look at the kinds of outputs that MALLET installed. This will give us a good idea of how it can be used on a corpus of texts to identify topics found in the documents without reading them individually.
Description
This article Published by the Editorial Board of the Programming Historian is made available under a Creative Commons Attribution 2.0 Generic License. Available at: http://programminghistorian.org/lessons/topic-modeling-and-mallet
Keywords
Topic modeling, Natural language processing, MALLET, Distant reading