Skip to content

Commit

Permalink
Merge pull request #81 from rosette-api/WS-3053-replace-rosette-com
Browse files Browse the repository at this point in the history
Ws 3053 replace rosette com
  • Loading branch information
seth-mg authored Jan 4, 2024
2 parents c11885b + bb88be4 commit 878b34d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="https://www.rosette.com"><img src="https://s3.amazonaws.com/styleguide.basistech.com/logos/rosette-logo.png" width="181" height="47" /></a>
<a href="https://www.babelstreet.com/rosette"><img src="https://s3.amazonaws.com/styleguide.basistech.com/logos/rosette-logo.png" width="181" height="47" /></a>

---

Expand All @@ -12,7 +12,6 @@ comparing the similarity of names, categorizing and adding linguistic tags to te

## Rosette API Access
- Rosette Cloud [Sign Up](https://developer.rosette.com/signup)
- Rosette Enterprise [Evaluation](https://www.rosette.com/product-eval/)

## Quick Start

Expand Down
4 changes: 2 additions & 2 deletions examples/categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
echo 'Usage: php ' . __FILE__ . " --key <api_key> --url=<alternate_url>\n";
exit();
}
$categories_url_data = "https://rosette.com/about";
$categories_text_data = "If you are a fan of the British television series Downton Abbey and you are planning to be in New York anytime before April 2nd, there is a perfect stop for you while in town.";
$api = isset($options['url']) ? new Api($options['key'], $options['url']) : new Api($options['key']);
$params = new DocumentParameters();
$params->set('contentUri', $categories_url_data);
$params->set('content', $categories_text_data);

try {
$result = $api->categories($params);
Expand Down

0 comments on commit 878b34d

Please sign in to comment.