mirror of
https://github.com/hexastack/hexabot
synced 2024-12-29 15:31:04 +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')
|
data = helper.read_dataset_json_file('train.json')
|
||||||
synonyms = data["entity_synonyms"]
|
synonyms = data["entity_synonyms"]
|
||||||
synonym_map = {}
|
synonym_map = {}
|
||||||
for entry in data["entity_synonyms"]:
|
for entry in synonyms:
|
||||||
value = entry["value"]
|
value = entry["value"]
|
||||||
for synonym in entry["synonyms"]:
|
for synonym in entry["synonyms"]:
|
||||||
synonym_map[synonym] = value
|
synonym_map[synonym] = value
|
||||||
|
Loading…
Reference in New Issue
Block a user