Skip to content

Instantly share code, notes, and snippets.

@SamuelAlgheriniAI
Last active March 23, 2021 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SamuelAlgheriniAI/b6f6dfc720029e5dce1b6e07e3b4476b to your computer and use it in GitHub Desktop.
Save SamuelAlgheriniAI/b6f6dfc720029e5dce1b6e07e3b4476b to your computer and use it in GitHub Desktop.
Data Mining Sample
output = client.extraction(text)
print("\nList of extractions:")
for extraction in output.extractions:
print(extraction.template)
for field in extraction.fields:
print(field.name, field.value, sep="\t")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment