oci-ailanguage 2.9.1 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/lib/client.d.ts +52 -7
- package/lib/client.js +284 -7
- package/lib/client.js.map +1 -1
- package/lib/model/batch-detect-dominant-language-details.d.ts +29 -0
- package/lib/model/batch-detect-dominant-language-details.js +64 -0
- package/lib/model/batch-detect-dominant-language-details.js.map +1 -0
- package/lib/model/batch-detect-dominant-language-result.d.ts +33 -0
- package/lib/model/batch-detect-dominant-language-result.js +74 -0
- package/lib/model/batch-detect-dominant-language-result.js.map +1 -0
- package/lib/model/batch-detect-language-entities-details.d.ts +29 -0
- package/lib/model/batch-detect-language-entities-details.js +64 -0
- package/lib/model/batch-detect-language-entities-details.js.map +1 -0
- package/lib/model/batch-detect-language-entities-result.d.ts +33 -0
- package/lib/model/batch-detect-language-entities-result.js +74 -0
- package/lib/model/batch-detect-language-entities-result.js.map +1 -0
- package/lib/model/batch-detect-language-key-phrases-details.d.ts +29 -0
- package/lib/model/batch-detect-language-key-phrases-details.js +64 -0
- package/lib/model/batch-detect-language-key-phrases-details.js.map +1 -0
- package/lib/model/batch-detect-language-key-phrases-result.d.ts +33 -0
- package/lib/model/batch-detect-language-key-phrases-result.js +74 -0
- package/lib/model/batch-detect-language-key-phrases-result.js.map +1 -0
- package/lib/model/batch-detect-language-sentiments-details.d.ts +29 -0
- package/lib/model/batch-detect-language-sentiments-details.js +64 -0
- package/lib/model/batch-detect-language-sentiments-details.js.map +1 -0
- package/lib/model/batch-detect-language-sentiments-result.d.ts +33 -0
- package/lib/model/batch-detect-language-sentiments-result.js +74 -0
- package/lib/model/batch-detect-language-sentiments-result.js.map +1 -0
- package/lib/model/batch-detect-language-text-classification-details.d.ts +29 -0
- package/lib/model/batch-detect-language-text-classification-details.js +64 -0
- package/lib/model/batch-detect-language-text-classification-details.js.map +1 -0
- package/lib/model/batch-detect-language-text-classification-result.d.ts +33 -0
- package/lib/model/batch-detect-language-text-classification-result.js +74 -0
- package/lib/model/batch-detect-language-text-classification-result.js.map +1 -0
- package/lib/model/detect-dominant-language-details.d.ts +2 -2
- package/lib/model/detect-dominant-language-details.js +2 -2
- package/lib/model/detect-dominant-language-result.d.ts +3 -6
- package/lib/model/detect-dominant-language-result.js +2 -2
- package/lib/model/detect-dominant-language-result.js.map +1 -1
- package/lib/model/detect-language-entities-details.d.ts +2 -2
- package/lib/model/detect-language-entities-details.js +2 -2
- package/lib/model/detect-language-entities-result.d.ts +3 -3
- package/lib/model/detect-language-entities-result.js +2 -2
- package/lib/model/detect-language-key-phrases-details.d.ts +2 -2
- package/lib/model/detect-language-key-phrases-details.js +2 -2
- package/lib/model/detect-language-key-phrases-result.d.ts +3 -3
- package/lib/model/detect-language-key-phrases-result.js +2 -2
- package/lib/model/detect-language-sentiments-details.d.ts +2 -2
- package/lib/model/detect-language-sentiments-details.js +2 -2
- package/lib/model/detect-language-sentiments-result.d.ts +3 -3
- package/lib/model/detect-language-sentiments-result.js +2 -2
- package/lib/model/detect-language-text-classification-details.d.ts +3 -3
- package/lib/model/detect-language-text-classification-details.js +2 -2
- package/lib/model/detect-language-text-classification-result.d.ts +4 -4
- package/lib/model/detect-language-text-classification-result.js +2 -2
- package/lib/model/detected-language.d.ts +10 -6
- package/lib/model/detected-language.js +2 -2
- package/lib/model/detected-language.js.map +1 -1
- package/lib/model/document-error.d.ts +30 -0
- package/lib/model/document-error.js +56 -0
- package/lib/model/document-error.js.map +1 -0
- package/lib/model/dominant-language-document-result.d.ts +34 -0
- package/lib/model/dominant-language-document-result.js +64 -0
- package/lib/model/dominant-language-document-result.js.map +1 -0
- package/lib/model/dominant-language-document.d.ts +32 -0
- package/lib/model/dominant-language-document.js +32 -0
- package/lib/model/dominant-language-document.js.map +1 -0
- package/lib/model/entity-document-result.d.ts +37 -0
- package/lib/model/entity-document-result.js +64 -0
- package/lib/model/entity-document-result.js.map +1 -0
- package/lib/model/entity-document.d.ts +36 -0
- package/lib/model/entity-document.js +32 -0
- package/lib/model/entity-document.js.map +1 -0
- package/lib/model/entity.d.ts +6 -4
- package/lib/model/entity.js +2 -2
- package/lib/model/entity.js.map +1 -1
- package/lib/model/error-details.d.ts +32 -0
- package/lib/model/error-details.js +32 -0
- package/lib/model/error-details.js.map +1 -0
- package/lib/model/hierarchical-entity.d.ts +48 -0
- package/lib/model/hierarchical-entity.js +32 -0
- package/lib/model/hierarchical-entity.js.map +1 -0
- package/lib/model/index.d.ts +50 -2
- package/lib/model/index.js +51 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/key-phrase-document-result.d.ts +37 -0
- package/lib/model/key-phrase-document-result.js +64 -0
- package/lib/model/key-phrase-document-result.js.map +1 -0
- package/lib/model/key-phrase-document.d.ts +36 -0
- package/lib/model/key-phrase-document.js +32 -0
- package/lib/model/key-phrase-document.js.map +1 -0
- package/lib/model/key-phrase.d.ts +7 -5
- package/lib/model/key-phrase.js +2 -2
- package/lib/model/key-phrase.js.map +1 -1
- package/lib/model/ner-model-version.d.ts +2 -2
- package/lib/model/ner-model-version.js +2 -2
- package/lib/model/sentiment-aspect.d.ts +6 -6
- package/lib/model/sentiment-aspect.js +2 -2
- package/lib/model/sentiment-document-result.d.ts +53 -0
- package/lib/model/sentiment-document-result.js +74 -0
- package/lib/model/sentiment-document-result.js.map +1 -0
- package/lib/model/sentiment-sentence.d.ts +48 -0
- package/lib/model/sentiment-sentence.js +32 -0
- package/lib/model/sentiment-sentence.js.map +1 -0
- package/lib/model/sentiments-document.d.ts +36 -0
- package/lib/model/sentiments-document.js +32 -0
- package/lib/model/sentiments-document.js.map +1 -0
- package/lib/model/text-classification-document-result.d.ts +37 -0
- package/lib/model/text-classification-document-result.js +64 -0
- package/lib/model/text-classification-document-result.js.map +1 -0
- package/lib/model/text-classification-document.d.ts +36 -0
- package/lib/model/text-classification-document.js +32 -0
- package/lib/model/text-classification-document.js.map +1 -0
- package/lib/model/text-classification.d.ts +5 -3
- package/lib/model/text-classification.js +2 -2
- package/lib/model/text-classification.js.map +1 -1
- package/lib/request/batch-detect-dominant-language-request.d.ts +28 -0
- package/lib/request/batch-detect-dominant-language-request.js +15 -0
- package/lib/request/batch-detect-dominant-language-request.js.map +1 -0
- package/lib/request/batch-detect-language-entities-request.d.ts +28 -0
- package/lib/request/batch-detect-language-entities-request.js +15 -0
- package/lib/request/batch-detect-language-entities-request.js.map +1 -0
- package/lib/request/batch-detect-language-key-phrases-request.d.ts +28 -0
- package/lib/request/batch-detect-language-key-phrases-request.js +15 -0
- package/lib/request/batch-detect-language-key-phrases-request.js.map +1 -0
- package/lib/request/batch-detect-language-sentiments-request.d.ts +42 -0
- package/lib/request/batch-detect-language-sentiments-request.js +24 -0
- package/lib/request/batch-detect-language-sentiments-request.js.map +1 -0
- package/lib/request/batch-detect-language-text-classification-request.d.ts +28 -0
- package/lib/request/batch-detect-language-text-classification-request.js +15 -0
- package/lib/request/batch-detect-language-text-classification-request.js.map +1 -0
- package/lib/request/detect-dominant-language-request.d.ts +1 -3
- package/lib/request/detect-language-entities-request.d.ts +1 -3
- package/lib/request/detect-language-key-phrases-request.d.ts +1 -3
- package/lib/request/detect-language-sentiments-request.d.ts +1 -3
- package/lib/request/detect-language-text-classification-request.d.ts +1 -2
- package/lib/request/index.d.ts +12 -2
- package/lib/request/index.js +24 -2
- package/lib/request/index.js.map +1 -1
- package/lib/response/batch-detect-dominant-language-response.d.ts +25 -0
- package/lib/response/batch-detect-dominant-language-response.js +15 -0
- package/lib/response/batch-detect-dominant-language-response.js.map +1 -0
- package/lib/response/batch-detect-language-entities-response.d.ts +25 -0
- package/lib/response/batch-detect-language-entities-response.js +15 -0
- package/lib/response/batch-detect-language-entities-response.js.map +1 -0
- package/lib/response/batch-detect-language-key-phrases-response.d.ts +25 -0
- package/lib/response/batch-detect-language-key-phrases-response.js +15 -0
- package/lib/response/batch-detect-language-key-phrases-response.js.map +1 -0
- package/lib/response/batch-detect-language-sentiments-response.d.ts +25 -0
- package/lib/response/batch-detect-language-sentiments-response.js +15 -0
- package/lib/response/batch-detect-language-sentiments-response.js.map +1 -0
- package/lib/response/batch-detect-language-text-classification-response.d.ts +25 -0
- package/lib/response/batch-detect-language-text-classification-response.js +15 -0
- package/lib/response/batch-detect-language-text-classification-response.js.map +1 -0
- package/lib/response/index.d.ts +12 -2
- package/lib/response/index.js +2 -2
- package/package.json +3 -3
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
|
+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
|
+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20210101
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Result of sentiments detect call.
|
|
19
|
+
*/
|
|
20
|
+
export interface BatchDetectLanguageSentimentsResult {
|
|
21
|
+
/**
|
|
22
|
+
* List of succeeded document response.
|
|
23
|
+
*/
|
|
24
|
+
"documents": Array<model.SentimentDocumentResult>;
|
|
25
|
+
/**
|
|
26
|
+
* List of failed document response.
|
|
27
|
+
*/
|
|
28
|
+
"errors"?: Array<model.DocumentError>;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace BatchDetectLanguageSentimentsResult {
|
|
31
|
+
function getJsonObj(obj: BatchDetectLanguageSentimentsResult): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: BatchDetectLanguageSentimentsResult): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
|
+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
|
+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20210101
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BatchDetectLanguageSentimentsResult = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var BatchDetectLanguageSentimentsResult;
|
|
40
|
+
(function (BatchDetectLanguageSentimentsResult) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"documents": obj.documents
|
|
44
|
+
? obj.documents.map(item => {
|
|
45
|
+
return model.SentimentDocumentResult.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined,
|
|
48
|
+
"errors": obj.errors
|
|
49
|
+
? obj.errors.map(item => {
|
|
50
|
+
return model.DocumentError.getJsonObj(item);
|
|
51
|
+
})
|
|
52
|
+
: undefined
|
|
53
|
+
});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
BatchDetectLanguageSentimentsResult.getJsonObj = getJsonObj;
|
|
57
|
+
function getDeserializedJsonObj(obj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
59
|
+
"documents": obj.documents
|
|
60
|
+
? obj.documents.map(item => {
|
|
61
|
+
return model.SentimentDocumentResult.getDeserializedJsonObj(item);
|
|
62
|
+
})
|
|
63
|
+
: undefined,
|
|
64
|
+
"errors": obj.errors
|
|
65
|
+
? obj.errors.map(item => {
|
|
66
|
+
return model.DocumentError.getDeserializedJsonObj(item);
|
|
67
|
+
})
|
|
68
|
+
: undefined
|
|
69
|
+
});
|
|
70
|
+
return jsonObj;
|
|
71
|
+
}
|
|
72
|
+
BatchDetectLanguageSentimentsResult.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
73
|
+
})(BatchDetectLanguageSentimentsResult = exports.BatchDetectLanguageSentimentsResult || (exports.BatchDetectLanguageSentimentsResult = {}));
|
|
74
|
+
//# sourceMappingURL=batch-detect-language-sentiments-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch-detect-language-sentiments-result.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/batch-detect-language-sentiments-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,mCAAmC,CAuCnD;AAvCD,WAAiB,mCAAmC;IAClD,SAAgB,UAAU,CAAC,GAAwC;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC9C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,8CAAU,aAkBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwC;QAC7E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACpE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,0DAAsB,yBAkBrC,CAAA;AACH,CAAC,EAvCgB,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAuCnD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
|
+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
|
+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20210101
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* The documents details for text classification call.
|
|
19
|
+
*/
|
|
20
|
+
export interface BatchDetectLanguageTextClassificationDetails {
|
|
21
|
+
/**
|
|
22
|
+
* List of Documents for detect text classification.
|
|
23
|
+
*/
|
|
24
|
+
"documents": Array<model.TextClassificationDocument>;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace BatchDetectLanguageTextClassificationDetails {
|
|
27
|
+
function getJsonObj(obj: BatchDetectLanguageTextClassificationDetails): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: BatchDetectLanguageTextClassificationDetails): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
|
+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
|
+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20210101
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BatchDetectLanguageTextClassificationDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var BatchDetectLanguageTextClassificationDetails;
|
|
40
|
+
(function (BatchDetectLanguageTextClassificationDetails) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"documents": obj.documents
|
|
44
|
+
? obj.documents.map(item => {
|
|
45
|
+
return model.TextClassificationDocument.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
BatchDetectLanguageTextClassificationDetails.getJsonObj = getJsonObj;
|
|
52
|
+
function getDeserializedJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"documents": obj.documents
|
|
55
|
+
? obj.documents.map(item => {
|
|
56
|
+
return model.TextClassificationDocument.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
BatchDetectLanguageTextClassificationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(BatchDetectLanguageTextClassificationDetails = exports.BatchDetectLanguageTextClassificationDetails || (exports.BatchDetectLanguageTextClassificationDetails = {}));
|
|
64
|
+
//# sourceMappingURL=batch-detect-language-text-classification-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch-detect-language-text-classification-details.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/batch-detect-language-text-classification-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,4CAA4C,CA+B5D;AA/BD,WAAiB,4CAA4C;IAC3D,SAAgB,UAAU,CAAC,GAAiD;QAC1E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uDAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAiD;QAEjD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,mEAAsB,yBAerC,CAAA;AACH,CAAC,EA/BgB,4CAA4C,GAA5C,oDAA4C,KAA5C,oDAA4C,QA+B5D"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
|
+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
|
+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20210101
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Result of text classification detect call.
|
|
19
|
+
*/
|
|
20
|
+
export interface BatchDetectLanguageTextClassificationResult {
|
|
21
|
+
/**
|
|
22
|
+
* List of succeeded document response.
|
|
23
|
+
*/
|
|
24
|
+
"documents": Array<model.TextClassificationDocumentResult>;
|
|
25
|
+
/**
|
|
26
|
+
* List of failed document response.
|
|
27
|
+
*/
|
|
28
|
+
"errors"?: Array<model.DocumentError>;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace BatchDetectLanguageTextClassificationResult {
|
|
31
|
+
function getJsonObj(obj: BatchDetectLanguageTextClassificationResult): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: BatchDetectLanguageTextClassificationResult): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
|
+
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
|
+
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20210101
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BatchDetectLanguageTextClassificationResult = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var BatchDetectLanguageTextClassificationResult;
|
|
40
|
+
(function (BatchDetectLanguageTextClassificationResult) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"documents": obj.documents
|
|
44
|
+
? obj.documents.map(item => {
|
|
45
|
+
return model.TextClassificationDocumentResult.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined,
|
|
48
|
+
"errors": obj.errors
|
|
49
|
+
? obj.errors.map(item => {
|
|
50
|
+
return model.DocumentError.getJsonObj(item);
|
|
51
|
+
})
|
|
52
|
+
: undefined
|
|
53
|
+
});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
BatchDetectLanguageTextClassificationResult.getJsonObj = getJsonObj;
|
|
57
|
+
function getDeserializedJsonObj(obj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
59
|
+
"documents": obj.documents
|
|
60
|
+
? obj.documents.map(item => {
|
|
61
|
+
return model.TextClassificationDocumentResult.getDeserializedJsonObj(item);
|
|
62
|
+
})
|
|
63
|
+
: undefined,
|
|
64
|
+
"errors": obj.errors
|
|
65
|
+
? obj.errors.map(item => {
|
|
66
|
+
return model.DocumentError.getDeserializedJsonObj(item);
|
|
67
|
+
})
|
|
68
|
+
: undefined
|
|
69
|
+
});
|
|
70
|
+
return jsonObj;
|
|
71
|
+
}
|
|
72
|
+
BatchDetectLanguageTextClassificationResult.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
73
|
+
})(BatchDetectLanguageTextClassificationResult = exports.BatchDetectLanguageTextClassificationResult || (exports.BatchDetectLanguageTextClassificationResult = {}));
|
|
74
|
+
//# sourceMappingURL=batch-detect-language-text-classification-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch-detect-language-text-classification-result.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/batch-detect-language-text-classification-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,2CAA2C,CAuC3D;AAvCD,WAAiB,2CAA2C;IAC1D,SAAgB,UAAU,CAAC,GAAgD;QACzE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC9C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,sDAAU,aAkBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgD;QACrF,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,kEAAsB,yBAkBrC,CAAA;AACH,CAAC,EAvCgB,2CAA2C,GAA3C,mDAA2C,KAA3C,mDAA2C,QAuC3D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* OCI
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
4
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
5
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* OCI
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
5
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
6
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* OCI
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
4
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
5
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
6
|
|
|
@@ -19,10 +19,7 @@ import * as model from "../model";
|
|
|
19
19
|
*/
|
|
20
20
|
export interface DetectDominantLanguageResult {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
|
-
* languages: [{\"name\": \"Bosnian\",\"code\": \"bs\",\"score\": 0.6942308391868572},
|
|
24
|
-
* {\"name\": \"Croatian\",\"code\": \"hr\",\"score\": 0.15768701487872652},
|
|
25
|
-
* {\"name\": \"Serbo-Croatian\",\"code\": \"sh\",\"score\": 0.1480651612334694}]
|
|
22
|
+
* List of detected languages with results sorted in descending order of the scores. Most likely language is on top.
|
|
26
23
|
*
|
|
27
24
|
*/
|
|
28
25
|
"languages": Array<model.DetectedLanguage>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* OCI
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
5
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
6
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
7
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-dominant-language-result.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/detect-dominant-language-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"detect-dominant-language-result.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/detect-dominant-language-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* OCI
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
4
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
5
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* OCI
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
5
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
6
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* OCI
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
4
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
5
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ import * as model from "../model";
|
|
|
19
19
|
*/
|
|
20
20
|
export interface DetectLanguageEntitiesResult {
|
|
21
21
|
/**
|
|
22
|
-
* List of entities.
|
|
22
|
+
* List of detected entities.
|
|
23
23
|
*/
|
|
24
24
|
"entities": Array<model.Entity>;
|
|
25
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* OCI
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
5
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
6
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* OCI
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
4
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
5
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* OCI
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
5
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
6
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* OCI
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
4
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
5
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ import * as model from "../model";
|
|
|
19
19
|
*/
|
|
20
20
|
export interface DetectLanguageKeyPhrasesResult {
|
|
21
21
|
/**
|
|
22
|
-
* List of keyPhrases.
|
|
22
|
+
* List of detected keyPhrases.
|
|
23
23
|
*/
|
|
24
24
|
"keyPhrases": Array<model.KeyPhrase>;
|
|
25
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* OCI
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
5
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
6
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* OCI
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
4
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
5
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* OCI
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
5
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
6
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* OCI
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
4
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
5
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ import * as model from "../model";
|
|
|
19
19
|
*/
|
|
20
20
|
export interface DetectLanguageSentimentsResult {
|
|
21
21
|
/**
|
|
22
|
-
* List of aspects.
|
|
22
|
+
* List of detected aspects.
|
|
23
23
|
*/
|
|
24
24
|
"aspects": Array<model.SentimentAspect>;
|
|
25
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* OCI
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
5
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
6
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* OCI
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
4
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
5
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
*/
|
|
19
19
|
export interface DetectLanguageTextClassificationDetails {
|
|
20
20
|
/**
|
|
21
|
-
* Document text for detect text
|
|
21
|
+
* Document text for detect text classes.
|
|
22
22
|
*/
|
|
23
23
|
"text": string;
|
|
24
24
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* OCI
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
5
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
6
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* OCI
|
|
2
|
+
* Language API
|
|
3
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
4
4
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
5
5
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
6
6
|
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import * as model from "../model";
|
|
17
17
|
/**
|
|
18
|
-
* Result of text
|
|
18
|
+
* Result of text classification detect call.
|
|
19
19
|
*/
|
|
20
20
|
export interface DetectLanguageTextClassificationResult {
|
|
21
21
|
/**
|
|
22
|
-
* List of
|
|
22
|
+
* List of detected text classes.
|
|
23
23
|
*/
|
|
24
24
|
"textClassification": Array<model.TextClassification>;
|
|
25
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* OCI
|
|
3
|
+
* Language API
|
|
4
|
+
* OCI Language Service solutions can help enterprise customers integrate AI into their products immediately using our proven,
|
|
5
5
|
pre-trained and custom models or containers, without a need to set up an house team of AI and ML experts.
|
|
6
6
|
This allows enterprises to focus on business drivers and development work rather than AI and ML operations, which shortens the time to market.
|
|
7
7
|
|