Command Palette
Search for a command to run...
팔찌와 레스토랑 메뉴로 NLP 가르치기: 이탈리아 학생들을 위한 인터랙티브 워크숍
팔찌와 레스토랑 메뉴로 NLP 가르치기: 이탈리아 학생들을 위한 인터랙티브 워크숍
Ludovica Pannitto Lucia Busso Claudia Roberta Combei Alessio Miaschi Lucio Messina Gabriele Sarti Malvina Nissim
스팸을 감지하는 첫 번째 NLP 애플리케이션 구축
초록
자연어 처리(NLP)는 청소년들이 일상생활에서 활용하는 다양한 도구의 핵심에 위치하고 있으나, 이탈리아의 고등학교 교육과정에는 계산 언어학 관련 교육이 포함되어 있지 않다. 이러한 노출의 부재는 해당 도구의 사용을 더 책임감 있게 활용하는 데 걸림돌이 되며, 결과적으로 대학 진학 시 계산 언어학을 전공으로 선택할 가능성을 낮춘다. 이를 해결하기 위해 청소년들의 인식 제고, 호기심 충족 및 장기적 관심 유발을 목표로, 13세에서 18세 이탈리아 고등학생들을 대상으로 자연어 처리와 계산 언어학의 기본 원리를 설명하는 인터랙티브 워크숍을 개발했다. 이 워크숍은 게임 형태로 진행되며, 참가자는 언어 이해 과정에서 컴퓨터가 직면하는 가장 일반적인 문제들(음성 인식, 마르코프 체인, 구문 분석 등)을 해결해야 하는 기계의 역할을 수행한다. 강사의 지도 아래 주요 활동이 진행되고 계산 언어학의 핵심 개념이 설명된다. 이 워크숍은 2019년부터 2021년까지 이탈리아 내에서 대면 및 온라인 방식으로 여러 기관에서 실시되었다.
One-sentence Summary
The authors developed an interactive, instructor-guided workshop for Italian high school students aged 13 to 18 that employs gamified exercises like bracelets and restaurant menus to simulate core computational linguistics tasks, including voice recognition, Markov chains, and syntactic parsing, thereby addressing the absence of NLP education in secondary schools and fostering sustained interest in the field.
Key Contributions
- The paper introduces an interactive, game-based workshop that translates foundational natural language processing and computational linguistics principles into hands-on activities for Italian high school students aged 13 to 18. Participants simulate machine operations including voice recognition, Markov chains, and syntactic parsing to engage with core algorithmic concepts.
- The curriculum explicitly contrasts human linguistic intuition with algorithmic processing through exercises on the McGurk effect and accent adaptation across Italian regional accents. These modules demonstrate how computational systems optimize speech recognition tasks without replicating the multimodal and contextual strategies inherent to human language comprehension.
- The workshop was implemented across multiple Italian venues between 2019 and 2021 in both face-to-face and online formats. This structured delivery addresses secondary education curricular gaps and provides students with practical exposure to computational language technologies for informed university degree selection.
Introduction
Natural language processing powers the everyday digital tools teenagers rely on, yet formal education rarely exposes students to the computational linguistics behind these systems. This educational gap limits critical engagement with AI applications and reduces interest in pursuing related university degrees. Prior teaching methods often treat language prescriptively, overlook the layered complexity of machine understanding, and rely on advanced neural architectures that can obscure foundational concepts for beginners. The authors address these challenges by developing an interactive, game-based workshop that introduces high school students to core NLP principles through hands-on activities like speech recognition exercises and syntactic puzzles. By prioritizing traditional statistical approaches before introducing neural networks, they clearly demonstrate how computers disentangle linguistic layers, ultimately aiming to foster digital literacy and inspire future academic interest in computational linguistics.
Dataset
- Composition and Sources: The authors utilize a custom Italian corpus based on a "Snow White" narrative, originally adapted from English Computational Linguistics Olympiad problems. The materials also incorporate examples of regional Italian accents to demonstrate diatopic variation.
- Subset Details and Structure: Rather than standard machine learning splits, the corpus is organized into five interactive modules. These range from phonotactic masking exercises to a simplified constituent grammar that restricts syntactic categories to five phrase types (sentence, noun phrase, verb phrase, prepositional phrase, and subordinate clause).
- Usage and Processing: The data supports an educational workshop instead of model training. Participants interact with the corpus through a custom web interface that enables drag-and-drop sentence construction and automated token assignment. The authors mask the text using either symbol substitution or manually defined phonotactic constraints to generate non-words, effectively separating semantic content from symbolic representation.
- Metadata and Adaptation: Each token is equipped with POS tags and syntactic annotations that are color-coded for physical and digital gameplay. The corpus remains unmasked during specific workshop phases to highlight recognizable characters and repetitive bigrams. The authors also provide open-access scripts that allow educators to generate analogous materials for other languages, provided a standardized annotated corpus is available.
Method
The authors leverage a hands-on, interactive framework to introduce foundational concepts in natural language processing through a sequence of structured activities. The overall approach is designed to progressively bridge human linguistic intuition with computational modeling, using physical artifacts and metaphors to ground abstract ideas. The framework begins with a statistical language understanding task, where participants are presented with sets of words—either in a familiar language or a masked, unknown script—and asked to reconstruct plausible sentences. This activity highlights the role of statistical regularities in language, as participants naturally favor sequences that align with known patterns, even when meaning is inaccessible. To operationalize this, the authors introduce a corpus-based algorithm called the "bracelet method," which models sentence construction as a chain of co-occurrence dependencies. As shown in the figure below, this method treats each word as a "pearl" that must be threaded into a sequence based on its compatibility with the preceding word, using bigram co-occurrence frequencies derived from a corpus. The process is illustrated with a visual metaphor of threading cards together, where the presence of a word at the beginning of a sentence is validated by its frequency in the corpus, and subsequent choices are guided by the likelihood of adjacent word pairs. This step emphasizes the importance of data-driven models in capturing linguistic probability, contrasting human intuitive knowledge with machine learning's reliance on statistical evidence.
To extend the discussion beyond statistical models, the authors introduce formal grammatical structures using a restaurant menu metaphor. This module shifts focus from probabilistic patterns to rule-based generation, demonstrating how a system of syntactic rules can define valid sentence structures. The framework presents a set of example menus, each composed of a first course, second course, and dessert, and asks participants to infer the underlying grammar that governs valid combinations. As illustrated in the figure below, the process involves defining recursive rules that decompose a "meal" into its constituent components, allowing for both validation of new menu combinations and generation of novel ones. This analogy is directly mapped to linguistic grammar, where syntactic rules govern the composition of phrases and sentences. To reinforce this, participants are provided with annotated materials—such as felt strips and cards representing parts of speech—and are tasked with extracting rules from a corpus. These rules, which encode valid syntactic configurations, are then used to generate new sentences from a set of unfamiliar words, bridging the gap between pattern recognition and rule-based language modeling.
The integration of these two modules—statistical modeling via the bracelet method and rule-based generation through grammatical abstraction—forms a cohesive pedagogical architecture. The authors combine physical interaction with conceptual abstraction, allowing participants to engage with language processing at both the empirical and theoretical levels. The final activity, shown in the figure below, involves applying the extracted grammatical rules to generate new sentences from a set of unannotated words. This step emphasizes the interplay between data and structure, where statistical evidence informs rule discovery, and rules enable systematic generation. The use of color-coded components and modular materials supports a tangible understanding of linguistic categories and their combinations. Together, these modules illustrate how computational models of language can be understood as either data-driven systems or rule-based systems, each capturing different aspects of linguistic knowledge.
Experiment
This interactive workshop was designed to introduce computational linguistics principles to middle and high school students and the general public through hands-on, puzzle-based activities delivered in both face-to-face and online formats. The evaluation validated the approach as an effective pedagogical tool for raising awareness about language technology and framing linguistic study as a scientific discipline. Qualitative feedback revealed consistently high engagement and curiosity across all settings, though shorter sessions risked reducing the experience to mere puzzle-solving rather than fostering deeper linguistic analysis. Overall, the program successfully sparked sustained interest in natural language processing and artificial intelligence, establishing a strong foundation for future educational outreach and competitive initiatives.