Created
March 4, 2020 10:35
-
-
Save prateekjoshi565/04bef7eca50f4e43911ccb65074c266c 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
# Extract matched text | |
for match_id, start, end in matches: | |
# Get the matched span | |
matched_span = doc[start:end] | |
print(matched_span.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment