import os
inputDir = 'output'
resultDir = 'result'
path = os.listdir(inputDir)
dict = {'ð': 'ơ̆', 'ẽ': 'ĕ', '¡': 'i', 'mĩ': 'mĭ', 'ợ': 'ơ', 'ồ': 'ŏ', 'ố':
    'ơ̆', 'ỗ': 'ô̆', 'ơi': 'ơĭ', 'ổi': 'ôĭ', 'š': 'ĕ', 'Š': 'ê̆', 'ủ': 'ŭ',
    'Ủ': 'Ŭ', 'ũ': 'ŭ', 'Ũ': 'Ŭ'}
for txt in path:
    txtFile = open(inputDir + '/' + txt, encoding='utf-8', errors='ignore'
        ).read()
    for original, replace in dict.items():
        txtFile = txtFile.replace(original, replace)
    with open(resultDir + '/' + txt, 'w', encoding='utf-8') as f:
        f.write(txtFile)

3e419c8caac7978d74f89a673a8e4f3b1a144b0b
<mask token>

<mask token>
for txt in path:
    txtFile = open(inputDir + '/' + txt, encoding='utf-8', errors='ignore'
        ).read()
    for original, replace in dict.items():
        txtFile = txtFile.replace(original, replace)
    with open(resultDir + '/' + txt, 'w', encoding='utf-8') as f:
        f.write(txtFile)

<mask token>
inputDir = 'output'
resultDir = 'result'
path = os.listdir(inputDir)
dict = {'ð': 'ơ̆', 'ẽ': 'ĕ', '¡': 'i', 'mĩ': 'mĭ', 'ợ': 'ơ', 'ồ': 'ŏ', 'ố':
    'ơ̆', 'ỗ': 'ô̆', 'ơi': 'ơĭ', 'ổi': 'ôĭ', 'š': 'ĕ', 'Š': 'ê̆', 'ủ': 'ŭ',
    'Ủ': 'Ŭ', 'ũ': 'ŭ', 'Ũ': 'Ŭ'}
for txt in path:
    txtFile = open(inputDir + '/' + txt, encoding='utf-8', errors='ignore'
        ).read()
    for original, replace in dict.items():
        txtFile = txtFile.replace(original, replace)
    with open(resultDir + '/' + txt, 'w', encoding='utf-8') as f:
        f.write(txtFile)

import os
inputDir = 'output'
resultDir = 'result'
path = os.listdir(inputDir)
dict = {'ð': 'ơ̆', 'ẽ': 'ĕ', '¡': 'i', 'mĩ': 'mĭ', 'ợ': 'ơ', 'ồ': 'ŏ', 'ố':
    'ơ̆', 'ỗ': 'ô̆', 'ơi': 'ơĭ', 'ổi': 'ôĭ', 'š': 'ĕ', 'Š': 'ê̆', 'ủ': 'ŭ',
    'Ủ': 'Ŭ', 'ũ': 'ŭ', 'Ũ': 'Ŭ'}
for txt in path:
    txtFile = open(inputDir + '/' + txt, encoding='utf-8', errors='ignore'
        ).read()
    for original, replace in dict.items():
        txtFile = txtFile.replace(original, replace)
    with open(resultDir + '/' + txt, 'w', encoding='utf-8') as f:
        f.write(txtFile)
