We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a510bb commit 4a35e54Copy full SHA for 4a35e54
1 file changed
examples/events.py
@@ -15,15 +15,7 @@ def run(key, alt_url='https://api.rosette.com/rest/v1/'):
15
# Create an API instance
16
api = API(user_key=key, service_url=alt_url)
17
18
- # Set selected API options.
19
- # For more information on the functionality of these
20
- # and other available options, see Rosette Features & Functions
21
- # https://developer.rosette.com/features-and-functions#entity-extraction-and-linking
22
-
23
- # api.set_option('calculateSalience','true')
24
- # api.set_option('linkEntities','false')
25
26
- events_text_data = "James wanted to test this awesome document."
+ events_text_data = "I am looking for flights to Super Bowl 2022 in Inglewood, LA."
27
params = DocumentParameters()
28
params["content"] = events_text_data
29
0 commit comments