text_html_output_1.png
import os

folder_dir = '/kaggle/input/108-2-ntut-dl-app-hw2'
filename = 'tag_list.txt'
vocabulary_size = 990

file_path = os.path.join(folder_dir, filename)
with open(file_path, 'r', encoding='utf-8') as f:
    words = f.read().split()

words