Content-Based Recommendation System for Non-Textbook using TF-IDF, Cosine Similarity, and Educational Level Filtering

Authors

  • Arif Rohmadi Informatics, Universitas Sebelas Maret, Indonesia
  • Ristu Saptono Informatics, Universitas Sebelas Maret, Indonesia
  • Brilyan Hendrasuryawan Informatics, Universitas Sebelas Maret, Indonesia
  • Bambang Widoyono Informatics, Universitas Sebelas Maret, Indonesia
  • Akhmad Syaifuddin Informatics, Universitas Sebelas Maret, Indonesia

DOI:

https://doi.org/10.52436/1.jutif.2026.7.4.5425

Keywords:

Content-Based Filtering, Recommendation System, Similarity, TF-IDF

Abstract

Non-textbook educational resources refer to books designed to enrich readers’ knowledge, insights, and skills, serving as complementary materials to formal textbooks. These may include fiction, non-fiction, biographies, self-help books, and other supplementary literature. However, the broad range of available non-textbooks targeting diverse educational levels often presents challenges for students in selecting materials that are appropriate to their academic stage. This study aims to develop a content-based recommendation system capable of recommending non-textbooks based on the reader's educational level. The recommendation process employs Term Frequency–Inverse Document Frequency (TF-IDF) for feature extraction and Cosine Similarity to calculate semantic similarity between user search queries and book content. To improve relevance, a filtering mechanism based on education level is introduced prior to feature extraction. Experimental results show that applying this filtering process significantly improves the recommendation's performance, yielding an average precision of 100%. In contrast, models without the filtering process achieve only 50% precision. These findings highlight the effectiveness of contextual filtering in improving the accuracy of non-textbook recommendation systems.  

Downloads

Download data is not yet available.

References

M. Warschauer and T. Matuchniak, “New Technology and Digital Worlds: Analyzing Evidence of Equity in Access, Use, and Outcomes,” Review of Research in Education, vol. 34, no. 1, pp. 179–225, Mar. 2010, doi: 10.3102/0091732X09349791.

R. Sapra, “Integrating Information Technology and Reading Teaching to Promote the Development of Students’ Reading Ability,” Journal of Educational Research and Policies, vol. 6, pp. 145–153, Nov. 2024, doi: 10.53469/jerp.2024.06(11).32.

K. A. A. Mohamed and T. Halim, “To Choose or Not to Choose: EFL Teachers’ and Learners’ Perspectives on Information Overload,” International Journal of Instruction, vol. 16, no. 3, pp. 363–376, Jul. 2023, doi: 10.29333/iji.2023.16320a.

S. S. Raza Abidi and S. S. Raza Abidi, “Intelligent Information Personalization: From Issues to Strategies,” in Intelligent User Interfaces: Adaptation and Personalization Systems and Technologies, IGI Global Scientific Publishing, pp. 118–146. doi: 10.4018/978-1-60566-032-5.ch006.

M. H. Konrad, “The Love of the Book: Students’ Text Selection and Their Motivation to Read,” The Reading Teacher, vol. 77, no. 3, pp. 332–340, 2023, doi: 10.1002/trtr.2246.

S. Kragler, “Choosing Books for Reading: An Analysis of Three Types of Readers,” Journal of Research in Childhood Education, vol. 14, no. 2, pp. 133–141, Jun. 2000, doi: 10.1080/02568540009594758.

E. J. Sewell, “Students’ Choice of Books during Self-Selected Reading,” May 2003. Accessed: Oct. 29, 2025. [Online]. Available: https://eric.ed.gov/?id=ED476400

L. van der Sande, I. Wildeman, A. G. Bus, and R. van Steensel, “Personalized Expert Guidance of Students’ Book Choices in Primary and Secondary Education,” Reading Psychology, vol. 43, no. 5–6, pp. 380–404, Aug. 2022, doi: 10.1080/02702711.2022.2113944.

F. L. da Silva, B. K. Slodkowski, K. K. A. da Silva, and S. C. Cazella, “A systematic literature review on educational recommender systems for teaching and learning: research trends, limitations and opportunities,” Education and Information Technologies, vol. 28, no. 3, pp. 3289–3328, Mar. 2023, doi: 10.1007/s10639-022-11341-9.

Y. Joshi, B. Rawat, N. Pandey, and S. Wariyal, “Unlocking the Potential: Addressing Challenges and Paving the Way for the Future of Recommender Systems in E-Learning,” in 2024 International Conference on Artificial Intelligence and Emerging Technology (Global AI Summit), Greater Noida, India: IEEE, Sep. 2024, pp. 694–699. doi: 10.1109/GlobalAISummit62156.2024.10947950.

O. A. S. Ibrahim, E. M. G. Younis, E. A. Mohamed, and W. N. Ismail, “Revisiting recommender systems: an investigative survey,” Neural Computing and Applications, vol. 37, no. 4, pp. 2145–2173, Feb. 2025, doi: 10.1007/s00521-024-10828-5.

N. M. Santhosh, J. Cheriyan, and M. Sindhu, “An Intelligent Exploratory Approach for Product Recommendation Using Collaborative Filtering,” in 2021 2nd International Conference on Advances in Computing, Communication, Embedded and Secure Systems (ACCESS), Ernakulam, India: IEEE, Sep. 2021, pp. 232–237. doi: 10.1109/ACCESS51619.2021.9563330.

S. Vairachilai, “Collaborative Filtering Recommender System (CFRS): Comparative Survey on Cold-Start Issue,” INDJST, vol. 11, no. 22, pp. 1–13, Jun. 2018, doi: 10.17485/ijst/2018/v11i22/116392.

N. Jain and D. A. Hussain, “Collaborative Filtering vs. Content-Based Filtering : A Machine Learning Perspective in Recommendation Systems,” IJSRCSEIT, vol. 11, no. 2, pp. 3929–3938, Apr. 2025, doi: 10.32628/CSEIT24102142.

M. Liao and S. S. Sundar, “When E-Commerce Personalization Systems Show and Tell: Investigating the Relative Persuasive Appeal of Content-Based versus Collaborative Filtering,” Journal of Advertising, vol. 51, no. 2, pp. 256–267, Mar. 2022, doi: 10.1080/00913367.2021.1887013.

A. A. Huda, R. Fajarudin, and A. Hadinegoro, “Sistem Rekomendasi Content-based Filtering Menggunakan TF-IDF Vector Similarity Untuk Rekomendasi Artikel Berita,” BITS, vol. 4, no. 3, Art. no. 3, Dec. 2022, doi: 10.47065/bits.v4i3.2511.

R. Ramesh and S. Vijayalakshmi, “Improvement to Recommendation system using Hybrid techniques,” in 2022 2nd International Conference on Advance Computing and Innovative Technologies in Engineering (ICACITE), Apr. 2022, pp. 778–782. doi: 10.1109/ICACITE53722.2022.9823879.

F. L. da Silva, B. K. Slodkowski, K. K. A. da Silva, and S. C. Cazella, “A systematic literature review on educational recommender systems for teaching and learning: research trends, limitations and opportunities,” Education and Information Technologies, vol. 28, no. 3, pp. 3289–3328, Mar. 2023, doi: 10.1007/s10639-022-11341-9.

M. R. Julianti, Y. Heryadi, B. Yulianto, and W. Budiharto, “Recommendation System Model for Personalized Learning in Higher Education using Content-Based Filtering Method,” in 2022 International Conference on Information Management and Technology (ICIMTech), Semarang, Indonesia: IEEE, Aug. 2022, pp. 1–6. doi: 10.1109/ICIMTech55957.2022.9915109.

N. Shukla, N. Soni, N. Gupta, and N. Anand, “Online Book Recommendation System using Custom Recommender,” in 2022 6th International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India: IEEE, Apr. 2022, pp. 921–925. doi: 10.1109/ICOEI53556.2022.9777131.

R. Ardiansyah, M. A. Bianto, and B. D. Saputra, “Sistem Rekomendasi Buku Perpustakaan Sekolah menggunakan Metode Content-Based Filtering,” CoSciTech, vol. 4, no. 2, pp. 510–518, Oct. 2023, doi: 10.37859/coscitech.v4i2.5131.

L. Rosidah and P. Dellia, “Library Book Recommendation System Using Content-Based Filtering,” Internet of Things and Artificial Intelligence Journal, vol. 4, no. 1, pp. 42–65, Feb. 2024, doi: 10.31763/iota.v4i1.693.

V. Nuipian and J. Chuaykhun, “Book Recommendation System based on Course Descriptions using Cosine Similarity,” in Proceedings of the 2023 7th International Conference on Natural Language Processing and Information Retrieval, in NLPIR ’23. New York, NY, USA: Association for Computing Machinery, Mar. 2024, pp. 273–277. doi: 10.1145/3639233.3639335.

D. Y. Liliana, R. E. Nalawati, R. W. Iswara, A. P. Aisyah, and H. O. T. Malo, “Book Recommender System Using Content-Based Filtering for PNJ Press Website,” in 2024 10th International Conference on Education and Technology (ICET), Malang, Indonesia: IEEE, Oct. 2024, pp. 231–236. doi: 10.1109/ICET64717.2024.10778466.

D. Ridhwanullah, Y. K. Kumarahadi, and B. D. Raharja, “Content-Based Filtering pada Sistem Rekomendasi Buku Informatika,” SINUS, vol. 22, no. 2, pp. 57–66, Jul. 2024, doi: 10.30646/sinus.v22i2.840.

R. Widayanti, M. H. R. Chakim, C. Lukita, U. Rahardja, and N. Lutfiani, “Improving Recommender Systems using Hybrid Techniques of Collaborative Filtering and Content-Based Filtering,” JADS, vol. 4, no. 3, pp. 289–302, Sep. 2023, doi: 10.47738/jads.v4i3.115.

C. P. Chai, “The Importance of Data Cleaning: Three Visualization Examples,” CHANCE, vol. 33, no. 1, pp. 4–9, Jan. 2020, doi: 10.1080/09332480.2020.1726112.

M. A. P. Joshi and B. V. Patel, “Data Preprocessing: The Techniques for Preparing Clean and Quality Data for Data Analytics Process,” Oriental Journal of Computer Science and Technology, vol. 13, no. 2,3, pp. 78–81, Jan. 2021, doi: 10.13005/ojcst13.0203.03.

S. Yeruva, A. Sathvika, D. Sruthi, D. Y. Reddy, and G. G. Krishna, “Apparel Recommendation System using Content-Based Filtering,” IJRTE, vol. 11, no. 4, pp. 46–51, Nov. 2022, doi: 10.35940/ijrte.D7331.1111422.

Y. Setiawan, D. Gunawan, and R. Efendi, “Feature Extraction TF-IDF to Perform Cyberbullying Text Classification: A Literature Review and Future Research Direction,” in 2022 International Conference on Information Technology Systems and Innovation (ICITSI), Bandung, Indonesia: IEEE, Nov. 2022, pp. 283–288. doi: 10.1109/ICITSI56531.2022.9970942.

R. Zenico, E. B. Setiawan, and F. N. Nugraha, “Prediksi Big Five Personality dengan Term Frequency Inverse Document Frequency (TF – IDF) Menggunakan Metode Logistic Regression pada Pengguna Twitter,” e-Proceeding of Engineering, vol. 6, no. 2, pp. 9939–9945, Aug. 2019.

A. F. AlShammari, “Implementation of Keyword Extraction using Term Frequency-Inverse Document Frequency (TF-IDF) in Python,” IJCA, vol. 185, no. 35, pp. 9–14, Sep. 2023, doi: 10.5120/ijca2023923137.

Z. Tang, “A generic multi-level framework for building term-weighting schemes in text classification,” The Computer Journal, vol. 67, no. 11, pp. 3042–3055, Nov. 2024, doi: 10.1093/comjnl/bxae068.

B. Alhijawi, A. Awajan, and S. Fraihat, “Survey on the Objectives of Recommender Systems: Measures, Solutions, Evaluation Methodology, and New Perspectives,” ACM Comput. Surv., vol. 55, no. 5, p. 93:1-93:38, Dec. 2022, doi: 10.1145/3527449.

Additional Files

Published

2026-08-17

How to Cite

[1]
A. Rohmadi, R. Saptono, B. Hendrasuryawan, B. Widoyono, and A. Syaifuddin, “Content-Based Recommendation System for Non-Textbook using TF-IDF, Cosine Similarity, and Educational Level Filtering”, J. Tek. Inform. (JUTIF), vol. 7, no. 4, pp. 3557–3568, Aug. 2026.