Modernizing Police Reporting: An Android Application Prototype for Incident Report Writing
Modernizing Police Reporting: An Android Application Prototype for Incident Report Writing
DOI:
https://doi.org/10.51473/rcmos.v1i2.2024.735Abstract
This article presents the development of an Android application prototype designed to assist Military Police officers with writing incident reports. The application leverages Google's Gemini AI API to provide real-time grammar correction and intelligent suggestions for writing improvement, acting as an experienced officer reviewing and enhancing the text. The app's architecture, based on the MVVM (Model-View-ViewModel) pattern, and the user interface design, focused on simplicity and usability, are detailed. The implementation of the Gemini AI API, including the system prompt that defines the AI's role and behavior, is explored, along with cost analysis and comparison with other popular natural language processing APIs like OpenAI and Anthropic. Test results using real incident reports demonstrate the app's ability to improve text clarity, conciseness, and professionalism, as well as provide relevant suggestions for police practice, such as missing information, legal procedures, and evidence collection. The article discusses the impacts and benefits of the application for the PMPR, the limitations of the technology, and suggestions for future work, including integration with other platforms and expansion of AI functionalities.
Downloads
References
ANTHROPIC. Claude Pricing. 2024. Disponível em: https://www.anthropic.com/pricing. Acesso em: 28 out. 2024.
ANDROID DEVELOPERS. Android SDK. 2023. Disponível em: https://developer.android.com/tools/releases/platforms?hl=pt-br. Acesso em 28 out. 2024.
CAMBRIA, E.; WHITE, B. Jumping NLP curves: A review of natural language processing research. IEEE Computational Intelligence Magazine, v. 9, n. 2, p. 48-57, 2014.
CHOWDHURY, G. G. Natural language processing. Annual Review of Information Science and Technology, v. 50, n. 1, p. 555-601, 2016.
FIELDING, R. T. Architectural styles and the design of network-based software architectures. Doctoral dissertation, University of California, Irvine, 2000.
GOOGLE AI. Gemini Pricing. 2024. Disponível em: https://ai.google.dev/pricing#1_5flash. Acesso em: 28 out. 2024.
JURAFSKY, D.; MARTIN, J. H. Speech and language processing. 3. ed. Pearson, 2020.
KOTLINLANG.ORG. Kotlin Programming Language. 2023. Disponível em: https://kotlinlang.org/. Acesso em: 28 out. 2024.
LECUN, Y.; BENGIO, Y.; HINTON, G. Deep learning. Nature, v. 521, n. 7553, p. 436-444, 2015.
MITCHELL, T. M. Machine Learning. New York: McGraw-Hill Science/Engineering/Math, 1997.
NUR FITRIA, T. “Grammarly” as AI-powered English Writing Assistant: Students' Alternative for English Writing. Metathesis: Journal of English Language, Literature, and Teaching, v. 5, p. 65-78, 2021.
OPENAI. GPT-3.5 Pricing. 2023. Disponível em: https://openai.com/api/pricing/. Acesso em: 28 out. 2024.
RADFORD, A. et al. Language models are unsupervised multitask learners. OpenAI Blog, v. 1, n. 8, p. 9, 2019.
RUSSELL, S. J.; NORVIG, P. Artificial intelligence: a modern approach. 3. ed. Upper Saddle River: Pearson, 2010.
STATCOUNTER. Mobile Operating System Market Share Worldwide. 2024. Disponível em: https://gs.statcounter.com/os-market-share/mobile/worldwide. Acesso em: 28 out. 2024.
YOANDITA; HASNAH, Y. Quillbot As An Alternative Writing Tool: Examining Its Uses On The Academic Writing Performance Of Efl Learners. Esteem Journal of English Education Study Programme, v. 7, n. 2, p. 401-412, 2024.
Downloads
Additional Files
Published
Issue
Section
Categories
License
Copyright (c) 2024 Cleiton Giacomelli da Silva (Autor/in)
This work is licensed under a Creative Commons Attribution 4.0 International License.