Lightweight Rule Based Voice Assistant

Read full text
Authors: Vaishnavi Gujar, Vrushali Randhave, Sanika Helkar, Asmita Nage, Atharva Siddhanti
Cited by: 0

Abstract

The Lightweight rule-based voice assistant project is designed to create a lightweight, command-line-driven virtual assistant that operates without machine learning models. The core objective is to build a transparent and predictable system for handling user queries through a predefined set of rules. The system operates by taking text-based input from the user through a simple command-line interface. It leverages Python's native data structures and the re module for regular expression matching to power its custom rule engine. This engine parses user input to identify keywords and patterns that match its knowledge base. The knowledge base is a simple, human-readable structure (such as a dictionary or JSON file) that maps specific input patterns to corresponding outputs or actions. This design allows for easy expansion and customization without the need for model retraining. The assistant's capabilities are mapped to handle a variety of specific tasks, including answering frequently asked questions, performing basic calculations, retrieving predefined information, and executing simple commands. The application provides a fast, efficient, and highly reliable method for automating responses and tasks in a controlled environment.

Fields of Study & Subjects

AI in Service Interactions Natural Language Processing Techniques Speech and dialogue systems

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
7 January 2026