Skip to content

Commit aeb9930

Browse files
committed
Merge branch 'develop'
2 parents f800744 + a07aead commit aeb9930

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+221
-132
lines changed

README.md

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,37 @@
1-
<a href="https://www.babelstreet.com/rosette"><img src="https://charts.babelstreet.com/icon.png" width="47" height="60"/></a>
2-
# Rosette by Babel Street
1+
<a href="https://www.babelstreet.com/rosette">
2+
<picture>
3+
<source media="(prefers-color-scheme: light)" srcset="https://charts.babelstreet.com/icon-dark.png">
4+
<source media="(prefers-color-scheme: dark)" srcset="https://charts.babelstreet.com/icon-light.png">
5+
<img alt="Babel Street Logo" width="48" height="48">
6+
</picture>
7+
</a>
8+
9+
# Analytics by Babel Street
310

411
---
512

613
[![NuGet version](https://badge.fury.io/nu/rosette_api.svg)](https://badge.fury.io/nu/rosette_api)
714

8-
Rosette uses natural language processing, statistical modeling, and machine learning to analyze unstructured and semi-structured text across hundreds of language-script combinations, revealing valuable information and actionable data. Rosette provides endpoints for extracting entities and relationships, translating and comparing the similarity of names, categorizing and adding linguistic tags to text and more. Rosette Server is the on-premises installation of Rosette, with access to Rosette's functions as RESTful web service endpoints. This solves cloud security worries and allows customization (models/indexes) as needed for your business.
15+
Our product is a full text processing pipeline from data preparation to extracting the most relevant information and
16+
analysis utilizing precise, focused AI that has built-in human understanding. Text Analytics provides foundational
17+
linguistic analysis for identifying languages and relating words. The result is enriched and normalized text for
18+
high-speed search and processing without translation.
19+
20+
Text Analytics extracts events and entities — people, organizations, and places — from unstructured text and adds the
21+
structure of associating those entities into events that deliver only the necessary information for near real-time
22+
decision making. Accompanying tools shorten the process of training AI models to recognize domain-specific events.
923

24+
The product delivers a multitude of ways to sharpen and expand search results. Semantic similarity expands search
25+
beyond keywords to words with the same meaning, even in other languages. Sentiment analysis and topic extraction help
26+
filter results to what’s relevant.
1027

11-
## Rosette API Access
12-
- Rosette Cloud [Sign Up](https://developer.rosette.com/signup)
28+
## Analytics API Access
29+
- Analytics Cloud [Sign Up](https://developer.babelstreet.com/signup)
1330

1431
## Quick Start
1532

1633
#### Installation
17-
If you use Nuget, you may use either Visual Studio's Nuget package manager or command line to install the Rosette API binding.
34+
If you use Nuget, you may use either Visual Studio's Nuget package manager or command line to install the Analytics API binding.
1835

1936
In Visual Studio: search for the [rosette_api package](https://www.nuget.org/packages/rosette_api/) in Nuget and follow the installation instructions.
2037

@@ -30,16 +47,24 @@ in the [examples](https://github.com/rosette-api/csharp/tree/develop/rosette_api
3047

3148
#### Documentation & Support
3249
- [Binding API](https://rosette-api.github.io/csharp/)
33-
- [Rosette Platform API](https://docs.babelstreet.com/API/en/index-en.html)
50+
- [Analytics Platform API](https://docs.babelstreet.com/API/en/index-en.html)
3451
- [Binding Release Notes](https://github.com/rosette-api/csharp/wiki/Release-Notes)
35-
- [Rosette Platform Release Notes](https://babelstreet.my.site.com/support/s/article/Rosette-Cloud-Release-Notes)
52+
- [Analytics Platform Release Notes](https://docs.babelstreet.com/Release/en/rosette-cloud.html)
3653
- [Support](https://babelstreet.my.site.com/support/s/)
3754
- [Binding License: Apache 2.0](https://github.com/rosette-api/csharp/blob/develop/LICENSE.txt)
3855

3956
## Concurrency
40-
The C# binding uses HttpClient to manage connectivity and concurrency. By default, .NET sets the default connection limit to 2, which is the same as the Rosette API default limit. For Rosette API plans that allow for higher concurrency, the internal HTTP client will adjust automatically to the higher number. If a user chooses to provide their own HTTP client, no adjustment will be made. In this case it is up to the user to set `ServicePointManager.DefaultConnectionLimit` to the Rosette API concurrency level prior to instantiating the CAPI object.
41-
42-
For multithreaded operations, do not instantiate a new CAPI object for each thread. The objects will not share the connection limit and `429 too many requests` errors are likely to occur. Rather, so that the underlying HttpClient can manage the queueing of the requests across all threads, instantiate a CAPI object and pass it to each thread. If it is necessary to instantiate a CAPI object on each thread, first create an HttpClient object, either by retrieving it from an instance of CAPI via the `Client` property or by creating your own HTTP client and passing it into each thread for use by the CAPI constructor.
57+
The C# binding uses HttpClient to manage connectivity and concurrency. By default, .NET sets the default connection
58+
limit to 2, which is the same as the Analytics API default limit. For Analytics API plans that allow for higher
59+
concurrency, the internal HTTP client will adjust automatically to the higher number. If a user chooses to provide
60+
their own HTTP client, no adjustment will be made. In this case it is up to the user to set
61+
`ServicePointManager.DefaultConnectionLimit` to the Analytics API concurrency level prior to instantiating the CAPI object.
62+
63+
For multithreaded operations, do not instantiate a new CAPI object for each thread. The objects will not share the
64+
connection limit and `429 too many requests` errors are likely to occur. Rather, so that the underlying HttpClient can
65+
manage the queueing of the requests across all threads, instantiate a CAPI object and pass it to each thread. If it is
66+
necessary to instantiate a CAPI object on each thread, first create an HttpClient object, either by retrieving it from
67+
an instance of CAPI via the `Client` property or by creating your own HTTP client and passing it into each thread for use by the CAPI constructor.
4368

4469
#### Example of using a common CAPI object for each thread:
4570
```

recompile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ do
2323
csc "${filename}.cs" /r:rosette_api.dll /r:System.Net.Http.dll /r:System.Web.Extensions.dll /r:Newtonsoft.Json.dll
2424
# if last command is empty then exit
2525
if [ $? -eq 0 ]; then
26-
mono "${filename}.exe"
26+
mono "${filename}.exe" $API_KEY $ALT_URL
2727
fi
2828
else
2929
echo "####> File ${filename}.cs not found in rosette_apiExamples directory"

rosette_api/AddressSimilarityResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace rosette_api
77
{
88
/// <summary>
9-
/// A class to represnt the results from the Name Similarity endpoint of the Rosette API
9+
/// A class to represent the results from the Address Similarity endpoint of the Analytics API
1010
/// </summary>
1111
[JsonObject(MemberSerialization.OptOut)]
1212
public class AddressSimilarityResponse : RosetteResponse

0 commit comments

Comments
 (0)