Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chanind committed May 16, 2022
1 parent 4655768 commit eab2f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame_semantic_transformer/data/framenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_frame_elements_map_by_core_type() -> dict[str, dict[str, list[str]]]:
results: dict[str, dict[str, list[str]]] = {}
for frame in fn.frames():
results[frame.name] = {"core": [], "noncore": []}
for element_name, element in fn.frame(frame).FE.items():
for element_name, element in frame.FE.items():
element_type = "core" if element.coreType == "Core" else "noncore"
results[frame.name][element_type].append(element_name)
return results
Expand Down

0 comments on commit eab2f96

Please sign in to comment.