Skip to content

Commit 39bad68

Browse files
committed
Merge pull request #47 from rosette-api/RCB-389_Release_1_1
Release 1.1
2 parents f879228 + ceeb8c6 commit 39bad68

10 files changed

Lines changed: 13 additions & 13 deletions

rosette_api/CAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public CAPI(string user_key, string uristring = "https://api.rosette.com/rest/v1
103103
/// <summary>
104104
/// Internal version number that is used to sync with the running Rosette API server
105105
/// </summary>
106-
private static string _bindingVersion = "1.0";
106+
private static string _bindingVersion = "1.1";
107107

108108
/// <summary>Version
109109
/// <para>

rosette_api/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
//
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
34-
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
34+
// [assembly: AssemblyVersion("1.1.0.0")]
35+
[assembly: AssemblyVersion("1.1.0.0")]
36+
[assembly: AssemblyFileVersion("1.1.0.0")]

rosette_api/rosette_api.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>rosette_api</id>
5-
<version>1.0.0</version>
5+
<version>1.1.0</version>
66
<authors>basistech</authors>
77
<owners>basistech</owners>
88
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>

rosette_apiExamples/categories.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ static void Main(string[] args)
3131
try
3232
{
3333
CAPI CategoriesCAPI = string.IsNullOrEmpty(alturl) ? new CAPI(apikey) : new CAPI(apikey, alturl);
34-
string categories_text_data = @"Sony Pictures is planning to shoot a good portion of the new ""Ghostbusters"" in Boston as well.";
34+
string categories_text_data = @"Sony Pictures is planning to shoot a good portion of the new ""Ghostbusters"" in Boston as well.";
3535
//The results of the API call will come back in the form of a Dictionary
3636
RosetteResponse response = CategoriesCAPI.Categories(categories_text_data, null, null, null);
3737
Console.WriteLine(response.ContentAsJson);
3838

3939
//Rosette API also supports Dictionary inputs
4040
//Simply instantiate a new dictionary object with the fields options as keys and inputs as values
41-
string categories_url_data = @"http://www.onlocationvacations.com/2015/03/05/the-new-ghostbusters-movie-begins-filming-in-boston-in-june/";
41+
string categories_url_data = @"http://www.onlocationvacations.com/2015/03/05/the-new-ghostbusters-movie-begins-filming-in-boston-in-june/";
4242
response = CategoriesCAPI.Categories(new Dictionary<object, object>()
4343
{
4444
{"contentUri", categories_url_data}

rosette_apiExamples/morphology_compound-components.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static void Main(string[] args)
3131
try
3232
{
3333
CAPI MorphologyCAPI = string.IsNullOrEmpty(alturl) ? new CAPI(apikey) : new CAPI(apikey, alturl);
34-
string morphology_compound_components_data = @"Rechtsschutzversicherungsgesellschaften";
34+
string morphology_compound_components_data = @"Rechtsschutzversicherungsgesellschaften";
3535
//The results of the API call will come back in the form of a Dictionary
3636
RosetteResponse response = MorphologyCAPI.Morphology(morphology_compound_components_data, null, null, null, MorphologyFeature.compoundComponents);
3737
foreach (KeyValuePair<string, string> h in response.Headers) {

rosette_apiExamples/morphology_han-readings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static void Main(string[] args)
3131
try
3232
{
3333
CAPI MorphologyCAPI = string.IsNullOrEmpty(alturl) ? new CAPI(apikey) : new CAPI(apikey, alturl);
34-
string morphology_han_readings_data = @"北京大学生物系主任办公室内部会议";
34+
string morphology_han_readings_data = @"北京大学生物系主任办公室内部会议";
3535
//The results of the API call will come back in the form of a Dictionary
3636
RosetteResponse response = MorphologyCAPI.Morphology(morphology_han_readings_data, null, null, null, MorphologyFeature.hanReadings);
3737
foreach (KeyValuePair<string, string> h in response.Headers) {

rosette_apiExamples/morphology_lemmas.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static void Main(string[] args)
3131
try
3232
{
3333
CAPI MorphologyCAPI = string.IsNullOrEmpty(alturl) ? new CAPI(apikey) : new CAPI(apikey, alturl);
34-
string morphology_lemmas_data = @"The fact is that the geese just went back to get a rest and I'm not banking on their return soon";
34+
string morphology_lemmas_data = @"The fact is that the geese just went back to get a rest and I'm not banking on their return soon";
3535
//The results of the API call will come back in the form of a Dictionary
3636
RosetteResponse response = MorphologyCAPI.Morphology(morphology_lemmas_data, null, null, null, MorphologyFeature.lemmas);
3737
foreach (KeyValuePair<string, string> h in response.Headers) {

rosette_apiExamples/morphology_parts-of-speech.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static void Main(string[] args)
3131
try
3232
{
3333
CAPI MorphologyCAPI = string.IsNullOrEmpty(alturl) ? new CAPI(apikey) : new CAPI(apikey, alturl);
34-
string morphology_parts_of_speech_data = @"The fact is that the geese just went back to get a rest and I'm not banking on their return soon";
34+
string morphology_parts_of_speech_data = @"The fact is that the geese just went back to get a rest and I'm not banking on their return soon";
3535
//The results of the API call will come back in the form of a Dictionary
3636
RosetteResponse response = MorphologyCAPI.Morphology(morphology_parts_of_speech_data, null, null, null, MorphologyFeature.partsOfSpeech);
3737
foreach (KeyValuePair<string, string> h in response.Headers) {

rosette_apiExamples/sentiment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static void Main(string[] args)
3535
CAPI SentimentCAPI = string.IsNullOrEmpty(alturl) ? new CAPI(apikey) : new CAPI(apikey, alturl);
3636
var newFile = Path.GetTempFileName();
3737
StreamWriter sw = new StreamWriter(newFile);
38-
string sentiment_file_data = @"<html><head><title>New Ghostbusters Film</title></head><body><p>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.”</p></body></html>";
38+
string sentiment_file_data = @"<html><head><title>New Ghostbusters Film</title></head><body><p>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.”</p></body></html>";
3939
sw.WriteLine(sentiment_file_data);
4040
sw.Flush();
4141
sw.Close();

rosette_apiExamples/tokens.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static void Main(string[] args)
3131
try
3232
{
3333
CAPI TokensCAPI = string.IsNullOrEmpty(alturl) ? new CAPI(apikey) : new CAPI(apikey, alturl);
34-
string tokens_data = @"北京大学生物系主任办公室内部会议";
34+
string tokens_data = @"北京大学生物系主任办公室内部会议";
3535
//The results of the API call will come back in the form of a Dictionary
3636
RosetteResponse response = TokensCAPI.Tokens(tokens_data, null, "sentence", null);
3737
foreach (KeyValuePair<string, string> h in response.Headers) {

0 commit comments

Comments
 (0)