Skip to content

Commit affb3e5

Browse files
author
Chris Park
committed
Updated examples
1 parent e430daa commit affb3e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/relationships.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
def run(key, altUrl='https://api.rosette.com/rest/v1/'):
1515
# Create an API instance
1616
api = API(user_key=key, service_url=altUrl)
17-
relationships_text_data = "The Ghostbusters movie was filmed in Boston."
17+
relationships_text_data = "Bill Gates, Microsoft's former CEO, is a philanthropist."
1818
params = DocumentParameters()
1919
params["content"] = relationships_text_data
2020
api.setOption('accuracyMode', 'PRECISION')

examples/syntax_dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
def run(key, altUrl='https://api.rosette.com/rest/v1/'):
15-
syntax_dependencies_data = "Sony Pictures is planning to shoot a good portion of the new \"Ghostbusters\" in Boston as well."
15+
syntax_dependencies_data = "Yoshinori Ohsumi, a Japanese cell biologist, was awarded the Nobel Prize in Physiology or Medicine on Monday."
1616
params = DocumentParameters()
1717
params["content"] = syntax_dependencies_data
1818
params["genre"] = "social-media"

0 commit comments

Comments
 (0)