Skip to content

Commit 1dc239c

Browse files
author
Chris Park
committed
Fixed typo in README. Updates to some of the examples
1 parent 8c5acb8 commit 1dc239c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ There are several ways in which to run the examples:
77

88
1. Copy the contents of the file, replace `your_api_key` with your Rosette API Key, and paste the command into the command shell
99
1. `sed s/your_api_key/ROSETTE_API_KEY/ < example_name.curl | bash
10-
1. `find . -name "*.curl" -exec sh -c "sed s/your_api_key/ROSETTE_API_KEY/ < {} | bash \;`
10+
1. `find . -name "*.curl" -exec sh -c "sed s/your_api_key/ROSETTE_API_KEY/ < {} | bash" \;`
1111

1212

1313
Additional Information

examples/morphology_lemmas.curl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
curl -X POST -H "X-RosetteAPI-Key: your_api_key" -H "Content-Type: application/json" -H "Accept: application/json" -H "Cache-Control: no-cache" -d '{"content": "The fact is that the geese just went back to get a rest and I'"'"'m not banking on their return soon"}' "https://api.rosette.com/rest/v1/morphology/lemmas"
1+
curl -X POST -H "X-RosetteAPI-Key: your_api_key" -H "Content-Type: application/json" -H "Accept: application/json" -H "Cache-Control: no-cache" -d '{"content": "The fact is that the geese just went back to get a rest and I\u0027m not banking on their return soon"}' "https://api.rosette.com/rest/v1/morphology/lemmas"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
curl -X POST -H "X-RosetteAPI-Key: your_api_key" -H "Content-Type: application/json" -H "Accept: application/json" -H "Cache-Control: no-cache" -d '{"content": "The fact is that the geese just went back to get a rest and I'"'"'m not banking on their return soon"}' "https://api.rosette.com/rest/v1/morphology/parts-of-speech"
1+
curl -X POST -H "X-RosetteAPI-Key: your_api_key" -H "Content-Type: application/json" -H "Accept: application/json" -H "Cache-Control: no-cache" -d '{"content": "The fact is that the geese just went back to get a rest and I\u0027m not banking on their return soon"}' "https://api.rosette.com/rest/v1/morphology/parts-of-speech"

examples/sentences.curl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
curl -X POST -H "X-RosetteAPI-Key: your_api_key" -H "Content-Type: application/json" -H "Accept: application/json" -H "Cache-Control: no-cache" -d '{"content": "This land is your land. This land is my land\nFrom California to the New York island;\nFrom the red wood forest to the Gulf Stream waters\n\nThis land was made for you and Me.\n\nAs I was walking that ribbon of highway,\nI saw above me that endless skyway:\nI saw below me that golden valley:\nThis land was made for you and me." }' "https://api.rosette.com/rest/v1/sentences"
1+
curl -X POST -H "X-RosetteAPI-Key: your_api_key" -H "Content-Type: application/json" -H "Accept: application/json" -H "Cache-Control: no-cache" -d '{"content": "This land is your land. This land is my land\\nFrom California to the New York island;\\nFrom the red wood forest to the Gulf Stream waters\\n\\nThis land was made for you and Me.\\n\\nAs I was walking that ribbon of highway,\\nI saw above me that endless skyway:\\nI saw below me that golden valley:\\nThis land was made for you and me." }' "https://api.rosette.com/rest/v1/sentences"

examples/sentiment.curl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
curl -X POST -H "X-RosetteAPI-Key: your_api_key" -H "Content-Type: application/json" -H "Accept: application/json" -H "Cache-Control: no-cache" -d '{"content": "<html><head><title>New Ghostbusters Film</title></head><body><p>Original Ghostbuster Dan Aykroyd, who also co-wrote the 1984 Ghostbusters film, couldn\u0027t be more pleased with the new all-female Ghostbusters cast, telling The Hollywood Reporter, “The Aykroyd family is delighted by this inheritance of the Ghostbusters torch by these most magnificent women in comedy.”</p></body></html>" }' "https://api.rosette.com/rest/v1/sentiment"
1+
curl -X POST -H "X-RosetteAPI-Key: your_api_key" -H "Content-Type: application/json" -H "Accept: application/json" -H "Cache-Control: no-cache" -d '{"content": "Original Ghostbuster Dan Aykroyd, who also co-wrote the 1984 Ghostbusters film, couldn’t be more pleased with the new all-female Ghostbusters cast, telling The Hollywood Reporter, “The Aykroyd family is delighted by this inheritance of the Ghostbusters torch by these most magnificent women in comedy.”" }' "https://api.rosette.com/rest/v1/sentiment"

0 commit comments

Comments
 (0)