You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 33 Next »

An overview of computational analysis of text, foundations, and exploration of challenges and strategies.

Prep

  • Bring text to play with in Voyant. Input format can be plain text, a PDF (with OCR), a MS Word Document or a URL for HTML analysis.
  • Bring a laptop to support your explorations.

Going down the rabbit hole: anatomy of a digital book

How is a digital book made?  How does the structure relate to its function? What opportunities does this afford us in terms of text analysis?

(1) Consider this book: Alice's Adventures in Wonderland.  Explore the controls on the right side of the page turner.  

  • Note the different views of the book. What types of digital files are likely to make up the parts of a digital book?
  • How are these files likely to be made?
  • For what types of uses are each suited?

(2) Now explore the controls at he top of the page turner. 

  • There is a box labeled "search in this text".  What can you deduce about the book from this functionality? 
  • What do the other controls do?  Is there a way to summarize this class of controls?  What underlying logic might you predict that coordinates these functions? (Food for thought...)

(3) What might this page be?  (It also has this view.) Is this also part of the book? When and how might it be used?

(4) Diving deeper into text.  OCR processes are not perfect. Consider some areas of special challenge:

Computational analysis of text

We count tokens - What is tokenization?  Why tokenize?  What are some strategies used to tokenize?

Let's look again at the Arapaho gospel of St. LukeSwitch to text view.

  • What is a word? How would you define this for a computer?
  • What isn't a word? How would you tell a computer to exclude these?
  • Can you think of special cases where tokens might contain more than one word?
  • What sets of rules would we need to tokenize?  Would these be ordered in any specific way?
  • Is there a "right way" to tokenize?

What are the opportunity points that the structure and arrangement of a book afford?

  • How do challenges with OCR intersect with strategies for computational analysis of text?  What might be effective strategies to deal with these challenges?
  • What exactly is the "text"?  Can you think of parts of a book that you might not want to include in your analysis? Why or why not? If you would, how would you exclude these parts?

Introducing Control - Microanalysis with Voyant

Voyant is a low barrier text analysis tool that delivers a rich, interactive interface and a variety of visualizations.  Input format can be plain text, a PDF (with OCR), a MS Word Document or a URL for HTML analysis. Upload of any material will be subject to the Voyant privacy policy. Sample texts and URLs for analysis are listed below for experimentation, but feel free to use other source data that interests you. 

We calculate frequency

  • We can express our counts simply (as counts), or we can express them as frequencies.  Why calculate frequencies?
  • Is either representation misleading?  If so, in what ways?

(1) Visualization of derived data

  • Explore visualizations.  Change the options in the dashboard. 
  • Discuss the relative merits of the various visualizations. 

(2) Exerting control

    • stopwords
    • slider for word counts
    • counts vs frequencies

(3) General questions

  • What does exerting control do to our results?  Does it change the validity of our assertions?
  • What is signal?  What is noise?

Moving from Microanalysis to Macroanalysis (Google nGrams and HTRC bookworm)

Google's nGram Viewer. Use the links below as starting points; dynamic modifications can be made at any point. Rules for syntax can be found on the About page.

HathiTrust Research Center (HTRC) Bookworm

  • examples here

General questions

  • problems of convergence/divergence and strategies for disentangling.

More Macroanalysis with HTRC

  • HTRC
  • entity extraction
    • What are entities?
    • False positives/false negatives (omissions)
  • Clustering - topic modeling
    • define and defer for Mimno

Image analysis

  • Edge analysis
  • Neural networks

Resources

"Formatting Science Reports." Academic and Professional Writing: Scientific Reports. University of Wisconsin - Madison, 24 Aug. 2014. Web. 03 June 2016.

Jockers, Matthew L Text Analysis with R for Students of Literature. Cham: Springer International Publishing, 2014.

Underwood, Ted. The Stone and the Shell. Ted Underwood. Web. Accessed 03 June 2016.  

 

  • No labels