oci-ailanguage 2.7.0 → 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 +53 -8
- package/lib/client.js +286 -9
- 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,53 @@
|
|
|
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 document response for sentiment detect call.
|
|
19
|
+
*/
|
|
20
|
+
export interface SentimentDocumentResult {
|
|
21
|
+
/**
|
|
22
|
+
* Document Unique Identifier.
|
|
23
|
+
*/
|
|
24
|
+
"key": string;
|
|
25
|
+
/**
|
|
26
|
+
* Document level sentiment.
|
|
27
|
+
*/
|
|
28
|
+
"documentSentiment"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Scores for each sentiment.
|
|
31
|
+
* Example: {\"positive\": 1.0, \"negative\": 0.0}
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"documentScores"?: {
|
|
35
|
+
[key: string]: number;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* List of detected aspects sentiment.
|
|
39
|
+
*/
|
|
40
|
+
"aspects": Array<model.SentimentAspect>;
|
|
41
|
+
/**
|
|
42
|
+
* List of detected sentences sentiment.
|
|
43
|
+
*/
|
|
44
|
+
"sentences"?: Array<model.SentimentSentence>;
|
|
45
|
+
/**
|
|
46
|
+
* Language code as per [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) standard.
|
|
47
|
+
*/
|
|
48
|
+
"languageCode": string;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace SentimentDocumentResult {
|
|
51
|
+
function getJsonObj(obj: SentimentDocumentResult): object;
|
|
52
|
+
function getDeserializedJsonObj(obj: SentimentDocumentResult): object;
|
|
53
|
+
}
|
|
@@ -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.SentimentDocumentResult = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var SentimentDocumentResult;
|
|
40
|
+
(function (SentimentDocumentResult) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"aspects": obj.aspects
|
|
44
|
+
? obj.aspects.map(item => {
|
|
45
|
+
return model.SentimentAspect.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined,
|
|
48
|
+
"sentences": obj.sentences
|
|
49
|
+
? obj.sentences.map(item => {
|
|
50
|
+
return model.SentimentSentence.getJsonObj(item);
|
|
51
|
+
})
|
|
52
|
+
: undefined
|
|
53
|
+
});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
SentimentDocumentResult.getJsonObj = getJsonObj;
|
|
57
|
+
function getDeserializedJsonObj(obj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
59
|
+
"aspects": obj.aspects
|
|
60
|
+
? obj.aspects.map(item => {
|
|
61
|
+
return model.SentimentAspect.getDeserializedJsonObj(item);
|
|
62
|
+
})
|
|
63
|
+
: undefined,
|
|
64
|
+
"sentences": obj.sentences
|
|
65
|
+
? obj.sentences.map(item => {
|
|
66
|
+
return model.SentimentSentence.getDeserializedJsonObj(item);
|
|
67
|
+
})
|
|
68
|
+
: undefined
|
|
69
|
+
});
|
|
70
|
+
return jsonObj;
|
|
71
|
+
}
|
|
72
|
+
SentimentDocumentResult.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
73
|
+
})(SentimentDocumentResult = exports.SentimentDocumentResult || (exports.SentimentDocumentResult = {}));
|
|
74
|
+
//# sourceMappingURL=sentiment-document-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sentiment-document-result.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/sentiment-document-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmClC,IAAiB,uBAAuB,CAuCvC;AAvCD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,kCAAU,aAkBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,8CAAsB,yBAkBrC,CAAA;AACH,CAAC,EAvCgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAuCvC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
/**
|
|
17
|
+
* Sentiment sentence object.
|
|
18
|
+
*/
|
|
19
|
+
export interface SentimentSentence {
|
|
20
|
+
/**
|
|
21
|
+
* The number of Unicode code points preceding this entity in the submitted text. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
22
|
+
*/
|
|
23
|
+
"offset"?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Length of sentence text. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
26
|
+
*/
|
|
27
|
+
"length"?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Sentence text.
|
|
30
|
+
*/
|
|
31
|
+
"text"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The highest-score sentiment for the sentence text.
|
|
34
|
+
*/
|
|
35
|
+
"sentiment"?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Scores or confidences for each sentiment.
|
|
38
|
+
* Example: `{\"positive\": 1.0, \"negative\": 0.0}`
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"scores"?: {
|
|
42
|
+
[key: string]: number;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export declare namespace SentimentSentence {
|
|
46
|
+
function getJsonObj(obj: SentimentSentence): object;
|
|
47
|
+
function getDeserializedJsonObj(obj: SentimentSentence): object;
|
|
48
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SentimentSentence = void 0;
|
|
19
|
+
var SentimentSentence;
|
|
20
|
+
(function (SentimentSentence) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
SentimentSentence.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
SentimentSentence.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(SentimentSentence = exports.SentimentSentence || (exports.SentimentSentence = {}));
|
|
32
|
+
//# sourceMappingURL=sentiment-sentence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sentiment-sentence.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/sentiment-sentence.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAiCH,IAAiB,iBAAiB,CAWjC;AAXD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAWjC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
/**
|
|
17
|
+
* The document details for sentiments detect call.
|
|
18
|
+
*/
|
|
19
|
+
export interface SentimentsDocument {
|
|
20
|
+
/**
|
|
21
|
+
* Document Unique Identifier.
|
|
22
|
+
*/
|
|
23
|
+
"key": string;
|
|
24
|
+
/**
|
|
25
|
+
* Document text for detect sentiments.
|
|
26
|
+
*/
|
|
27
|
+
"text": string;
|
|
28
|
+
/**
|
|
29
|
+
* Language code as per [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) standard.
|
|
30
|
+
*/
|
|
31
|
+
"languageCode"?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace SentimentsDocument {
|
|
34
|
+
function getJsonObj(obj: SentimentsDocument): object;
|
|
35
|
+
function getDeserializedJsonObj(obj: SentimentsDocument): object;
|
|
36
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SentimentsDocument = void 0;
|
|
19
|
+
var SentimentsDocument;
|
|
20
|
+
(function (SentimentsDocument) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
SentimentsDocument.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
SentimentsDocument.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(SentimentsDocument = exports.SentimentsDocument || (exports.SentimentsDocument = {}));
|
|
32
|
+
//# sourceMappingURL=sentiments-document.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sentiments-document.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/sentiments-document.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAuBH,IAAiB,kBAAkB,CAWlC;AAXD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAWlC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 document response for test classification detect call.
|
|
19
|
+
*/
|
|
20
|
+
export interface TextClassificationDocumentResult {
|
|
21
|
+
/**
|
|
22
|
+
* Document Unique Identifier.
|
|
23
|
+
*/
|
|
24
|
+
"key": string;
|
|
25
|
+
/**
|
|
26
|
+
* List of detected text classes.
|
|
27
|
+
*/
|
|
28
|
+
"textClassification": Array<model.TextClassification>;
|
|
29
|
+
/**
|
|
30
|
+
* Language code as per [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) standard.
|
|
31
|
+
*/
|
|
32
|
+
"languageCode": string;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace TextClassificationDocumentResult {
|
|
35
|
+
function getJsonObj(obj: TextClassificationDocumentResult): object;
|
|
36
|
+
function getDeserializedJsonObj(obj: TextClassificationDocumentResult): object;
|
|
37
|
+
}
|
|
@@ -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.TextClassificationDocumentResult = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var TextClassificationDocumentResult;
|
|
40
|
+
(function (TextClassificationDocumentResult) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"textClassification": obj.textClassification
|
|
44
|
+
? obj.textClassification.map(item => {
|
|
45
|
+
return model.TextClassification.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
TextClassificationDocumentResult.getJsonObj = getJsonObj;
|
|
52
|
+
function getDeserializedJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"textClassification": obj.textClassification
|
|
55
|
+
? obj.textClassification.map(item => {
|
|
56
|
+
return model.TextClassification.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
TextClassificationDocumentResult.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(TextClassificationDocumentResult = exports.TextClassificationDocumentResult || (exports.TextClassificationDocumentResult = {}));
|
|
64
|
+
//# sourceMappingURL=text-classification-document-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-classification-document-result.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/text-classification-document-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqBlC,IAAiB,gCAAgC,CA6BhD;AA7BD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CAAC,GAAqC;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2CAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqC;QAC1E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QA6BhD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
/**
|
|
17
|
+
* The document details for test classification detect call.
|
|
18
|
+
*/
|
|
19
|
+
export interface TextClassificationDocument {
|
|
20
|
+
/**
|
|
21
|
+
* Document Unique Identifier.
|
|
22
|
+
*/
|
|
23
|
+
"key": string;
|
|
24
|
+
/**
|
|
25
|
+
* Document text for detect text classification.
|
|
26
|
+
*/
|
|
27
|
+
"text": string;
|
|
28
|
+
/**
|
|
29
|
+
* Language code as per [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) standard.
|
|
30
|
+
*/
|
|
31
|
+
"languageCode"?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace TextClassificationDocument {
|
|
34
|
+
function getJsonObj(obj: TextClassificationDocument): object;
|
|
35
|
+
function getDeserializedJsonObj(obj: TextClassificationDocument): object;
|
|
36
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.TextClassificationDocument = void 0;
|
|
19
|
+
var TextClassificationDocument;
|
|
20
|
+
(function (TextClassificationDocument) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
TextClassificationDocument.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
TextClassificationDocument.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(TextClassificationDocument = exports.TextClassificationDocument || (exports.TextClassificationDocument = {}));
|
|
32
|
+
//# sourceMappingURL=text-classification-document.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-classification-document.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/text-classification-document.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAuBH,IAAiB,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAW1C"}
|
|
@@ -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
|
|
|
@@ -22,7 +22,9 @@ export interface TextClassification {
|
|
|
22
22
|
*/
|
|
23
23
|
"label": string;
|
|
24
24
|
/**
|
|
25
|
-
* Score of
|
|
25
|
+
* Score or confidence of extracted text label.
|
|
26
|
+
* Example: `0.9999856066867399`
|
|
27
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
26
28
|
*/
|
|
27
29
|
"score": number;
|
|
28
30
|
}
|
|
@@ -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":"text-classification.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/text-classification.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;
|
|
1
|
+
{"version":3,"file":"text-classification.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/model/text-classification.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAqBH,IAAiB,kBAAkB,CAWlC;AAXD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAWlC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210101
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ailanguage/BatchDetectDominantLanguage.ts.html |here} to see how to use BatchDetectDominantLanguageRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface BatchDetectDominantLanguageRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The details to make a language detection detect call.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"batchDetectDominantLanguageDetails": model.BatchDetectDominantLanguageDetails;
|
|
24
|
+
/**
|
|
25
|
+
* The client request ID for tracing.
|
|
26
|
+
*/
|
|
27
|
+
"opcRequestId"?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210101
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=batch-detect-dominant-language-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch-detect-dominant-language-request.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/request/batch-detect-dominant-language-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210101
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ailanguage/BatchDetectLanguageEntities.ts.html |here} to see how to use BatchDetectLanguageEntitiesRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface BatchDetectLanguageEntitiesRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The details to make a Entity detect call.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"batchDetectLanguageEntitiesDetails": model.BatchDetectLanguageEntitiesDetails;
|
|
24
|
+
/**
|
|
25
|
+
* The client request ID for tracing.
|
|
26
|
+
*/
|
|
27
|
+
"opcRequestId"?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210101
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=batch-detect-language-entities-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch-detect-language-entities-request.js","sourceRoot":"","sources":["../../../../../lib/ailanguage/lib/request/batch-detect-language-entities-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210101
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/ailanguage/BatchDetectLanguageKeyPhrases.ts.html |here} to see how to use BatchDetectLanguageKeyPhrasesRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface BatchDetectLanguageKeyPhrasesRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The details to make keyPhrase detect call.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"batchDetectLanguageKeyPhrasesDetails": model.BatchDetectLanguageKeyPhrasesDetails;
|
|
24
|
+
/**
|
|
25
|
+
* The client request ID for tracing.
|
|
26
|
+
*/
|
|
27
|
+
"opcRequestId"?: string;
|
|
28
|
+
}
|