Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

A Novel Approach: Tokenization Framework based on Sentence Structure in Indonesian Language

Author 1: Johannes Petrus Author 2: Ermatita Author 3: Sukemi Author 4: Erwin
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 14, No. 2 · Published 2023

DOI: https://doi.org/10.14569/IJACSA.2023.0140264

Abstract

This study proposes a new approach in the sentence tokenization process. Sentence tokenization, which is known so far, is the process of breaking sentences based on spaces as separators. Space-based sentence tokenization only generates single word tokens. In sentences consisting of five words, tokenization will produce five tokens, one word each. Each word is a token. This process ignores the loss of the original meaning of the separated words. Our proposed tokenization framework can generate one-word tokens and multi-word tokens at the same time. The process is carried out by extracting the sentence structure to obtain sentence elements. Each sentence element is a token. There are five sentence elements that is Subject, Predicate, Object, Complement and Adverbs. We extract sentence structures using deep learning methods, where models are built by training the datasets that have been prepared before. The training results are quite good with an F1 score of 0.7 and it is still possible to improve. Sentence similarity is the topic for measuring the performance of one-word tokens compared to multi-word tokens. In this case the multiword token has better accuracy. This framework was created using the Indonesian language but can also use other languages with dataset adjustments.

Keywords

How to Cite this Article

Petrus, J., Ermatita, Sukemi, & Erwin (2023). A Novel Approach: Tokenization Framework based on Sentence Structure in Indonesian Language. International Journal of Advanced Computer Science and Applications, 14(2). https://doi.org/10.14569/IJACSA.2023.0140264

Petrus, Johannes, et al.. "A Novel Approach: Tokenization Framework based on Sentence Structure in Indonesian Language." International Journal of Advanced Computer Science and Applications, vol. 14, no. 2, 2023, https://doi.org/10.14569/IJACSA.2023.0140264.

@article{Petrus2023,
  title     = {A Novel Approach: Tokenization Framework based on Sentence Structure in Indonesian Language},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {14},
  number    = {2},
  year      = {2023},
  publisher = {The Science and Information Organization},
  author    = {Johannes Petrus and Ermatita and Sukemi and Erwin},
  doi       = {10.14569/IJACSA.2023.0140264},
  url       = {https://doi.org/10.14569/IJACSA.2023.0140264}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.