International Journal of Artificial Intelligence Research
Vol 8, No 2 (2024): December 2024

Optimizing Text Correction For Voice Based IoT Smart Building Virtual Assistants

Shidiqi, Maulana Ahmad As (Unknown)
Hadi, Mokh Sholihul (Unknown)
Wibawa, Aji Prasetya (Unknown)
Mhd. Irvan, Mhd. Irvan (Unknown)



Article Info

Publish Date
20 Oct 2024

Abstract

The integration of Virtual Assistants (VAs) within Smart Building Internet of Things (IoT) ecosystems is increasingly critical, particularly for interpreting user commands via Automatic Speech Recognition (ASR). This paper presents an in-depth performance analysis of text correction algorithms on a Raspberry Pi 4—a cost-effective and widely used computing solution in smart building applications. Due to the absence of GPU acceleration for Python on ARM architecture, a specialized dataset was developed to benchmark algorithmic performance, focusing on correction times and accuracy. Our study utilized a near-real-world experimental setup, deploying Docker containers to simulate IoT MQTT brokers, a Smart Building Platform, and Rasa for dialogue management. Among the algorithms tested—Edit distance, Jaccard, FuzzPartialRatio, FuzzSortRatio, MLE, and Norvig Spell—the Edit distance and Norvig Spell emerged as leaders in accuracy, achieving an 84% success rate in text correction. Notably, the Edit distance algorithm demonstrated superior speed, vital for real-time processing demands. The Fuzz Sort Ratio algorithm distinguished itself with the fastest correction time at 31.6 milliseconds, albeit with a slight compromise on accuracy, attaining a 79% success rate. Consequently, the Edit distance algorithm is recommended for applications where accuracy and response time are paramount, while the Fuzz Sort Ratio is preferable for scenarios where speed is the overriding priority. This research paves the way for future exploration into the computational impacts of these algorithms and the exploration of neural network-based methods to further enhance text correction capabilities in smart building automation systems.

Copyrights © 2024






Journal Info

Abbrev

IJAIR

Publisher

Subject

Computer Science & IT Electrical & Electronics Engineering

Description

International Journal Of Artificial Intelligence Research (IJAIR) is a peer-reviewed open-access journal. The journal invites scientists and engineers throughout the world to exchange and disseminate theoretical and practice-oriented topics of Artificial intelligent Research which covers four (4) ...