import yaml
import json


tmp = {}
'''
with open("NounTest.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("NounTest.json", 'w') as f:
    json.dump(tmp, f)

with open("filters.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("filters.json", 'w') as f:
    json.dump(tmp, f)

with open("new_categorys.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("new_categorys.json", 'w') as f:
    json.dump(tmp, f)

with open("categorys.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("categorys.json", 'w') as f:
    json.dump(tmp, f)

with open("frames.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("frames.json", 'w') as f:
    json.dump(tmp, f)

with open("new_frames.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("new_frames.json", 'w') as f:
    json.dump(tmp, f)

with open("ccharts.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("ccharts.json", 'w') as f:
    json.dump(tmp, f)

with open("idioms.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("idioms.json", 'w') as f:
    json.dump(tmp, f)

with open("new_frames2.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("new_frames2.json", 'w') as f:
    json.dump(tmp, f)

with open("compoundPredicates.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("compoundPredicates.json", 'w') as f:
    json.dump(tmp, f)

with open("verbs.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("verbs.json", 'w') as f:
    json.dump(tmp, f)
'''

with open("new_argframes.yaml", 'r+') as f:
    tmp = yaml.load(f)
with open("new_argframes.json", 'w') as f:
    json.dump(tmp, f)
