fix: remove typo

This commit is contained in:
hexastack 2024-11-28 20:05:32 +01:00
parent 0d8a4ce764
commit b075c293d8

View File

@ -187,7 +187,7 @@ class SlotFiller(tfbp.Model):
data = helper.read_dataset_json_file('train.json')
synonyms = data["entity_synonyms"]
synonym_map = {}
for entry in data["entity_synonyms"]:
for entry in synonyms:
value = entry["value"]
for synonym in entry["synonyms"]:
synonym_map[synonym] = value