Abstract

Paolo Monella, Un laboratorio di filologia digitale: modelli e algoritmi

English abstract: Students will create a digital (formal, machine-actionable) model of a portion of a brief text in verse and will edit a simple script in JavaScript to visualize and analyze the text. They will follow a inductive path, moving from the elementary structures of the computer (a sequence of binary states, "on/off", "yes/no", often represented by "0" and "1") to binary and decimal numbers and charsets (ASCII and Unicode). At this point, the hands-on experience will begin: students will create their own textual markup language based on symbols of their choice and will be asked to reflect on the theoretical and methodological issues arising from inline markup. They will then be introduced to the SGML/XML syntax and to the TEI XML vocabulary and will encode a brief poem. At this point, we shall move from the concept of (digital textual) model to that of algorithm (procesing that model). The students will be asked to edit, by filling in the gaps, some JavaScript code, in order to visualize the text in a browser and to perform simple textual analysis on it (word count and average verse length). The goals of the workshop are to gain some hands-on experience on textual markup, but more importantly to understand the basic concepts of the Turing Machine (formalization, formal model, input, output, software, programming). Abstract in italiano: I corsisti saranno accompagnati in un percorso induttivo e laboratoriale a creare un modello digitale (formale, gestibile dal computer) di una poesia, a partire dalle strutture elementari del funzionamento del computer (una sequenza di stati binari, "acceso/spento", "sì/no", spesso rappresentati con "0" ed "1"), fino ai numeri binari, a quelli decimali, ai charset (tabelle di caratteri come ASCII o Unicode), per arrivare, sempre induttivamente, a creare un loro linguaggio di markup. Infine, sarà loro presentata la sintassi SGML/XML e poi specificamente il linguaggio TEI XML. I corsisti quindi codificheranno un semplice testo in versi in TEI XML. A questo punto, passando dal concetto di modello (digitale del testo) a quello di algoritmo (che processi quel modello), saranno accompagnati a modificare un semplice script in linguaggio JavaScript (riempiendo gli spazi vuoti indicati nel codice) che visualizzi all'interno di una pagina web il testo poetico, da loro già codificato in TEI XML, ed effettui su di esso una semplice forma di analisi testuale (conteggio delle parole e calcolo della lunghezza media dei versi in parole). In questo modo, tramite un percorso che usi la pratica per giungere ad una comprensione profonda del metodo e della teoria, gli studenti impareranno le basi del markup testuale, ma soprattutto comprenderanno i concetti di fondo della Macchina di Turing (formalizzazione, modello formale, input, output, software, programmabilità).

Paolo Monella Curriculum
DH bibliography
Paolo Monella home page