tencentcloud-sdk-nlp 3.0.590 → 3.0.591
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190408/models.rb +86 -86
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b318a9d4cf70ccfb184bd5d291cf59b29874172
|
4
|
+
data.tar.gz: 619ea891aa2cf436dbd1ad52abd7b13562d4bf90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 798ba06b5644d206fec11acf059d492ec7569c1248d4ef570e8514e4d824d8f7ce23ccb76790291f1b516703341f5eecd7f814fe5d08e824e23f680ea03f7bd8
|
7
|
+
data.tar.gz: d6bed3699c4e96675d8e1d980955909c3cb3c13c105b90f9a044074e88fa710317dff72e23dfb45be238e98f273bd6e24cdc5d2fdb2c7312e05966afe8e26c04
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.591
|
data/lib/v20190408/models.rb
CHANGED
@@ -26,7 +26,7 @@ module TencentCloud
|
|
26
26
|
# @type Length: Integer
|
27
27
|
|
28
28
|
attr_accessor :Text, :Length
|
29
|
-
|
29
|
+
|
30
30
|
def initialize(text=nil, length=nil)
|
31
31
|
@Text = text
|
32
32
|
@Length = length
|
@@ -46,7 +46,7 @@ module TencentCloud
|
|
46
46
|
# @type RequestId: String
|
47
47
|
|
48
48
|
attr_accessor :Summary, :RequestId
|
49
|
-
|
49
|
+
|
50
50
|
def initialize(summary=nil, requestid=nil)
|
51
51
|
@Summary = summary
|
52
52
|
@RequestId = requestid
|
@@ -70,7 +70,7 @@ module TencentCloud
|
|
70
70
|
# @type Pos: String
|
71
71
|
|
72
72
|
attr_accessor :Word, :BeginOffset, :Length, :Pos
|
73
|
-
|
73
|
+
|
74
74
|
def initialize(word=nil, beginoffset=nil, length=nil, pos=nil)
|
75
75
|
@Word = word
|
76
76
|
@BeginOffset = beginoffset
|
@@ -96,7 +96,7 @@ module TencentCloud
|
|
96
96
|
# @type CorrectWord: String
|
97
97
|
|
98
98
|
attr_accessor :Word, :BeginOffset, :CorrectWord
|
99
|
-
|
99
|
+
|
100
100
|
def initialize(word=nil, beginoffset=nil, correctword=nil)
|
101
101
|
@Word = word
|
102
102
|
@BeginOffset = beginoffset
|
@@ -120,7 +120,7 @@ module TencentCloud
|
|
120
120
|
# @type Flag: Integer
|
121
121
|
|
122
122
|
attr_accessor :Query, :OpenId, :Flag
|
123
|
-
|
123
|
+
|
124
124
|
def initialize(query=nil, openid=nil, flag=nil)
|
125
125
|
@Query = query
|
126
126
|
@OpenId = openid
|
@@ -144,7 +144,7 @@ module TencentCloud
|
|
144
144
|
# @type RequestId: String
|
145
145
|
|
146
146
|
attr_accessor :Reply, :Confidence, :RequestId
|
147
|
-
|
147
|
+
|
148
148
|
def initialize(reply=nil, confidence=nil, requestid=nil)
|
149
149
|
@Reply = reply
|
150
150
|
@Confidence = confidence
|
@@ -182,7 +182,7 @@ module TencentCloud
|
|
182
182
|
# @type FifthClassProbability: Float
|
183
183
|
|
184
184
|
attr_accessor :FirstClassName, :SecondClassName, :FirstClassProbability, :SecondClassProbability, :ThirdClassName, :ThirdClassProbability, :FourthClassName, :FourthClassProbability, :FifthClassName, :FifthClassProbability
|
185
|
-
|
185
|
+
|
186
186
|
def initialize(firstclassname=nil, secondclassname=nil, firstclassprobability=nil, secondclassprobability=nil, thirdclassname=nil, thirdclassprobability=nil, fourthclassname=nil, fourthclassprobability=nil, fifthclassname=nil, fifthclassprobability=nil)
|
187
187
|
@FirstClassName = firstclassname
|
188
188
|
@SecondClassName = secondclassname
|
@@ -222,7 +222,7 @@ module TencentCloud
|
|
222
222
|
# @type Pos: String
|
223
223
|
|
224
224
|
attr_accessor :Word, :BeginOffset, :Length, :Pos
|
225
|
-
|
225
|
+
|
226
226
|
def initialize(word=nil, beginoffset=nil, length=nil, pos=nil)
|
227
227
|
@Word = word
|
228
228
|
@BeginOffset = beginoffset
|
@@ -263,7 +263,7 @@ module TencentCloud
|
|
263
263
|
# @type DescriptionEn: String
|
264
264
|
|
265
265
|
attr_accessor :Order, :BeginOffset, :Len, :Word, :CorrectWord, :CorrectionType, :Confidence, :DescriptionZh, :DescriptionEn
|
266
|
-
|
266
|
+
|
267
267
|
def initialize(order=nil, beginoffset=nil, len=nil, word=nil, correctword=nil, correctiontype=nil, confidence=nil, descriptionzh=nil, descriptionen=nil)
|
268
268
|
@Order = order
|
269
269
|
@BeginOffset = beginoffset
|
@@ -297,7 +297,7 @@ module TencentCloud
|
|
297
297
|
# @type Description: String
|
298
298
|
|
299
299
|
attr_accessor :Name, :Description
|
300
|
-
|
300
|
+
|
301
301
|
def initialize(name=nil, description=nil)
|
302
302
|
@Name = name
|
303
303
|
@Description = description
|
@@ -318,7 +318,7 @@ module TencentCloud
|
|
318
318
|
# @type RequestId: String
|
319
319
|
|
320
320
|
attr_accessor :DictId, :RequestId
|
321
|
-
|
321
|
+
|
322
322
|
def initialize(dictid=nil, requestid=nil)
|
323
323
|
@DictId = dictid
|
324
324
|
@RequestId = requestid
|
@@ -338,7 +338,7 @@ module TencentCloud
|
|
338
338
|
# @type WordItems: Array
|
339
339
|
|
340
340
|
attr_accessor :DictId, :WordItems
|
341
|
-
|
341
|
+
|
342
342
|
def initialize(dictid=nil, worditems=nil)
|
343
343
|
@DictId = dictid
|
344
344
|
@WordItems = worditems
|
@@ -363,7 +363,7 @@ module TencentCloud
|
|
363
363
|
# @type RequestId: String
|
364
364
|
|
365
365
|
attr_accessor :RequestId
|
366
|
-
|
366
|
+
|
367
367
|
def initialize(requestid=nil)
|
368
368
|
@RequestId = requestid
|
369
369
|
end
|
@@ -379,7 +379,7 @@ module TencentCloud
|
|
379
379
|
# @type DictId: String
|
380
380
|
|
381
381
|
attr_accessor :DictId
|
382
|
-
|
382
|
+
|
383
383
|
def initialize(dictid=nil)
|
384
384
|
@DictId = dictid
|
385
385
|
end
|
@@ -395,7 +395,7 @@ module TencentCloud
|
|
395
395
|
# @type RequestId: String
|
396
396
|
|
397
397
|
attr_accessor :RequestId
|
398
|
-
|
398
|
+
|
399
399
|
def initialize(requestid=nil)
|
400
400
|
@RequestId = requestid
|
401
401
|
end
|
@@ -413,7 +413,7 @@ module TencentCloud
|
|
413
413
|
# @type WordItems: Array
|
414
414
|
|
415
415
|
attr_accessor :DictId, :WordItems
|
416
|
-
|
416
|
+
|
417
417
|
def initialize(dictid=nil, worditems=nil)
|
418
418
|
@DictId = dictid
|
419
419
|
@WordItems = worditems
|
@@ -438,7 +438,7 @@ module TencentCloud
|
|
438
438
|
# @type RequestId: String
|
439
439
|
|
440
440
|
attr_accessor :RequestId
|
441
|
-
|
441
|
+
|
442
442
|
def initialize(requestid=nil)
|
443
443
|
@RequestId = requestid
|
444
444
|
end
|
@@ -454,7 +454,7 @@ module TencentCloud
|
|
454
454
|
# @type Text: String
|
455
455
|
|
456
456
|
attr_accessor :Text
|
457
|
-
|
457
|
+
|
458
458
|
def initialize(text=nil)
|
459
459
|
@Text = text
|
460
460
|
end
|
@@ -487,7 +487,7 @@ module TencentCloud
|
|
487
487
|
# @type RequestId: String
|
488
488
|
|
489
489
|
attr_accessor :DpTokens, :RequestId
|
490
|
-
|
490
|
+
|
491
491
|
def initialize(dptokens=nil, requestid=nil)
|
492
492
|
@DpTokens = dptokens
|
493
493
|
@RequestId = requestid
|
@@ -514,7 +514,7 @@ module TencentCloud
|
|
514
514
|
# @type Name: String
|
515
515
|
|
516
516
|
attr_accessor :DictId, :Name
|
517
|
-
|
517
|
+
|
518
518
|
def initialize(dictid=nil, name=nil)
|
519
519
|
@DictId = dictid
|
520
520
|
@Name = name
|
@@ -535,7 +535,7 @@ module TencentCloud
|
|
535
535
|
# @type RequestId: String
|
536
536
|
|
537
537
|
attr_accessor :Dicts, :RequestId
|
538
|
-
|
538
|
+
|
539
539
|
def initialize(dicts=nil, requestid=nil)
|
540
540
|
@Dicts = dicts
|
541
541
|
@RequestId = requestid
|
@@ -562,7 +562,7 @@ module TencentCloud
|
|
562
562
|
# @type Offset: Integer
|
563
563
|
|
564
564
|
attr_accessor :Limit, :Offset
|
565
|
-
|
565
|
+
|
566
566
|
def initialize(limit=nil, offset=nil)
|
567
567
|
@Limit = limit
|
568
568
|
@Offset = offset
|
@@ -585,7 +585,7 @@ module TencentCloud
|
|
585
585
|
# @type RequestId: String
|
586
586
|
|
587
587
|
attr_accessor :TotalCount, :Dicts, :RequestId
|
588
|
-
|
588
|
+
|
589
589
|
def initialize(totalcount=nil, dicts=nil, requestid=nil)
|
590
590
|
@TotalCount = totalcount
|
591
591
|
@Dicts = dicts
|
@@ -618,7 +618,7 @@ module TencentCloud
|
|
618
618
|
# @type Text: String
|
619
619
|
|
620
620
|
attr_accessor :DictId, :Offset, :Limit, :Text
|
621
|
-
|
621
|
+
|
622
622
|
def initialize(dictid=nil, offset=nil, limit=nil, text=nil)
|
623
623
|
@DictId = dictid
|
624
624
|
@Offset = offset
|
@@ -645,7 +645,7 @@ module TencentCloud
|
|
645
645
|
# @type RequestId: String
|
646
646
|
|
647
647
|
attr_accessor :TotalCount, :WordItems, :RequestId
|
648
|
-
|
648
|
+
|
649
649
|
def initialize(totalcount=nil, worditems=nil, requestid=nil)
|
650
650
|
@TotalCount = totalcount
|
651
651
|
@WordItems = worditems
|
@@ -680,7 +680,7 @@ module TencentCloud
|
|
680
680
|
# @type CreateTime: String
|
681
681
|
|
682
682
|
attr_accessor :Name, :Id, :Description, :UpdateTime, :CreateTime
|
683
|
-
|
683
|
+
|
684
684
|
def initialize(name=nil, id=nil, description=nil, updatetime=nil, createtime=nil)
|
685
685
|
@Name = name
|
686
686
|
@Id = id
|
@@ -710,7 +710,7 @@ module TencentCloud
|
|
710
710
|
# @type Id: Integer
|
711
711
|
|
712
712
|
attr_accessor :Relation, :HeadId, :Word, :Id
|
713
|
-
|
713
|
+
|
714
714
|
def initialize(relation=nil, headid=nil, word=nil, id=nil)
|
715
715
|
@Relation = relation
|
716
716
|
@HeadId = headid
|
@@ -742,7 +742,7 @@ module TencentCloud
|
|
742
742
|
# @type EmbellishType: String
|
743
743
|
|
744
744
|
attr_accessor :Text, :EmbellishType
|
745
|
-
|
745
|
+
|
746
746
|
def initialize(text=nil, embellishtype=nil)
|
747
747
|
@Text = text
|
748
748
|
@EmbellishType = embellishtype
|
@@ -768,7 +768,7 @@ module TencentCloud
|
|
768
768
|
# @type Name: String
|
769
769
|
|
770
770
|
attr_accessor :Word, :BeginOffset, :Length, :Type, :Name
|
771
|
-
|
771
|
+
|
772
772
|
def initialize(word=nil, beginoffset=nil, length=nil, type=nil, name=nil)
|
773
773
|
@Word = word
|
774
774
|
@BeginOffset = beginoffset
|
@@ -792,7 +792,7 @@ module TencentCloud
|
|
792
792
|
# @type SentencePairList: Array
|
793
793
|
|
794
794
|
attr_accessor :SentencePairList
|
795
|
-
|
795
|
+
|
796
796
|
def initialize(sentencepairlist=nil)
|
797
797
|
@SentencePairList = sentencepairlist
|
798
798
|
end
|
@@ -817,7 +817,7 @@ module TencentCloud
|
|
817
817
|
# @type RequestId: String
|
818
818
|
|
819
819
|
attr_accessor :ScoreList, :RequestId
|
820
|
-
|
820
|
+
|
821
821
|
def initialize(scorelist=nil, requestid=nil)
|
822
822
|
@ScoreList = scorelist
|
823
823
|
@RequestId = requestid
|
@@ -837,7 +837,7 @@ module TencentCloud
|
|
837
837
|
# @type TargetWord: String
|
838
838
|
|
839
839
|
attr_accessor :SourceWord, :TargetWord
|
840
|
-
|
840
|
+
|
841
841
|
def initialize(sourceword=nil, targetword=nil)
|
842
842
|
@SourceWord = sourceword
|
843
843
|
@TargetWord = targetword
|
@@ -857,7 +857,7 @@ module TencentCloud
|
|
857
857
|
# @type RequestId: String
|
858
858
|
|
859
859
|
attr_accessor :Similarity, :RequestId
|
860
|
-
|
860
|
+
|
861
861
|
def initialize(similarity=nil, requestid=nil)
|
862
862
|
@Similarity = similarity
|
863
863
|
@RequestId = requestid
|
@@ -877,7 +877,7 @@ module TencentCloud
|
|
877
877
|
# @type TargetType: Integer
|
878
878
|
|
879
879
|
attr_accessor :Text, :TargetType
|
880
|
-
|
880
|
+
|
881
881
|
def initialize(text=nil, targettype=nil)
|
882
882
|
@Text = text
|
883
883
|
@TargetType = targettype
|
@@ -901,7 +901,7 @@ module TencentCloud
|
|
901
901
|
# @type RequestId: String
|
902
902
|
|
903
903
|
attr_accessor :TopScroll, :Content, :RandomCause, :RequestId
|
904
|
-
|
904
|
+
|
905
905
|
def initialize(topscroll=nil, content=nil, randomcause=nil, requestid=nil)
|
906
906
|
@TopScroll = topscroll
|
907
907
|
@Content = content
|
@@ -931,7 +931,7 @@ module TencentCloud
|
|
931
931
|
# @type Domain: String
|
932
932
|
|
933
933
|
attr_accessor :WordList, :Number, :Domain
|
934
|
-
|
934
|
+
|
935
935
|
def initialize(wordlist=nil, number=nil, domain=nil)
|
936
936
|
@WordList = wordlist
|
937
937
|
@Number = number
|
@@ -953,7 +953,7 @@ module TencentCloud
|
|
953
953
|
# @type RequestId: String
|
954
954
|
|
955
955
|
attr_accessor :KeywordSentenceList, :RequestId
|
956
|
-
|
956
|
+
|
957
957
|
def initialize(keywordsentencelist=nil, requestid=nil)
|
958
958
|
@KeywordSentenceList = keywordsentencelist
|
959
959
|
@RequestId = requestid
|
@@ -982,7 +982,7 @@ module TencentCloud
|
|
982
982
|
# @type Genre: Integer
|
983
983
|
|
984
984
|
attr_accessor :Text, :PoetryType, :Genre
|
985
|
-
|
985
|
+
|
986
986
|
def initialize(text=nil, poetrytype=nil, genre=nil)
|
987
987
|
@Text = text
|
988
988
|
@PoetryType = poetrytype
|
@@ -1006,7 +1006,7 @@ module TencentCloud
|
|
1006
1006
|
# @type RequestId: String
|
1007
1007
|
|
1008
1008
|
attr_accessor :Title, :Content, :RequestId
|
1009
|
-
|
1009
|
+
|
1010
1010
|
def initialize(title=nil, content=nil, requestid=nil)
|
1011
1011
|
@Title = title
|
1012
1012
|
@Content = content
|
@@ -1028,7 +1028,7 @@ module TencentCloud
|
|
1028
1028
|
# @type Word: String
|
1029
1029
|
|
1030
1030
|
attr_accessor :Score, :Word
|
1031
|
-
|
1031
|
+
|
1032
1032
|
def initialize(score=nil, word=nil)
|
1033
1033
|
@Score = score
|
1034
1034
|
@Word = word
|
@@ -1046,7 +1046,7 @@ module TencentCloud
|
|
1046
1046
|
# @type TargetText: String
|
1047
1047
|
|
1048
1048
|
attr_accessor :TargetText
|
1049
|
-
|
1049
|
+
|
1050
1050
|
def initialize(targettext=nil)
|
1051
1051
|
@TargetText = targettext
|
1052
1052
|
end
|
@@ -1064,7 +1064,7 @@ module TencentCloud
|
|
1064
1064
|
# @type Num: Integer
|
1065
1065
|
|
1066
1066
|
attr_accessor :Text, :Num
|
1067
|
-
|
1067
|
+
|
1068
1068
|
def initialize(text=nil, num=nil)
|
1069
1069
|
@Text = text
|
1070
1070
|
@Num = num
|
@@ -1085,7 +1085,7 @@ module TencentCloud
|
|
1085
1085
|
# @type RequestId: String
|
1086
1086
|
|
1087
1087
|
attr_accessor :Keywords, :RequestId
|
1088
|
-
|
1088
|
+
|
1089
1089
|
def initialize(keywords=nil, requestid=nil)
|
1090
1090
|
@Keywords = keywords
|
1091
1091
|
@RequestId = requestid
|
@@ -1116,7 +1116,7 @@ module TencentCloud
|
|
1116
1116
|
# @type Flag: Integer
|
1117
1117
|
|
1118
1118
|
attr_accessor :Text, :DictId, :Flag
|
1119
|
-
|
1119
|
+
|
1120
1120
|
def initialize(text=nil, dictid=nil, flag=nil)
|
1121
1121
|
@Text = text
|
1122
1122
|
@DictId = dictid
|
@@ -1145,7 +1145,7 @@ module TencentCloud
|
|
1145
1145
|
# @type RequestId: String
|
1146
1146
|
|
1147
1147
|
attr_accessor :NerTokens, :PosTokens, :RequestId
|
1148
|
-
|
1148
|
+
|
1149
1149
|
def initialize(nertokens=nil, postokens=nil, requestid=nil)
|
1150
1150
|
@NerTokens = nertokens
|
1151
1151
|
@PosTokens = postokens
|
@@ -1185,7 +1185,7 @@ module TencentCloud
|
|
1185
1185
|
# @type Type: String
|
1186
1186
|
|
1187
1187
|
attr_accessor :Word, :Length, :BeginOffset, :Type
|
1188
|
-
|
1188
|
+
|
1189
1189
|
def initialize(word=nil, length=nil, beginoffset=nil, type=nil)
|
1190
1190
|
@Word = word
|
1191
1191
|
@Length = length
|
@@ -1207,7 +1207,7 @@ module TencentCloud
|
|
1207
1207
|
# @type Text: String
|
1208
1208
|
|
1209
1209
|
attr_accessor :Text
|
1210
|
-
|
1210
|
+
|
1211
1211
|
def initialize(text=nil)
|
1212
1212
|
@Text = text
|
1213
1213
|
end
|
@@ -1231,7 +1231,7 @@ module TencentCloud
|
|
1231
1231
|
# @type RequestId: String
|
1232
1232
|
|
1233
1233
|
attr_accessor :NormalText, :BasicParticiples, :CompoundParticiples, :Entities, :RequestId
|
1234
|
-
|
1234
|
+
|
1235
1235
|
def initialize(normaltext=nil, basicparticiples=nil, compoundparticiples=nil, entities=nil, requestid=nil)
|
1236
1236
|
@NormalText = normaltext
|
1237
1237
|
@BasicParticiples = basicparticiples
|
@@ -1282,7 +1282,7 @@ module TencentCloud
|
|
1282
1282
|
# @type Pos: String
|
1283
1283
|
|
1284
1284
|
attr_accessor :Word, :Length, :BeginOffset, :Pos
|
1285
|
-
|
1285
|
+
|
1286
1286
|
def initialize(word=nil, length=nil, beginoffset=nil, pos=nil)
|
1287
1287
|
@Word = word
|
1288
1288
|
@Length = length
|
@@ -1306,7 +1306,7 @@ module TencentCloud
|
|
1306
1306
|
# @type Number: Integer
|
1307
1307
|
|
1308
1308
|
attr_accessor :Text, :Number
|
1309
|
-
|
1309
|
+
|
1310
1310
|
def initialize(text=nil, number=nil)
|
1311
1311
|
@Text = text
|
1312
1312
|
@Number = number
|
@@ -1326,7 +1326,7 @@ module TencentCloud
|
|
1326
1326
|
# @type RequestId: String
|
1327
1327
|
|
1328
1328
|
attr_accessor :WordList, :RequestId
|
1329
|
-
|
1329
|
+
|
1330
1330
|
def initialize(wordlist=nil, requestid=nil)
|
1331
1331
|
@WordList = wordlist
|
1332
1332
|
@RequestId = requestid
|
@@ -1350,7 +1350,7 @@ module TencentCloud
|
|
1350
1350
|
# @type Pos: String
|
1351
1351
|
|
1352
1352
|
attr_accessor :Text, :IsExist, :MatchText, :Pos
|
1353
|
-
|
1353
|
+
|
1354
1354
|
def initialize(text=nil, isexist=nil, matchtext=nil, pos=nil)
|
1355
1355
|
@Text = text
|
1356
1356
|
@IsExist = isexist
|
@@ -1374,7 +1374,7 @@ module TencentCloud
|
|
1374
1374
|
# @type WordItems: Array
|
1375
1375
|
|
1376
1376
|
attr_accessor :DictId, :WordItems
|
1377
|
-
|
1377
|
+
|
1378
1378
|
def initialize(dictid=nil, worditems=nil)
|
1379
1379
|
@DictId = dictid
|
1380
1380
|
@WordItems = worditems
|
@@ -1402,7 +1402,7 @@ module TencentCloud
|
|
1402
1402
|
# @type RequestId: String
|
1403
1403
|
|
1404
1404
|
attr_accessor :Results, :RequestId
|
1405
|
-
|
1405
|
+
|
1406
1406
|
def initialize(results=nil, requestid=nil)
|
1407
1407
|
@Results = results
|
1408
1408
|
@RequestId = requestid
|
@@ -1427,7 +1427,7 @@ module TencentCloud
|
|
1427
1427
|
# @type TextList: Array
|
1428
1428
|
|
1429
1429
|
attr_accessor :TextList
|
1430
|
-
|
1430
|
+
|
1431
1431
|
def initialize(textlist=nil)
|
1432
1432
|
@TextList = textlist
|
1433
1433
|
end
|
@@ -1446,7 +1446,7 @@ module TencentCloud
|
|
1446
1446
|
# @type RequestId: String
|
1447
1447
|
|
1448
1448
|
attr_accessor :CorrectionList, :RequestId
|
1449
|
-
|
1449
|
+
|
1450
1450
|
def initialize(correctionlist=nil, requestid=nil)
|
1451
1451
|
@CorrectionList = correctionlist
|
1452
1452
|
@RequestId = requestid
|
@@ -1471,7 +1471,7 @@ module TencentCloud
|
|
1471
1471
|
# @type Text: String
|
1472
1472
|
|
1473
1473
|
attr_accessor :Text
|
1474
|
-
|
1474
|
+
|
1475
1475
|
def initialize(text=nil)
|
1476
1476
|
@Text = text
|
1477
1477
|
end
|
@@ -1491,7 +1491,7 @@ module TencentCloud
|
|
1491
1491
|
# @type RequestId: String
|
1492
1492
|
|
1493
1493
|
attr_accessor :Vector, :Dimension, :RequestId
|
1494
|
-
|
1494
|
+
|
1495
1495
|
def initialize(vector=nil, dimension=nil, requestid=nil)
|
1496
1496
|
@Vector = vector
|
1497
1497
|
@Dimension = dimension
|
@@ -1513,7 +1513,7 @@ module TencentCloud
|
|
1513
1513
|
# @type TargetText: String
|
1514
1514
|
|
1515
1515
|
attr_accessor :SourceText, :TargetText
|
1516
|
-
|
1516
|
+
|
1517
1517
|
def initialize(sourcetext=nil, targettext=nil)
|
1518
1518
|
@SourceText = sourcetext
|
1519
1519
|
@TargetText = targettext
|
@@ -1541,7 +1541,7 @@ module TencentCloud
|
|
1541
1541
|
# @type Mode: String
|
1542
1542
|
|
1543
1543
|
attr_accessor :Text, :Flag, :Mode
|
1544
|
-
|
1544
|
+
|
1545
1545
|
def initialize(text=nil, flag=nil, mode=nil)
|
1546
1546
|
@Text = text
|
1547
1547
|
@Flag = flag
|
@@ -1573,7 +1573,7 @@ module TencentCloud
|
|
1573
1573
|
# @type RequestId: String
|
1574
1574
|
|
1575
1575
|
attr_accessor :Positive, :Neutral, :Negative, :Sentiment, :RequestId
|
1576
|
-
|
1576
|
+
|
1577
1577
|
def initialize(positive=nil, neutral=nil, negative=nil, sentiment=nil, requestid=nil)
|
1578
1578
|
@Positive = positive
|
1579
1579
|
@Neutral = neutral
|
@@ -1599,7 +1599,7 @@ module TencentCloud
|
|
1599
1599
|
# @type WordNumber: Integer
|
1600
1600
|
|
1601
1601
|
attr_accessor :Text, :WordNumber
|
1602
|
-
|
1602
|
+
|
1603
1603
|
def initialize(text=nil, wordnumber=nil)
|
1604
1604
|
@Text = text
|
1605
1605
|
@WordNumber = wordnumber
|
@@ -1619,7 +1619,7 @@ module TencentCloud
|
|
1619
1619
|
# @type RequestId: String
|
1620
1620
|
|
1621
1621
|
attr_accessor :SimilarWords, :RequestId
|
1622
|
-
|
1622
|
+
|
1623
1623
|
def initialize(similarwords=nil, requestid=nil)
|
1624
1624
|
@SimilarWords = similarwords
|
1625
1625
|
@RequestId = requestid
|
@@ -1639,7 +1639,7 @@ module TencentCloud
|
|
1639
1639
|
# @type Score: Float
|
1640
1640
|
|
1641
1641
|
attr_accessor :Text, :Score
|
1642
|
-
|
1642
|
+
|
1643
1643
|
def initialize(text=nil, score=nil)
|
1644
1644
|
@Text = text
|
1645
1645
|
@Score = score
|
@@ -1661,7 +1661,7 @@ module TencentCloud
|
|
1661
1661
|
# @type Flag: Integer
|
1662
1662
|
|
1663
1663
|
attr_accessor :Text, :Flag
|
1664
|
-
|
1664
|
+
|
1665
1665
|
def initialize(text=nil, flag=nil)
|
1666
1666
|
@Text = text
|
1667
1667
|
@Flag = flag
|
@@ -1681,7 +1681,7 @@ module TencentCloud
|
|
1681
1681
|
# @type RequestId: String
|
1682
1682
|
|
1683
1683
|
attr_accessor :Classes, :RequestId
|
1684
|
-
|
1684
|
+
|
1685
1685
|
def initialize(classes=nil, requestid=nil)
|
1686
1686
|
@Classes = classes
|
1687
1687
|
@RequestId = requestid
|
@@ -1706,7 +1706,7 @@ module TencentCloud
|
|
1706
1706
|
# @type Text: String
|
1707
1707
|
|
1708
1708
|
attr_accessor :Text
|
1709
|
-
|
1709
|
+
|
1710
1710
|
def initialize(text=nil)
|
1711
1711
|
@Text = text
|
1712
1712
|
end
|
@@ -1727,7 +1727,7 @@ module TencentCloud
|
|
1727
1727
|
# @type RequestId: String
|
1728
1728
|
|
1729
1729
|
attr_accessor :CCITokens, :ResultText, :RequestId
|
1730
|
-
|
1730
|
+
|
1731
1731
|
def initialize(ccitokens=nil, resulttext=nil, requestid=nil)
|
1732
1732
|
@CCITokens = ccitokens
|
1733
1733
|
@ResultText = resulttext
|
@@ -1754,7 +1754,7 @@ module TencentCloud
|
|
1754
1754
|
# @type Text: String
|
1755
1755
|
|
1756
1756
|
attr_accessor :Text
|
1757
|
-
|
1757
|
+
|
1758
1758
|
def initialize(text=nil)
|
1759
1759
|
@Text = text
|
1760
1760
|
end
|
@@ -1775,7 +1775,7 @@ module TencentCloud
|
|
1775
1775
|
# @type RequestId: String
|
1776
1776
|
|
1777
1777
|
attr_accessor :CCITokens, :ResultText, :RequestId
|
1778
|
-
|
1778
|
+
|
1779
1779
|
def initialize(ccitokens=nil, resulttext=nil, requestid=nil)
|
1780
1780
|
@CCITokens = ccitokens
|
1781
1781
|
@ResultText = resulttext
|
@@ -1817,7 +1817,7 @@ module TencentCloud
|
|
1817
1817
|
# @type Style: String
|
1818
1818
|
|
1819
1819
|
attr_accessor :Text, :SourceLang, :Number, :Style
|
1820
|
-
|
1820
|
+
|
1821
1821
|
def initialize(text=nil, sourcelang=nil, number=nil, style=nil)
|
1822
1822
|
@Text = text
|
1823
1823
|
@SourceLang = sourcelang
|
@@ -1841,7 +1841,7 @@ module TencentCloud
|
|
1841
1841
|
# @type RequestId: String
|
1842
1842
|
|
1843
1843
|
attr_accessor :EmbellishList, :RequestId
|
1844
|
-
|
1844
|
+
|
1845
1845
|
def initialize(embellishlist=nil, requestid=nil)
|
1846
1846
|
@EmbellishList = embellishlist
|
1847
1847
|
@RequestId = requestid
|
@@ -1868,7 +1868,7 @@ module TencentCloud
|
|
1868
1868
|
# @type TargetText: Array
|
1869
1869
|
|
1870
1870
|
attr_accessor :SrcText, :TargetText
|
1871
|
-
|
1871
|
+
|
1872
1872
|
def initialize(srctext=nil, targettext=nil)
|
1873
1873
|
@SrcText = srctext
|
1874
1874
|
@TargetText = targettext
|
@@ -1888,7 +1888,7 @@ module TencentCloud
|
|
1888
1888
|
# @type RequestId: String
|
1889
1889
|
|
1890
1890
|
attr_accessor :Similarity, :RequestId
|
1891
|
-
|
1891
|
+
|
1892
1892
|
def initialize(similarity=nil, requestid=nil)
|
1893
1893
|
@Similarity = similarity
|
1894
1894
|
@RequestId = requestid
|
@@ -1915,7 +1915,7 @@ module TencentCloud
|
|
1915
1915
|
# @type TargetText: Array
|
1916
1916
|
|
1917
1917
|
attr_accessor :SrcText, :TargetText
|
1918
|
-
|
1918
|
+
|
1919
1919
|
def initialize(srctext=nil, targettext=nil)
|
1920
1920
|
@SrcText = srctext
|
1921
1921
|
@TargetText = targettext
|
@@ -1935,7 +1935,7 @@ module TencentCloud
|
|
1935
1935
|
# @type RequestId: String
|
1936
1936
|
|
1937
1937
|
attr_accessor :Similarity, :RequestId
|
1938
|
-
|
1938
|
+
|
1939
1939
|
def initialize(similarity=nil, requestid=nil)
|
1940
1940
|
@Similarity = similarity
|
1941
1941
|
@RequestId = requestid
|
@@ -1979,7 +1979,7 @@ module TencentCloud
|
|
1979
1979
|
# @type Style: String
|
1980
1980
|
|
1981
1981
|
attr_accessor :Text, :SourceLang, :Number, :Domain, :Style
|
1982
|
-
|
1982
|
+
|
1983
1983
|
def initialize(text=nil, sourcelang=nil, number=nil, domain=nil, style=nil)
|
1984
1984
|
@Text = text
|
1985
1985
|
@SourceLang = sourcelang
|
@@ -2005,7 +2005,7 @@ module TencentCloud
|
|
2005
2005
|
# @type RequestId: String
|
2006
2006
|
|
2007
2007
|
attr_accessor :WritingList, :RequestId
|
2008
|
-
|
2008
|
+
|
2009
2009
|
def initialize(writinglist=nil, requestid=nil)
|
2010
2010
|
@WritingList = writinglist
|
2011
2011
|
@RequestId = requestid
|
@@ -2034,7 +2034,7 @@ module TencentCloud
|
|
2034
2034
|
# @type Name: String
|
2035
2035
|
|
2036
2036
|
attr_accessor :DictId, :Description, :Name
|
2037
|
-
|
2037
|
+
|
2038
2038
|
def initialize(dictid=nil, description=nil, name=nil)
|
2039
2039
|
@DictId = dictid
|
2040
2040
|
@Description = description
|
@@ -2054,7 +2054,7 @@ module TencentCloud
|
|
2054
2054
|
# @type RequestId: String
|
2055
2055
|
|
2056
2056
|
attr_accessor :RequestId
|
2057
|
-
|
2057
|
+
|
2058
2058
|
def initialize(requestid=nil)
|
2059
2059
|
@RequestId = requestid
|
2060
2060
|
end
|
@@ -2070,7 +2070,7 @@ module TencentCloud
|
|
2070
2070
|
# @type Text: String
|
2071
2071
|
|
2072
2072
|
attr_accessor :Text
|
2073
|
-
|
2073
|
+
|
2074
2074
|
def initialize(text=nil)
|
2075
2075
|
@Text = text
|
2076
2076
|
end
|
@@ -2090,7 +2090,7 @@ module TencentCloud
|
|
2090
2090
|
# @type RequestId: String
|
2091
2091
|
|
2092
2092
|
attr_accessor :Vector, :Dimension, :RequestId
|
2093
|
-
|
2093
|
+
|
2094
2094
|
def initialize(vector=nil, dimension=nil, requestid=nil)
|
2095
2095
|
@Vector = vector
|
2096
2096
|
@Dimension = dimension
|
@@ -2114,7 +2114,7 @@ module TencentCloud
|
|
2114
2114
|
# @type Pos: String
|
2115
2115
|
|
2116
2116
|
attr_accessor :Text, :CreateTime, :Pos
|
2117
|
-
|
2117
|
+
|
2118
2118
|
def initialize(text=nil, createtime=nil, pos=nil)
|
2119
2119
|
@Text = text
|
2120
2120
|
@CreateTime = createtime
|
@@ -2136,7 +2136,7 @@ module TencentCloud
|
|
2136
2136
|
# @type TargetWord: String
|
2137
2137
|
|
2138
2138
|
attr_accessor :SrcWord, :TargetWord
|
2139
|
-
|
2139
|
+
|
2140
2140
|
def initialize(srcword=nil, targetword=nil)
|
2141
2141
|
@SrcWord = srcword
|
2142
2142
|
@TargetWord = targetword
|
@@ -2156,7 +2156,7 @@ module TencentCloud
|
|
2156
2156
|
# @type RequestId: String
|
2157
2157
|
|
2158
2158
|
attr_accessor :Similarity, :RequestId
|
2159
|
-
|
2159
|
+
|
2160
2160
|
def initialize(similarity=nil, requestid=nil)
|
2161
2161
|
@Similarity = similarity
|
2162
2162
|
@RequestId = requestid
|
@@ -2176,7 +2176,7 @@ module TencentCloud
|
|
2176
2176
|
# @type PrefixText: String
|
2177
2177
|
|
2178
2178
|
attr_accessor :TargetText, :PrefixText
|
2179
|
-
|
2179
|
+
|
2180
2180
|
def initialize(targettext=nil, prefixtext=nil)
|
2181
2181
|
@TargetText = targettext
|
2182
2182
|
@PrefixText = prefixtext
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-nlp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.591
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|