mirror of
https://github.com/hexastack/hexabot
synced 2024-12-28 23:02:03 +00:00
fix: remove typo
This commit is contained in:
parent
0d8a4ce764
commit
b075c293d8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user