Computer Science

Personal computer

Computer Science at Mass Academy is an engaging and valuable course taught by Mrs. Tarrico which provides guidance and opportunities for students of all programming levels. The basics of Java, CSS, and HTML are completely covered and all students compete in either the classroom or advanced division of ACSL (American Computer Science League) starting in December. Like many Mass Academy classes, this course is strongly project based, an example being this website itself!

The Line Art Program:
Computer science is more than algorithms and logic puzzles, it can be art too! For this project exploring array lists in java, we designed a program to create the ‘curved’ figure seen below using only straight lines! If you are having trouble viewing the image, click here!

The Stars Program:
Another artistic program we developed in computer science was our random stars generator. I programmed this piece to randomly assign a set number of sides for the stars, transform that into a symmetrical star-shape that works for all sides, and generate a random number of these stars. The program was specifically a part of our static arrays unit. If you are having trouble viewing the image, click here!

Apps For Good Project: Articulate:
A.R.T.I.C.U.L.A.T.E. is an Apps for Good project designed to make spoken communication more accessible for people with atypical speech patterns, including individuals with dysarthria, Down syndrome, or other speech-related disabilities. The problem this project addresses is that many people with speech differences are misunderstood by voice assistants, classmates, teachers, caregivers, and the general public. Existing speech recognition tools are usually trained on typical speech, which means they often produce inaccurate transcripts when the speaker has unclear articulation, irregular pacing, or nonstandard pronunciation. This can make everyday communication frustrating, isolating, and less independent for users who already face barriers when expressing themselves verbally. The target audience for A.R.T.I.C.U.L.A.T.E. includes people with atypical speech who want a simple way to make their spoken words clearer to others. It is especially useful for students, children, patients, and adults with speech or motor conditions that affect pronunciation. Secondary users include teachers, caregivers, family members, speech-language pathologists, and peers who may need help understanding the user’s intended message in real time. The goal is not to replace a person’s natural voice, but to support communication by helping their words become easier to understand. Our solution is a browser-based speech correction app that records a user’s voice, sends the audio to a machine learning backend, converts the speech into text, corrects the grammar and clarity of the transcript, and then speaks the corrected sentence out loud. The system uses a two-stage transformer-based pipeline. First, a fine-tuned Whisper speech recognition model transcribes the user’s audio into raw text. This model was trained using atypical speech data so it can better recognize speech patterns that standard speech-to-text systems may struggle with. Second, a fine-tuned Flan-T5 grammar correction model takes the raw transcript and improves it into a clearer sentence using a “Fix grammar:” prompt. The corrected output is then returned to the frontend, displayed on the screen, and read aloud using text-to-speech. The minimum viable product, or MVP, is a working web app with a record button, live audio waveform, Hugging Face backend connection, speech-to-text transcription, grammar correction, corrected text display, and speech playback. The user can tap the main button to start recording, tap again to stop, and wait while the app processes the audio. Once processing is complete, the corrected sentence appears on the screen and can be spoken aloud. A “Speak Result” button was added to improve iPhone compatibility, since iOS browsers sometimes block automatic speech playback unless it is triggered directly by a user tap. Important features include a simple one-button recording interface, animated waveform feedback, a processing spinner, status messages such as “Connecting,” “Recording,” and “Processing,” a high-contrast accessibility mode, and a settings menu with help and information sections. The backend uses lazy model loading so the Whisper and grammar correction models load once and remain available for later requests, improving efficiency. The frontend uses fallback API routes for Gradio upload and prediction endpoints, making the app more robust if the server path changes. It also parses server-sent event responses from the Hugging Face Space to extract the corrected sentence from the returned JSON. The main algorithms behind the project are transformer-based automatic speech recognition and transformer-based grammatical error correction. Whisper uses an encoder-decoder transformer architecture to convert audio features into text. The grammar correction model uses a sequence-to-sequence Flan-T5 transformer to generate a cleaner version of the raw transcript. During inference, the grammar model uses beam search decoding, which compares multiple possible corrected sentences before choosing the strongest output. Together, these algorithms allow A.R.T.I.C.U.L.A.T.E. to transform unclear or grammatically incomplete speech into a more understandable spoken message, helping users communicate with greater confidence, independence, and accessibility. The web app can be accessed here here!

Apps For Good Poster