File tree 3 files changed +9
-35
lines changed
Scripts/Services/NaturalLanguageUnderstanding/V1/Model
3 files changed +9
-35
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * (C) Copyright IBM Corp. 2021 .
2
+ * (C) Copyright IBM Corp. 2022 .
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -21,15 +21,17 @@ namespace IBM.Watson.NaturalLanguageUnderstanding.V1.Model
21
21
{
22
22
/// <summary>
23
23
/// Returns text classifications for the content.
24
- ///
25
- /// Supported languages: English only.
26
24
/// </summary>
27
25
public class ClassificationsOptions
28
26
{
29
27
/// <summary>
30
28
/// Enter a [custom
31
29
/// model](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-customizing)
32
- /// ID of the classification model to be used.
30
+ /// ID of the classifications model to be used.
31
+ ///
32
+ /// You can analyze tone by using a language-specific model ID. See [Tone analytics
33
+ /// (Classifications)](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-tone_analytics)
34
+ /// for more information.
33
35
/// </summary>
34
36
[ JsonProperty ( "model" , NullValueHandling = NullValueHandling . Ignore ) ]
35
37
public string Model { get ; set ; }
Original file line number Diff line number Diff line change 1
1
/**
2
- * (C) Copyright IBM Corp. 2019, 2021 .
2
+ * (C) Copyright IBM Corp. 2022 .
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
15
15
*
16
16
*/
17
17
18
+ using System . Collections . Generic ;
18
19
using Newtonsoft . Json ;
19
20
20
21
namespace IBM . Watson . NaturalLanguageUnderstanding . V1 . Model
@@ -26,8 +27,6 @@ public class Features
26
27
{
27
28
/// <summary>
28
29
/// Returns text classifications for the content.
29
- ///
30
- /// Supported languages: English only.
31
30
/// </summary>
32
31
[ JsonProperty ( "classifications" , NullValueHandling = NullValueHandling . Ignore ) ]
33
32
public ClassificationsOptions Classifications { get ; set ; }
@@ -71,7 +70,7 @@ public class Features
71
70
/// and publication date. Supports URL and HTML input types only.
72
71
/// </summary>
73
72
[ JsonProperty ( "metadata" , NullValueHandling = NullValueHandling . Ignore ) ]
74
- public object Metadata { get ; set ; }
73
+ public Dictionary < string , object > Metadata { get ; set ; }
75
74
/// <summary>
76
75
/// Recognizes when two entities are related and identifies the type of relation. For example, an `awardedTo`
77
76
/// relation might connect the entities "Nobel Prize" and "Albert Einstein". For more information, see [Relation
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments