{ "paper_id": "2021", "header": { "generated_with": "S2ORC 1.0.0", "date_generated": "2023-01-19T07:51:34.674938Z" }, "title": "A dissemination workshop for introducing young Italian students to NLP", "authors": [ { "first": "Lucio", "middle": [], "last": "Messina", "suffix": "", "affiliation": {}, "email": "lucio.messina@autistici.org" }, { "first": "Lucia", "middle": [], "last": "Busso", "suffix": "", "affiliation": {}, "email": "l.busso@aston.ac.uk" }, { "first": "Claudia", "middle": [ "Roberta" ], "last": "Combei", "suffix": "", "affiliation": {}, "email": "claudiaroberta.combei@unibo.it" }, { "first": "Ludovica", "middle": [], "last": "Pannitto", "suffix": "", "affiliation": {}, "email": "ludovica.pannitto@unitn.it" }, { "first": "Alessio", "middle": [], "last": "Miaschi", "suffix": "", "affiliation": {}, "email": "alessio.miaschi@phd.unipi.it" }, { "first": "Gabriele", "middle": [], "last": "Sarti", "suffix": "", "affiliation": {}, "email": "gsarti@sissa.it" }, { "first": "Malvina", "middle": [], "last": "Nissim", "suffix": "", "affiliation": {}, "email": "m.nissim@rug.nl" } ], "year": "", "venue": null, "identifiers": {}, "abstract": "We describe and make available the gamebased material developed for a laboratory run at several Italian science festivals to popularize NLP among young students.", "pdf_parse": { "paper_id": "2021", "_pdf_hash": "", "abstract": [ { "text": "We describe and make available the gamebased material developed for a laboratory run at several Italian science festivals to popularize NLP among young students.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Abstract", "sec_num": null } ], "body_text": [ { "text": "The present paper aims at describing in detail the teaching materials developed and used for a series of interactive dissemination workshops on NLP and computational linguistics 1 . These workshops were designed and delivered by the authors on behalf of the Italian Association for Computational Linguistics (AILC, www.ai-lc.it), with the aim of popularizing Natural Language Processing (NLP) among young Italian students (13+) and the general public. The workshops were run in the context of nationwide popular science festivals and open-day events both onsite (at BergamoScienza, and Scuola Internazionale Superiore di Studi Avanzati [SISSA] , Trieste) and online (at Festival della Scienza di Genova, the BRIGHT European Researchers' Night, high school ITS Tullio Buzzi in Prato and the second edition of Science Web Festival, engaging over 700 participants in Center and Northern Italy from 2019 to 2021. 2 The core approach of the workshop remained the same throughout all the events. However, the materials and activities were adapted to a variety of different formats and time-slots, ranging from 30 to 90 minutes. We find that this workshop - 1 In this discussion, and throughout the paper, we conflate the terms Natural Language Processing and Computational Linguistics and use them interchangeably.", "cite_spans": [ { "start": 636, "end": 643, "text": "[SISSA]", "ref_id": null }, { "start": 909, "end": 910, "text": "2", "ref_id": null }, { "start": 1151, "end": 1152, "text": "1", "ref_id": null } ], "ref_spans": [], "eq_spans": [], "section": "Introduction", "sec_num": "1" }, { "text": "2 Links to events are in the repository's README file.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Introduction", "sec_num": "1" }, { "text": "thanks to its modular nature -can fit different target audiences and different time slots, depending on the level of interactive engagement required from participants and on the level of granularity of the presentation itself. Other than on the level of engagement expected of participants, time required can also vary depending on the participants' background and metalinguistic awareness. Our interactive workshops took the form of modular games where participants, guided by trained tutors, acted as if they were computers that had to recognize speech and text, as well as to generate written sentences in a mysterious language they knew nothing about.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Introduction", "sec_num": "1" }, { "text": "The present contribution only describes the teaching materials and provide a general outline of the activities composing the workshop. For a detailed discussion and reflection on the workshop genesis and goals and on how it was received by the participants see (Pannitto et al., 2021) .", "cite_spans": [ { "start": 261, "end": 284, "text": "(Pannitto et al., 2021)", "ref_id": "BIBREF0" } ], "ref_spans": [], "eq_spans": [], "section": "Introduction", "sec_num": "1" }, { "text": "The teaching support consist in an interactive presentation plus hands-on material, either in hardcopy or digital form. We share a sample presentation 3 and an open-access repository 4 containing both printable materials to download and scripts to reproduce them on different input data.", "cite_spans": [ { "start": 151, "end": 152, "text": "3", "ref_id": null } ], "ref_spans": [], "eq_spans": [], "section": "Introduction", "sec_num": "1" }, { "text": "The activity contains both more theoretical and hands-on parts, which are cast as games.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Workshop and materials", "sec_num": "2" }, { "text": "Awareness The first part consists of a brief introduction to (computational) linguistics, focusing on some common misconceptions (slides 3-5), and on examples of linguistic questions (slides 6-12). Due to their increasing popularity, we chose vocal assistants as practical examples of NLP technologies accounting for how humans and machines differ in processing speech in particular and language in general (slides 20-39).", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Workshop and materials", "sec_num": "2" }, { "text": "Games The core of the activity is inspired by the word salad puzzle (Radev and Pustejovsky, 2013) and is organized as a game revolving around a fundamental problem in NLP: given a set of words, participants are asked to determine the most likely ordering for a sentence containing those words. This is a trivial problem when approached in a known language (i.e., consider reordering the tokens garden, my, is, the, in, dog), but an apparently impossible task when semantics is not accessible, which is the most common situation for simple NLP algorithms.", "cite_spans": [ { "start": 68, "end": 97, "text": "(Radev and Pustejovsky, 2013)", "ref_id": "BIBREF1" } ], "ref_spans": [], "eq_spans": [], "section": "Workshop and materials", "sec_num": "2" }, { "text": "To make participants deal with language as a computer would do, we asked them to compose sentences using tokens obtained by transliterating and annotating 60 sentences from the well known fairy tale \"Snow White\" to a set of symbols. We produced two possible versions of the masked materials: either replacing each word with a random sequence of DINGs (e.g. co \u00a7\u00a6 for the word morning) or replacing them with a corresponding nonword (for example croto for the word morning). The grammatical structure of each sentence is represented by horizontal lines on top of it representing phrases (such as noun or verb phrases), while the parts of speech are indicated by numbers from 0 to 9 placed as superscripts on each word (Figure 1 ). Figure 1 : The first sentence of the corpus \"on a snowy day a queen was sewing by her window\" translated using DINGs (above) and using non-words (below) Participants were divided into two teams, one team would be working on masked Italian and the other on masked English. Both teams were given the corpus in A3 format and were told that the texts are written in a fictional language.", "cite_spans": [], "ref_spans": [ { "start": 717, "end": 726, "text": "(Figure 1", "ref_id": null }, { "start": 730, "end": 738, "text": "Figure 1", "ref_id": null } ], "eq_spans": [], "section": "Workshop and materials", "sec_num": "2" }, { "text": "Two activities were then run, focusing on two Each rule is made of felt strips for phrases, cards with numbers for parts of speech, and \"=\" cards.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Workshop and materials", "sec_num": "2" }, { "text": "different algorithms for sentence generation. In the first, participants received a deck of cards each equipped with a button loop ( Figure 2 ) and showing a token from the corpus. Participants had to create new valid sentences by rearranging the cards according to the bigrams' distribution in the corpus. Using the bracelet method (slides 52-61), they could physically thread tokens into sentences.", "cite_spans": [], "ref_spans": [ { "start": 133, "end": 141, "text": "Figure 2", "ref_id": "FIGREF0" } ], "eq_spans": [], "section": "Workshop and materials", "sec_num": "2" }, { "text": "In the second activity (slides 63-92), the participants extracted grammatical rules from the corpus, and used them to generate new sentences. In order to write the grammar, participants were given felt strips reproducing the colors of the annotation, a deck of cards with numbers (identifying parts of speech) and a deck of \"=\" symbols ( Figure 3) . With a new deck of words (Figure 2) , not all present in the corpus, participants had to generate a sentence using the previously composed rules.", "cite_spans": [], "ref_spans": [ { "start": 338, "end": 347, "text": "Figure 3)", "ref_id": "FIGREF1" }, { "start": 375, "end": 385, "text": "(Figure 2)", "ref_id": "FIGREF0" } ], "eq_spans": [], "section": "Workshop and materials", "sec_num": "2" }, { "text": "Reflection and Outlook By superimposing a plexiglass frame on the A3 corpus pages (Figure 4) , the true nature of the corpora was eventually revealed. The participants could see the original texts (in Italian and English) and translate the sentences they had created previously.", "cite_spans": [], "ref_spans": [ { "start": 82, "end": 92, "text": "(Figure 4)", "ref_id": "FIGREF2" } ], "eq_spans": [], "section": "Workshop and materials", "sec_num": "2" }, { "text": "The activity ended with a discussion of recent NLP technologies and their commercial applications (slides 93-96), and of what it takes to become a computational linguist today (slides 97-99). ", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Workshop and materials", "sec_num": "2" }, { "text": "The preparation of the activity consists of several steps: (1) creating and tagging the corpora with morpho-syntactic and syntactic categories as described in the repository; (2) choosing the words to include in the card decks: these must be manually selected but scripts are provided to generate possible sentences based on bigram co-occurrences, and to extract all the possible grammar rules present in the annotation; (3) when the produced sentences and grammar are satisfactory, scripts are provided to generate (i) the printable formats of corpora and decks of cards, (ii) a dictionary to support the translation of sentences in the last part of the workshop, and (iii) clear-text corpora; (4) sentences from the clear-text corpora have to be manually cut and glued on a transparent support that can be superimposed on the printed corpora to reveal the sentences; (5) finally, some manual work is necessary: producing strips of felt or any material with the same colors used in the corpus; cutting threads; attaching a button loop to the relevant cards, etc.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Activity Preparation", "sec_num": "3" }, { "text": "https://docs.google.com/presentation/ d/1ebES_K8o3I2ND_1iMyBlQmrH733eQ6m_ K8a0tON8reo/edit?usp=sharing 4 https://bitbucket.org/melfnt/ malvisindi", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "", "sec_num": null }, { "text": "ReusabilityIn the spirit of open science and to encourage the popularization of NLP, the teaching materials and source code are freely available in our repository (see footnotes 2-3 for the links). The print-ready material is released under CC BY-NC; the source code is distributed under the GNU gpl license version 3. All scripts work for Python versions 3.6 or above and the overall process requires python3, lualatex, pdftk and pdfnup as detailed in the README.md file in the repository, which contains all necessary instructions.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "", "sec_num": null } ], "back_matter": [ { "text": "We would like to thank the board of the Italian Association for Computational Linguistics (AILC) for the support given to the workshop development and delivery. We are also grateful to BergamoScienza, Festival della Scienza di Genova, Science Web Festival for hosting the activity during the festivals; to ILC-CNR \"Antonio Zampolli\" and ColingLab (University of Pisa) for hosting us during the European Night of Research; and to the Scuola Internazionale Superiore di Studi Avanzati (SISSA) and ITI Tullio Buzzi for hosting our activities with their students. We also thank Dr. Mirko Lai, who has collaborated on the development of the web interface for the online versions of our activity.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Acknowledgements", "sec_num": null } ], "bib_entries": { "BIBREF0": { "ref_id": "b0", "title": "Teaching NLP with bracelets and restaurant menus: An interactive workshop for italian students", "authors": [ { "first": "Ludovica", "middle": [], "last": "Pannitto", "suffix": "" }, { "first": "Lucia", "middle": [], "last": "Busso", "suffix": "" }, { "first": "Claudia", "middle": [ "Roberta" ], "last": "Combei", "suffix": "" }, { "first": "Lucio", "middle": [], "last": "Messina", "suffix": "" }, { "first": "Alessio", "middle": [], "last": "Miaschi", "suffix": "" }, { "first": "Gabriele", "middle": [], "last": "Sarti", "suffix": "" }, { "first": "Malvina", "middle": [], "last": "Nissim", "suffix": "" } ], "year": 2021, "venue": "Proceedings of the Fifth Workshop on Teaching NLP and CL, Online event", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Ludovica Pannitto, Lucia Busso, Claudia Roberta Combei, Lucio Messina, Alessio Miaschi, Gabriele Sarti, and Malvina Nissim. 2021. Teaching NLP with bracelets and restaurant menus: An interactive workshop for italian students. In Proceedings of the Fifth Workshop on Teaching NLP and CL, Online event. Association for Computational Linguistics.", "links": null }, "BIBREF1": { "ref_id": "b1", "title": "Puzzles in logic, languages and computation: the red book", "authors": [ { "first": "Dragomir", "middle": [], "last": "Radev", "suffix": "" }, { "first": "James", "middle": [], "last": "Pustejovsky", "suffix": "" } ], "year": 2013, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Dragomir Radev and James Pustejovsky. 2013. Puzzles in logic, languages and computation: the red book. Springer.", "links": null } }, "ref_entries": { "FIGREF0": { "uris": null, "text": "Example cards, both showing a word. Left: a card for the first activity, with a button loop to thread it in a sentence. Right: a card for the second activity, with part of speech (number) at the bottom.", "type_str": "figure", "num": null }, "FIGREF1": { "uris": null, "text": "Possible rules extracted from the corpus.", "type_str": "figure", "num": null }, "FIGREF2": { "uris": null, "text": "A session of the workshop: the original language of the corpus has just been revealed by superimposing plexiglass supports on the corpus tables.", "type_str": "figure", "num": null } } } }