Last active
April 25, 2021 20:13
-
-
Save omri374/1e680ac21f7ed1bbf1b16905b338df48 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
name = "Simon" | |
doc=en_core_web_trf(f"My name is {name}") | |
print(f"Name = {name}. Detected entities: {doc.ents}") | |
name = "Katy" | |
doc=en_core_web_trf(f"My name is {name}") | |
print(f"Name = {name}. Detected entities: {doc.ents}") | |
name = "Moses" | |
doc=en_core_web_trf(f"This is what God said to {name}") | |
print(f"Name = {name}. Detected entities: {doc.ents}") | |
name = "Ronald" | |
doc=en_core_web_trf(f"This is what God said to {name}") | |
print(f"Name = {name}. Detected entities: {doc.ents}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment