We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5466b6e commit c340475Copy full SHA for c340475
examples/entities.py
@@ -18,9 +18,7 @@ def run(key, altUrl='https://api.rosette.com/rest/v1/'):
18
params = DocumentParameters()
19
params["content"] = entities_text_data
20
params["genre"] = "social-media"
21
- # to improve performance, and if you don't need the QID, set this option
22
- # api.setOption("linkEntities", False)
23
- return api.entities(params) # entity linking is turned off
+ return api.entities(params)
24
25
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter, description='Calls the ' + os.path.splitext(os.path.basename(__file__))[0] + ' endpoint')
26
parser.add_argument('-k', '--key', help='Rosette API Key', required=True)
0 commit comments