Last active
May 6, 2021 09:13
-
-
Save omri374/e6ca6769ecbe1bc501d98dd3eb5b74f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pprint | |
detailed_results = {} | |
nlp = en_core_web_lg | |
print("Model name: en_core_web_lg") | |
for template, name_set in itertools.product(templates, name_sets.items()): | |
print(f"Name set: {name_set[0]}, Template: \"{template}\"") | |
results = names_recall(nlp, name_set[1], template) | |
detailed_results[template, name_set[0]] = results | |
print("\nDetailed results:") | |
pprint.pprint(detailed_results) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment