Writing Something Big
What better way to honor a programming language created to facilitate studies in digital humanities (application of computing or digital technologies to the disciplines of the humanities) than to run a study in digital humanities, namely, in text analysis. One of the fundamental tasks in text analysis is word frequency calculation, the process of identifying the most frequently used words. Later, you can use those words and their frequencies for text summarization and comparison.
Developing a solid word-counting program in SNOBOL isn’t so hard. The first step is to read the text from a file and normalize it—that is, convert it to the standard character case (lower or upper) to recognize and adequately count the same word ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access