Hiding Expletive Comments in Mobile Applications using CNN and LSTM based NLP Classification Models

  IJCTT-book-cover
 
         
 
© 2024 by IJCTT Journal
Volume-72 Issue-12
Year of Publication : 2024
Authors : Shivam Tomar
DOI :  10.14445/22312803/IJCTT-V72I12P120

How to Cite?

Shivam Tomar, "Hiding Expletive Comments in Mobile Applications using CNN and LSTM based NLP Classification Models," International Journal of Computer Trends and Technology, vol. 72, no. 12, pp. 164-170, 2024. Crossref, https://doi.org/10.14445/22312803/IJCTT-V72I12P120

Abstract
Often, e-commerce mobile applications show the public comments of consumers about the products they sell. Sometimes, these comments contain foul language, which is inappropriate to be shown on the public platform. App developers would want to hide them and show them only after the consent from the app user. The goal of this study is to find the optimal way to classify comments as expletive or not using the NLP classification model. This study utilized CNN and LSTM algorithms to train the expletive language classification model. These models are used by the mobile application to find whether comments from users are expletive in nature or not. If a comment is found to be expletive, it will be hidden. The mobile app will also provide an option to unhide the expletive comments if the user wants to see them. LSTM models are found to be more accurate than CNN models with large datasets. Hiding expletive comments is very important for organizations to meet the guidelines of various countries. Deep learning provides an accurate and novel approach to achieve this feature.

Keywords
CNNs, Deep Learning, LSTM, NLP, Mobile Applications, Android.

Reference

[1] Jon Krohn, Deep Learning for Natural Language Processing, 2nd ed., Pearson, 2020.
[Publisher Link]
[2] Metrics For Evaluating Machine Learning Classification Models, Medium, Towards Data Science, 2024. [Online]. Available: https://towardsdatascience.com/metrics-for-evaluating-machine-learning-classification-models-python-example-59b905e079a5
[3] Long Short-Term Memory, Wikipedia, 2024. [Online]. Available: https://en.wikipedia.org/wiki/Long_short-term_memory
[4] Convolutional Neural Network, Wikipedia, 2025. [Online]. Available: https://en.wikipedia.org/wiki/Convolutional_neural_network
[5] Tomas Mikolov et al., “Efficient Estimation of Word Representations in Vector Space,” Arxiv Preprint, pp. 1-12, 2013.
[CrossRef] [Google Scholar] [Publisher Link]
[6] Mourad Mars, “From Word Embeddings to Pre-Trained Language Models: A State-of-the-Art Walkthrough,” Applied Sciences, vol. 12, no. 17, pp. 1-19, 2022.
[CrossRef] [Google Scholar] [Publisher Link]