Читать книгу Quick Hits for Teaching with Digital Humanities - Группа авторов - Страница 16

Оглавление

SIX


Corpus Visualization

High-Level Student Engagement on a Zero Budget

BRIAN KOKENSPARGER

Creighton University

WHILE PARTICIPATING IN THE EARLY Modern Digital Agendas (EMDA) 2015 institute at the Folger Shakespeare Library, I often spent my free time browsing the stacks.1 Among a multitude of interesting rare books, I found a toy theater version of Othello.2 Toy theater is a type of theatrical performance that was historically performed by juveniles and involved coloring and cutting out characters and scenery from a book to use when performing a provided script. I was immediately intrigued: How would a juvenile version of Othello deal with the “R-rated” racism, sex, and murder in one of Shakespeare’s most intimately violent plays?

I read the toy theater and Folger Digital Online Text versions of the two scripts and decided to compare them.3 What did Skelt leave in the toy theater version, and what did he take out? And how did he go about this task?

Figure 6.1 shows a small excerpt from the Skelt toy theater script for Othello.4 It is the beginning of act 2, scene 2 in the Skelt script, and roughly covers act 1, scene 2 of the Folger Shakespeare Online version. The toy theater version roughly cuts some sixty-one spoken lines of the scene into nine lines, without (in my opinion) losing much of the flavor and dramatic purpose of the scene. In fact, the Skelt script in its entirety cuts the full version of the play into less than one-tenth of its size (in terms of spoken lines of text): 3,680 lines down to 317. But trying to balance two books and my notebook all at the same time to come to that conclusion was not easy. I found myself doing a large amount of transcription.


Figure 6.1. A small excerpt from the Skelt toy theater version of Othello.

From my recent years of teaching college-level computer science and digital humanities courses, I was well aware that balancing a number of books and transcribing text were not activities that our current millennial students were even remotely interested in doing. I could barely get them to read a text; transcribing differences based on a tedious comparative analysis of two scripts in hard copy would have been an unpopular—if not impossible (for some)—assignment.

My go-to solution for this problem was to create an HTML5 and JavaScript web page tool to do all of the processing needed to visually compare the two scripts. My students could use this tool for the grunt work and then focus on analysis and conclusions—the activities most connected with my learning outcomes. Furthermore, why not have my advanced students make their own tools, to learn a skill that will provide a rich, flexible, and easy-to-use solution to any similar problem for them in the future? In either case, students who engaged themselves in the assignment were virtually guaranteed to learn about the subject matter—Shakespeare’s Othello—simply by building and/or using the tool.

FROM DETACHED LABORERS TO SKILLED MAKERS

It is clear from the literature that experiential teaching methods improve learning in a number of ways.5 However, experiential learning is expensive in terms of both time and money (for labs, equipment, consumables, etc.); college students expect it to happen in their courses, but university administrators are hesitant to pay for it. This dilemma calls for a low- or zero-budget solution, and HTML5 and JavaScript provide this solution with the additional benefit of a plethora of freely available tutorials and other resources.

HTML5 and JavaScript provide a learning lab environment with free browser software. All mainstream browsers on all popular OS platforms handle HTML5 and have native JavaScript interpreters, though some handle scripts more gracefully than others. Chances are that any device your students bring with them to the classroom will have fully functioning browsers that can handle any JavaScript problem that you throw at them. And because these interpreters are already installed, the software is not only free but requires no management and support from your end.

Faculty and students can learn JavaScript (especially as it interacts with HTML5) on numerous free tutorials on the internet. There are also inexpensive trade books for those students who may choose to be offline. Many of these are available for eAccess through school or public libraries.6

And although my area of work with students is in the digital humanities, any course or program that uses textual analysis as a major component of its student learning objectives can benefit from this assignment (or variations on it). Journalism (e.g., news stories, social media, blogs, transcriptions of talk radio), English literature and composition, modern language literature (as long as both versions of the text are of the same language and from the same era), and political science (speeches and debates) are just a few examples of programs that could benefit from using HTML5 and JavaScript to develop textual analysis or visualization tools. And, finally, developing the assignments for the classroom is not as difficult as you might think.

DEVELOPING AN HTML5/JAVASCRIPT LAB FOR YOUR COURSE

Luckily, there are many online resources to help with the programming aspect of the assignment, so if you are not a coding wizard, you do not have to be. Do you know how to look up a specific task or problem on the web? Then that is all you need. What follows is a brief description of how I introduced and managed my HTML5/JavaScript project in the classroom.

It helps if the students already know a programming language—any programming language. Those students will know all the basic components and structures of programming, like creating and using variables, string functions, loops, conditional structures, and perhaps lists or arrays. For these students, all they need to know is the specific JavaScript syntax, which can be accessed through a trade book or online resource.

If students do not already know a programming language, it is not a deal breaker for the project. You will just have to scaffold a bit beforehand and give the students some basic introduction to working with HTML5 objects and JavaScript string manipulation. My experience with students is that, if they are motivated to learn something (and this project has the “cool” factor to provide plenty of that, I think), they will access online resources and learn what they need to learn “just in time.” All you have to do is point them to safe, reliable resources and get out of their way.

When assigning a project like this one, students must start with “the stuff on the page.” They cannot use HTML5 objects in your JavaScript code that do not yet exist in HTML code in the file. Urge them to look at their page designs and make sure everything shows up, and then encourage them to play with the objects to gain familiarity.

Next, they should add the JavaScript that does the work. Your approach can range from a description of what you want the students’ scripts to do, followed by a “Now, go to it!” (for students who already know how to code, or for a second or third project in the semester class), to providing some base code and asking students to modify and augment it (for novice students or those in generally noncoding academic domains). It may very well be that you will have a classroom composed of both types of students; in those cases, I have found an “if you know what you are doing, go to it!” combined with an “if you don’t know what to do, take this base code and watch me” seems to suit most needs for a classroom of mixed-skill students. Figure 6.2 shows a small excerpt of my approach at JavaScript code for solving a textCompare problem that we cover in the class.

In either case, it is of utmost importance to embrace creativity and let your own vision of the perfect tool go. This is not your tool. Look at it like an art teacher would: you would not be happy with students who simply copied your painting, would you? Do your own working version of the project before assigning it to your students, but keep it in your back pocket and let the students grow into their own versions.


Figure 6.2. Example of JavaScript code for the textCompare problem.

Next, display and gently critique exemplary student work during class. The ones who “got it” (and, therefore, whose works you choose to display) will be thrilled. The students who struggled will see that someone like them really can do this. If a member of the class has touted herself or himself as particularly adept at coding from the start, displaying and critiquing that student’s work will be less helpful. It is better to choose the students with hidden talents that have blossomed during the class, as a kind of EveryStudent.

Figure 6.3 shows an example of JavaScript written by students for an interactive information form that generates new combo boxes based on user selections. Each student group was given an information knowledge base to model that would provide users with customized information based on their entered preferences. The JavaScript code in figure 6.3 was written early in the semester in a web programming course by a group of students who had already taken an introductory programming course but who otherwise had little prior experience with writing JavaScript code.


Figure 6.3. Example of student JavaScript code.

Finally, give them someplace to go from there. HTML5 and JavaScript are there for the taking. Literally, if students can figure out how to solve a problem in their heads, they can program a computer to solve the problem. It is important to help them realize that HTML5 and JavaScript are freely available to them at any time, in any place (even those places that do not have internet access), so how and when they engage problems on their own is totally up to them.

Figure 6.4 depicts the textCompare tool that I created to compare the Skelt and Folger versions of the Othello play.7 Though it could stand some further refinement, it succeeded in allowing me (and my students) to compare, side by side, the two scripts and determine that Skelt used a strategy of erasure—starting with the full script and “erasing” large parts—to reduce the full Othello play down to a toy theater play that could be performed in under an hour. This determination would have been quite difficult to make while going back and forth between two hard copy scripts.

In cases where the students have few or no programming skills—and are reluctant to acquire them—you may have to provide your version of the tool for the students and just skip to the analysis part. This is sometimes necessary, because it assures you that every student will have adequate data to investigate in analysis. However, this approach perpetuates the computer programming as “magic” myth. In that scenario, students throw in text from two different sources, and “Abracabra!” a comparative visualization appears. How will they truly be able to analyze the data unless they have at least a fundamental idea of how they were generated?


Figure 6.4. The working textCompare tool showing output.

I have also used HTML5 and JavaScript tools to visualize linguistic complexity in Shakespeare’s works and to classify genre-rich words among dramatic and fictional versions of Shakespeare’s Othello. In addition to textarea and text objects, the canvas object (provided in HTML5) is a powerful tool that deserves more attention than I can provide here for its graphic display capabilities. Figure 6.5 is an example of a more complex tool using both the HTML5 document.getElementById attribute and canvas object for web pages. I developed this script during the EMDA 2015 institute at the Folger Shakespeare Library.

And this brings us to the most exciting part of using HTML5 and JavaScript in the classroom: students can use it to answer their own questions about literature (or any of the text-focused areas suggested above). Once they know how to get text into the tool, how to use textboxes or the coveted canvas object to get results out, and a few string processing methods, there is an immense amount of analysis that they can do entirely on their own!

If you need to assess your students, it is best to assess their analysis of the data provided by the tool. If you have two sections of the same course, try using this project in one section and have students do the book balancing and hand transcription assignment in the other. My bet is that those doing the coding project will produce better analyses of the text and will have higher familiarity with the texts than those who simply compare the print copies and transcribe. I have not been able to gather assessment data to support this hypothesis, as I teach programming courses that require a programming approach, even in a digital humanities framework.


Figure 6.5. Linguistic complexity visualization of Othello.

As a low-cost way to allow students to create their own tools to answer their own questions about their own text-based areas of interest, HTML5 and JavaScript cannot be beat in terms of their ubiquity, flexibility, and ease of use. Experiential learning on a zero budget is the direction to go in any text analysis–based course.

NOTES

1. I was accepted into and attended the “Early Modern Digital Agendas: Advanced Topics” institute at the Folger Shakespeare Library in 2015 through a National Endowment for the Humanities grant.

2. M&B Skelt, Skelt’s Characters and Scenes in Othello (London: Theatrical Warehouse, 1823).

3. William Shakespeare, The Tragedy of Othello, the Moor of Venice, Folger Digital Online Texts, accessed (and downloaded) May 27, 2017, http://www.folgerdigitaltexts.org/?chapter=5&play=Oth&loc=p7.

4. Skelt, 6.

5. Educational scholarly research has produced a huge volume of scholarly support for experiential learning, beginning with Arthur Chickering’s seminal work on the method. See, Arthur W. Chickering, Experience and Learning (New York: Change Magazine, 1977). However, there is some recent discussion that current English literature teachers are not commonly using experiential methods to teach Shakespeare, as evidenced in Barrie Wade and John Sheppard, “How Teachers Teach Shakespeare,” Educational Review 46, no. 1 (January 1, 1994): 21–28.

6. For example, my public library in Omaha, Nebraska, accessed May 7, 2018, https://omaha.bibliocommons.com/v2/search?query=JavaScript&searchType=smart, showed thirty “Website or Online Data” sources, when I searched for JavaScript after logging on as a registered user.

7. Folger Shakespeare Library, stacks.

Quick Hits for Teaching with Digital Humanities

Подняться наверх