Skip to main content

Do It KWIC (Better)

  • Chapter
  • First Online:
Book cover Text Analysis with R for Students of Literature
  • 8933 Accesses

Abstract

This chapter expands upon the previous chapter in order to build an interactive and reusable Key Word in Context (KWIC) application that allows for quick and intuitive KWIC list building. Readers are introduced to interactive R functions including readline and functions for data type conversion.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Obviously you could create a more complex function that would give the user flexibility in terms of capitalization. For simplicity, we are working with a lower-cased text with all of the punctuation stripped out.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Jockers, M.L. (2014). Do It KWIC (Better). In: Text Analysis with R for Students of Literature. Quantitative Methods in the Humanities and Social Sciences. Springer, Cham. https://doi.org/10.1007/978-3-319-03164-4_9

Download citation

Publish with us

Policies and ethics