- getBeginOffset() - Method in class com.tencentcloudapi.nlp.v20190408.models.CCIToken
-
Get 错别字的起始位置,从0开始
- getBeginOffset() - Method in class com.tencentcloudapi.nlp.v20190408.models.NerToken
-
Get 起始位置
- getBeginOffset() - Method in class com.tencentcloudapi.nlp.v20190408.models.PosToken
-
Get 起始位置
- getCCITokens() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionResponse
-
Get 纠错详情
- getClasses() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextClassificationResponse
-
Get 文本分类结果(文本分类映射表请参见附录)
- getConfidence() - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotResponse
-
Get 对于当前输出回复的自信度
- getContent() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeEntityResponse
-
Get 返回查询实体相关信息
- getContent() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeRelationResponse
-
Get 返回查询实体间的关系
- getContent() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeTripleResponse
-
Get 返回三元组信息
- getCorrectWord() - Method in class com.tencentcloudapi.nlp.v20190408.models.CCIToken
-
Get 错别字纠错结果
- getCreateTime() - Method in class com.tencentcloudapi.nlp.v20190408.models.DictInfo
-
Get 自定义词库创建时间,形式为:yyyy-mm-dd hh:mm:ss。
- getCreateTime() - Method in class com.tencentcloudapi.nlp.v20190408.models.WordItem
-
Get 词条创建时间。
- getDescription() - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateDictRequest
-
Get 自定义词库描述,不超过100字。
- getDescription() - Method in class com.tencentcloudapi.nlp.v20190408.models.DictInfo
-
Get 自定义词库描述信息。
- getDescription() - Method in class com.tencentcloudapi.nlp.v20190408.models.UpdateDictRequest
-
Get 词库描述,不超过100字。
- getDictId() - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateDictResponse
-
Get 创建的自定义词库ID。
- getDictId() - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateWordItemsRequest
-
Get 自定义词库ID。
- getDictId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteDictRequest
-
Get 要删除的自定义词库ID。
- getDictId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteWordItemsRequest
-
Get 自定义词库ID。
- getDictId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictRequest
-
Get 自定义词库ID。
- getDictId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsRequest
-
Get 自定义词库ID。
- getDictId() - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisRequest
-
Get 指定要加载的自定义词库ID。
- getDictId() - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsRequest
-
Get 自定义词库ID。
- getDictId() - Method in class com.tencentcloudapi.nlp.v20190408.models.UpdateDictRequest
-
Get 自定义词库ID。
- getDicts() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictResponse
-
Get 查询到的词库信息列表。
- getDicts() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsResponse
-
Get 自定义词库信息列表。
- getDimension() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingResponse
-
Get 句向量的维度
- getDimension() - Method in class com.tencentcloudapi.nlp.v20190408.models.WordEmbeddingResponse
-
Get 词向量的维度
- getDpTokens() - Method in class com.tencentcloudapi.nlp.v20190408.models.DependencyParsingResponse
-
Get 句法依存分析结果,其中句法依存关系的类型包括:
主谓关系,eg: 我送她一束花 (我 <-- 送)
动宾关系,eg: 我送她一束花 (送 --> 花)
间宾关系,eg: 我送她一束花 (送 --> 她)
前置宾语,eg: 他什么书都读 (书 <-- 读)
兼语,eg: 他请我吃饭 (请 --> 我)
定中关系,eg: 红苹果 (红 <-- 苹果)
状中结构,eg: 非常美丽 (非常 <-- 美丽)
动补结构,eg: 做完了作业 (做 --> 完)
并列关系,eg: 大山和大海 (大山 --> 大海)
介宾关系,eg: 在贸易区内 (在 --> 内)
左附加关系,eg: 大山和大海 (和 <-- 大海)
右附加关系,eg: 孩子们 (孩子 --> 们)
独立结构,eg: 两个单句在结构上彼此独立
标点符号,eg: 。
核心关系,eg: 整个句子的核心
- getEntityName() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeEntityRequest
-
Get 实体名称
- getFirstClassName() - Method in class com.tencentcloudapi.nlp.v20190408.models.ClassificationResult
-
Get 一级分类名称
- getFirstClassProbability() - Method in class com.tencentcloudapi.nlp.v20190408.models.ClassificationResult
-
Get 一级分类概率
- getFlag() - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotRequest
-
Get 0: 通用闲聊, 1:儿童闲聊, 默认是通用闲聊
- getFlag() - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisRequest
-
Get 词法分析模式(默认取2值):
1、高精度(混合粒度分词能力);
2、高性能(单粒度分词能力);
- getFlag() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisRequest
-
Get 待分析文本所属的类型,仅当输入参数Mode取值为2class时有效(默认取4值):
1、商品评论类
2、社交类
3、美食酒店类
4、通用领域类
- getFlag() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextClassificationRequest
-
Get 领域分类体系(默认取1值):
1、通用领域
2、新闻领域
- getHeadId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DpToken
-
Get 当前词父节点的序号
- getId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DictInfo
-
Get 自定义词库ID。
- getId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DpToken
-
Get 基础词的序号
- getId() - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationObject
-
Get object对应id
- getId() - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationSubject
-
Get Subject对应id
- getId() - Method in class com.tencentcloudapi.nlp.v20190408.models.TripleContent
-
Get 实体id
- getIsExist() - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchResult
-
Get 0表示词条不存在,1表示存在。
- getKeywords() - Method in class com.tencentcloudapi.nlp.v20190408.models.KeywordsExtractionResponse
-
Get 关键词提取结果
- getLeftEntityName() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeRelationRequest
-
Get 输入第一个实体
- getLength() - Method in class com.tencentcloudapi.nlp.v20190408.models.AutoSummarizationRequest
-
Get 指定摘要的长度上限(默认值为200)
注:为保证摘要的可读性,最终生成的摘要长度会低于指定的长度上限。
- getLength() - Method in class com.tencentcloudapi.nlp.v20190408.models.NerToken
-
Get 长度
- getLength() - Method in class com.tencentcloudapi.nlp.v20190408.models.PosToken
-
Get 长度
- getLimit() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsRequest
-
Get 每页数据量,范围为1~100,默认为10。
- getLimit() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsRequest
-
Get 每页数据量,范围为1~100,默认为10。
- getMatchText() - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchResult
-
Get 匹配到的词条文本。
- getMode() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisRequest
-
Get 情感分类模式选项,可取2class或3class(默认值为2class)
1、2class:返回正负面二分类情感结果
2、3class:返回正负面及中性三分类情感结果
- getName() - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateDictRequest
-
Get 自定义词库名称,不超过20字。
- getName() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictRequest
-
Get 自定义词库名称,模糊搜索。
- getName() - Method in class com.tencentcloudapi.nlp.v20190408.models.DictInfo
-
Get 自定义词库名称。
- getName() - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationObject
-
Get object对应name
- getName() - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationSubject
-
Get Subject对应name
- getName() - Method in class com.tencentcloudapi.nlp.v20190408.models.TripleContent
-
Get 实体名称
- getName() - Method in class com.tencentcloudapi.nlp.v20190408.models.UpdateDictRequest
-
Get 词库名称,不超过20字。
- getNegative() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
Get 负面情感概率
- getNerTokens() - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisResponse
-
Get 命名实体识别结果。取值范围:
PER:表示人名,如刘德华、贝克汉姆
LOC:表示地名,如北京、华山
ORG:表示机构团体名,如腾讯、最高人民法院、人大附中
PRODUCTION:表示产品名,如QQ、微信、iPhone
- getNeutral() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
Get 中性情感概率,当输入参数Mode取值为3class时有效,否则值为空
- getNum() - Method in class com.tencentcloudapi.nlp.v20190408.models.KeywordsExtractionRequest
-
Get 指定关键词个数上限(默认值为5)
- getObject() - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationContent
-
Get 实体关系查询返回关系的object
- getOffset() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsRequest
-
Get 分页偏移量,从0开始,默认为0。
- getOffset() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsRequest
-
Get 分页偏移量,从0开始,默认为0。
- getOpenId() - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotRequest
-
Get 服务的id, 主要用于儿童闲聊接口,比如手Q的openid
- getOrder() - Method in class com.tencentcloudapi.nlp.v20190408.models.TripleContent
-
Get 实体order
- getPopular() - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationObject
-
Get object对应popular值
- getPopular() - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationSubject
-
Get Subject对应popular
- getPopular() - Method in class com.tencentcloudapi.nlp.v20190408.models.TripleContent
-
Get 实体流行度
- getPos() - Method in class com.tencentcloudapi.nlp.v20190408.models.PosToken
-
Get 词性
- getPos() - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchResult
-
Get 词条的词性。
- getPos() - Method in class com.tencentcloudapi.nlp.v20190408.models.WordItem
-
Get 词条的词性。
- getPositive() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
Get 正面情感概率
- getPosTokens() - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisResponse
-
Get 分词&词性标注结果(词性表请参见附录)
- getQuery() - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotRequest
-
Get 用户请求的query
- getRelation() - Method in class com.tencentcloudapi.nlp.v20190408.models.DpToken
-
Get 句法依存关系的类型
- getRelation() - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationContent
-
Get 实体关系查询返回的关系名称
- getReply() - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotResponse
-
Get 闲聊回复
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.AutoSummarizationResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateDictResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateWordItemsResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteDictResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteWordItemsResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DependencyParsingResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeEntityResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeRelationResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeTripleResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.KeywordsExtractionResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextClassificationResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.UpdateDictResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.WordEmbeddingResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getRequestId() - Method in class com.tencentcloudapi.nlp.v20190408.models.WordSimilarityResponse
-
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- getResults() - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsResponse
-
Get 词条检索结果集合。
- getResultText() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionResponse
-
Get 纠错后的文本
- getRightEntityName() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeRelationRequest
-
Get 输入第二个实体
- getScore() - Method in class com.tencentcloudapi.nlp.v20190408.models.Keyword
-
Get 权重
- getScore() - Method in class com.tencentcloudapi.nlp.v20190408.models.Similarity
-
Get 相似度分数
- getSecondClassName() - Method in class com.tencentcloudapi.nlp.v20190408.models.ClassificationResult
-
Get 二级分类名称
- getSecondClassProbability() - Method in class com.tencentcloudapi.nlp.v20190408.models.ClassificationResult
-
Get 二级分类概率
- getSentiment() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
Get 情感分类结果:
1、positive,表示正面情感
2、negative,表示负面情感
3、neutral,表示中性、无情感
- getSimilarity() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityResponse
-
Get 每个目标句子与源句子的相似度分值,按照分值降序排列
- getSimilarity() - Method in class com.tencentcloudapi.nlp.v20190408.models.WordSimilarityResponse
-
Get 两个词语的相似度
- getSimilarWords() - Method in class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsResponse
-
Get 相似词数组
- getSrcText() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityRequest
-
Get 需要与目标句子计算相似度的源句子(仅支持UTF-8格式,不超过500字符)
- getSrcWord() - Method in class com.tencentcloudapi.nlp.v20190408.models.WordSimilarityRequest
-
Get 计算相似度的源词(仅支持UTF-8格式,不超过20字)
- getSubject() - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationContent
-
Get 实体关系查询返回关系的subject
- getSummary() - Method in class com.tencentcloudapi.nlp.v20190408.models.AutoSummarizationResponse
-
Get 文本摘要结果
- getTargetText() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityRequest
-
Get 需要与源句子计算相似度的一个或多个目标句子(仅支持UTF-8格式,目标句子的数量不超过100个,每个句子不超过500字符)
注意:每成功计算1个目标句子与源句子的相似度算1次调用
- getTargetWord() - Method in class com.tencentcloudapi.nlp.v20190408.models.WordSimilarityRequest
-
Get 计算相似度的目标词(仅支持UTF-8格式,不超过20字)
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.AutoSummarizationRequest
-
Get 待处理的文本(仅支持UTF-8格式,不超过2000字)
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.DependencyParsingRequest
-
Get 待分析的文本(仅支持UTF-8格式,不超过200字)
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsRequest
-
Get 待检索的词条文本,支持模糊匹配。
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.KeywordsExtractionRequest
-
Get 待处理的文本(仅支持UTF-8格式,不超过10000字)
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisRequest
-
Get 待分析的文本(仅支持UTF-8格式,不超过500字)
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchResult
-
Get 被搜索的词条文本。
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingRequest
-
Get 输入的文本(仅支持UTF-8格式,不超过500字)
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisRequest
-
Get 待分析的文本(仅支持UTF-8格式,不超过200字)
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.Similarity
-
Get 目标文本句子
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsRequest
-
Get 输入的词语(仅支持UTF-8格式,不超过20字)
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextClassificationRequest
-
Get 待分类的文本(仅支持UTF-8格式,不超过10000字)
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionRequest
-
Get 待纠错的文本(仅支持UTF-8格式,不超过2000字)
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.WordEmbeddingRequest
-
Get 输入的词语(仅支持UTF-8格式,不超过20字)
- getText() - Method in class com.tencentcloudapi.nlp.v20190408.models.WordItem
-
Get 词条文本内容。
- getTotalCount() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsResponse
-
Get 记录总条数。
- getTotalCount() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsResponse
-
Get 词条记录总条数。
- getTripleCondition() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeTripleRequest
-
Get 三元组查询条件
- getType() - Method in class com.tencentcloudapi.nlp.v20190408.models.NerToken
-
Get 命名实体类型
- getUpdateTime() - Method in class com.tencentcloudapi.nlp.v20190408.models.DictInfo
-
Get 自定义词库修改时间,形式为:yyyy-mm-dd hh:mm:ss。
- getVector() - Method in class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingResponse
-
Get 句向量数组
- getVector() - Method in class com.tencentcloudapi.nlp.v20190408.models.WordEmbeddingResponse
-
Get 词向量数组
- getWord() - Method in class com.tencentcloudapi.nlp.v20190408.models.CCIToken
-
Get 错别字内容
- getWord() - Method in class com.tencentcloudapi.nlp.v20190408.models.DpToken
-
Get 基础词
- getWord() - Method in class com.tencentcloudapi.nlp.v20190408.models.Keyword
-
Get 关键词
- getWord() - Method in class com.tencentcloudapi.nlp.v20190408.models.NerToken
-
Get 基础词
- getWord() - Method in class com.tencentcloudapi.nlp.v20190408.models.PosToken
-
Get 基础词
- getWordItems() - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateWordItemsRequest
-
Get 待添加的词条集合。
- getWordItems() - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteWordItemsRequest
-
Get 待删除的词条集合。
- getWordItems() - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsResponse
-
Get 词条信息列表。
- getWordItems() - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsRequest
-
Get 待检索的词条集合。
- getWordNumber() - Method in class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsRequest
-
Get 相似词个数;取值范围:1-200,默认为10;
- SearchResult - Class in com.tencentcloudapi.nlp.v20190408.models
-
- SearchResult() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.SearchResult
-
- SearchWordItems(SearchWordItemsRequest) - Method in class com.tencentcloudapi.nlp.v20190408.NlpClient
-
查询指定自定义词库中的词条是否存在。
- SearchWordItemsRequest - Class in com.tencentcloudapi.nlp.v20190408.models
-
- SearchWordItemsRequest() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsRequest
-
- SearchWordItemsResponse - Class in com.tencentcloudapi.nlp.v20190408.models
-
- SearchWordItemsResponse() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsResponse
-
- SentenceEmbedding(SentenceEmbeddingRequest) - Method in class com.tencentcloudapi.nlp.v20190408.NlpClient
-
句向量接口能够将输入的句子映射成一个固定维度的向量,用来表示这个句子的语义特征,可用于文本聚类、文本相似度、文本分类等任务,能够显著提高它们的效果。
该句向量服务由腾讯云自然语言处理团队联合微信智言团队共同打造,基于千亿级大规模互联网语料并采用Bert等领先的深度神经网络模型训练而成,在腾讯内部诸多业务的NLP任务上实测效果显著。
- SentenceEmbeddingRequest - Class in com.tencentcloudapi.nlp.v20190408.models
-
- SentenceEmbeddingRequest() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingRequest
-
- SentenceEmbeddingResponse - Class in com.tencentcloudapi.nlp.v20190408.models
-
- SentenceEmbeddingResponse() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingResponse
-
- SentimentAnalysis(SentimentAnalysisRequest) - Method in class com.tencentcloudapi.nlp.v20190408.NlpClient
-
情感分析接口能够对带有情感色彩的主观性文本进行分析、处理、归纳和推理,识别出用户的情感倾向,是积极还是消极,并且提供各自概率。
该功能基于千亿级大规模互联网语料和LSTM、BERT等深度神经网络模型进行训练,并持续迭代更新,以保证效果不断提升。
- SentimentAnalysisRequest - Class in com.tencentcloudapi.nlp.v20190408.models
-
- SentimentAnalysisRequest() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisRequest
-
- SentimentAnalysisResponse - Class in com.tencentcloudapi.nlp.v20190408.models
-
- SentimentAnalysisResponse() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
- setBeginOffset(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.CCIToken
-
Set 错别字的起始位置,从0开始
- setBeginOffset(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.NerToken
-
Set 起始位置
- setBeginOffset(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.PosToken
-
Set 起始位置
- setCCITokens(CCIToken[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionResponse
-
Set 纠错详情
- setClasses(ClassificationResult[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextClassificationResponse
-
Set 文本分类结果(文本分类映射表请参见附录)
- setConfidence(Float) - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotResponse
-
Set 对于当前输出回复的自信度
- setContent(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeEntityResponse
-
Set 返回查询实体相关信息
- setContent(EntityRelationContent[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeRelationResponse
-
Set 返回查询实体间的关系
- setContent(TripleContent[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeTripleResponse
-
Set 返回三元组信息
- setCorrectWord(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CCIToken
-
Set 错别字纠错结果
- setCreateTime(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DictInfo
-
Set 自定义词库创建时间,形式为:yyyy-mm-dd hh:mm:ss。
- setCreateTime(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordItem
-
Set 词条创建时间。
- setDescription(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateDictRequest
-
Set 自定义词库描述,不超过100字。
- setDescription(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DictInfo
-
Set 自定义词库描述信息。
- setDescription(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.UpdateDictRequest
-
Set 词库描述,不超过100字。
- setDictId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateDictResponse
-
Set 创建的自定义词库ID。
- setDictId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateWordItemsRequest
-
Set 自定义词库ID。
- setDictId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteDictRequest
-
Set 要删除的自定义词库ID。
- setDictId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteWordItemsRequest
-
Set 自定义词库ID。
- setDictId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictRequest
-
Set 自定义词库ID。
- setDictId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsRequest
-
Set 自定义词库ID。
- setDictId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisRequest
-
Set 指定要加载的自定义词库ID。
- setDictId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsRequest
-
Set 自定义词库ID。
- setDictId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.UpdateDictRequest
-
Set 自定义词库ID。
- setDicts(DictInfo[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictResponse
-
Set 查询到的词库信息列表。
- setDicts(DictInfo[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsResponse
-
Set 自定义词库信息列表。
- setDimension(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingResponse
-
Set 句向量的维度
- setDimension(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordEmbeddingResponse
-
Set 词向量的维度
- setDpTokens(DpToken[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.DependencyParsingResponse
-
Set 句法依存分析结果,其中句法依存关系的类型包括:
主谓关系,eg: 我送她一束花 (我 <-- 送)
动宾关系,eg: 我送她一束花 (送 --> 花)
间宾关系,eg: 我送她一束花 (送 --> 她)
前置宾语,eg: 他什么书都读 (书 <-- 读)
兼语,eg: 他请我吃饭 (请 --> 我)
定中关系,eg: 红苹果 (红 <-- 苹果)
状中结构,eg: 非常美丽 (非常 <-- 美丽)
动补结构,eg: 做完了作业 (做 --> 完)
并列关系,eg: 大山和大海 (大山 --> 大海)
介宾关系,eg: 在贸易区内 (在 --> 内)
左附加关系,eg: 大山和大海 (和 <-- 大海)
右附加关系,eg: 孩子们 (孩子 --> 们)
独立结构,eg: 两个单句在结构上彼此独立
标点符号,eg: 。
核心关系,eg: 整个句子的核心
- setEntityName(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeEntityRequest
-
Set 实体名称
- setFirstClassName(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.ClassificationResult
-
Set 一级分类名称
- setFirstClassProbability(Float) - Method in class com.tencentcloudapi.nlp.v20190408.models.ClassificationResult
-
Set 一级分类概率
- setFlag(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotRequest
-
Set 0: 通用闲聊, 1:儿童闲聊, 默认是通用闲聊
- setFlag(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisRequest
-
Set 词法分析模式(默认取2值):
1、高精度(混合粒度分词能力);
2、高性能(单粒度分词能力);
- setFlag(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisRequest
-
Set 待分析文本所属的类型,仅当输入参数Mode取值为2class时有效(默认取4值):
1、商品评论类
2、社交类
3、美食酒店类
4、通用领域类
- setFlag(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextClassificationRequest
-
Set 领域分类体系(默认取1值):
1、通用领域
2、新闻领域
- setHeadId(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.DpToken
-
Set 当前词父节点的序号
- setId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DictInfo
-
Set 自定义词库ID。
- setId(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.DpToken
-
Set 基础词的序号
- setId(String[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationObject
-
Set object对应id
- setId(String[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationSubject
-
Set Subject对应id
- setId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TripleContent
-
Set 实体id
- setIsExist(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchResult
-
Set 0表示词条不存在,1表示存在。
- setKeywords(Keyword[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.KeywordsExtractionResponse
-
Set 关键词提取结果
- setLeftEntityName(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeRelationRequest
-
Set 输入第一个实体
- setLength(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.AutoSummarizationRequest
-
Set 指定摘要的长度上限(默认值为200)
注:为保证摘要的可读性,最终生成的摘要长度会低于指定的长度上限。
- setLength(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.NerToken
-
Set 长度
- setLength(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.PosToken
-
Set 长度
- setLimit(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsRequest
-
Set 每页数据量,范围为1~100,默认为10。
- setLimit(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsRequest
-
Set 每页数据量,范围为1~100,默认为10。
- setMatchText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchResult
-
Set 匹配到的词条文本。
- setMode(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisRequest
-
Set 情感分类模式选项,可取2class或3class(默认值为2class)
1、2class:返回正负面二分类情感结果
2、3class:返回正负面及中性三分类情感结果
- setName(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateDictRequest
-
Set 自定义词库名称,不超过20字。
- setName(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictRequest
-
Set 自定义词库名称,模糊搜索。
- setName(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DictInfo
-
Set 自定义词库名称。
- setName(String[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationObject
-
Set object对应name
- setName(String[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationSubject
-
Set Subject对应name
- setName(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TripleContent
-
Set 实体名称
- setName(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.UpdateDictRequest
-
Set 词库名称,不超过20字。
- setNegative(Float) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
Set 负面情感概率
- setNerTokens(NerToken[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisResponse
-
Set 命名实体识别结果。取值范围:
PER:表示人名,如刘德华、贝克汉姆
LOC:表示地名,如北京、华山
ORG:表示机构团体名,如腾讯、最高人民法院、人大附中
PRODUCTION:表示产品名,如QQ、微信、iPhone
- setNeutral(Float) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
Set 中性情感概率,当输入参数Mode取值为3class时有效,否则值为空
- setNum(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.KeywordsExtractionRequest
-
Set 指定关键词个数上限(默认值为5)
- setObject(EntityRelationObject[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationContent
-
Set 实体关系查询返回关系的object
- setOffset(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsRequest
-
Set 分页偏移量,从0开始,默认为0。
- setOffset(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsRequest
-
Set 分页偏移量,从0开始,默认为0。
- setOpenId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotRequest
-
Set 服务的id, 主要用于儿童闲聊接口,比如手Q的openid
- setOrder(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.TripleContent
-
Set 实体order
- setPopular(Long[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationObject
-
Set object对应popular值
- setPopular(Long[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationSubject
-
Set Subject对应popular
- setPopular(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.TripleContent
-
Set 实体流行度
- setPos(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.PosToken
-
Set 词性
- setPos(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchResult
-
Set 词条的词性。
- setPos(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordItem
-
Set 词条的词性。
- setPositive(Float) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
Set 正面情感概率
- setPosTokens(PosToken[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisResponse
-
Set 分词&词性标注结果(词性表请参见附录)
- setQuery(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotRequest
-
Set 用户请求的query
- setRelation(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DpToken
-
Set 句法依存关系的类型
- setRelation(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationContent
-
Set 实体关系查询返回的关系名称
- setReply(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotResponse
-
Set 闲聊回复
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.AutoSummarizationResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateDictResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateWordItemsResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteDictResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteWordItemsResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DependencyParsingResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeEntityResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeRelationResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeTripleResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.KeywordsExtractionResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextClassificationResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.UpdateDictResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordEmbeddingResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setRequestId(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordSimilarityResponse
-
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- setResults(SearchResult[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsResponse
-
Set 词条检索结果集合。
- setResultText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionResponse
-
Set 纠错后的文本
- setRightEntityName(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeRelationRequest
-
Set 输入第二个实体
- setScore(Float) - Method in class com.tencentcloudapi.nlp.v20190408.models.Keyword
-
Set 权重
- setScore(Float) - Method in class com.tencentcloudapi.nlp.v20190408.models.Similarity
-
Set 相似度分数
- setSecondClassName(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.ClassificationResult
-
Set 二级分类名称
- setSecondClassProbability(Float) - Method in class com.tencentcloudapi.nlp.v20190408.models.ClassificationResult
-
Set 二级分类概率
- setSentiment(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
Set 情感分类结果:
1、positive,表示正面情感
2、negative,表示负面情感
3、neutral,表示中性、无情感
- setSimilarity(Similarity[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityResponse
-
Set 每个目标句子与源句子的相似度分值,按照分值降序排列
- setSimilarity(Float) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordSimilarityResponse
-
Set 两个词语的相似度
- setSimilarWords(String[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsResponse
-
Set 相似词数组
- setSrcText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityRequest
-
Set 需要与目标句子计算相似度的源句子(仅支持UTF-8格式,不超过500字符)
- setSrcWord(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordSimilarityRequest
-
Set 计算相似度的源词(仅支持UTF-8格式,不超过20字)
- setSubject(EntityRelationSubject[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationContent
-
Set 实体关系查询返回关系的subject
- setSummary(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.AutoSummarizationResponse
-
Set 文本摘要结果
- setTargetText(String[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityRequest
-
Set 需要与源句子计算相似度的一个或多个目标句子(仅支持UTF-8格式,目标句子的数量不超过100个,每个句子不超过500字符)
注意:每成功计算1个目标句子与源句子的相似度算1次调用
- setTargetWord(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordSimilarityRequest
-
Set 计算相似度的目标词(仅支持UTF-8格式,不超过20字)
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.AutoSummarizationRequest
-
Set 待处理的文本(仅支持UTF-8格式,不超过2000字)
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DependencyParsingRequest
-
Set 待分析的文本(仅支持UTF-8格式,不超过200字)
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsRequest
-
Set 待检索的词条文本,支持模糊匹配。
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.KeywordsExtractionRequest
-
Set 待处理的文本(仅支持UTF-8格式,不超过10000字)
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisRequest
-
Set 待分析的文本(仅支持UTF-8格式,不超过500字)
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchResult
-
Set 被搜索的词条文本。
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingRequest
-
Set 输入的文本(仅支持UTF-8格式,不超过500字)
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisRequest
-
Set 待分析的文本(仅支持UTF-8格式,不超过200字)
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.Similarity
-
Set 目标文本句子
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsRequest
-
Set 输入的词语(仅支持UTF-8格式,不超过20字)
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextClassificationRequest
-
Set 待分类的文本(仅支持UTF-8格式,不超过10000字)
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionRequest
-
Set 待纠错的文本(仅支持UTF-8格式,不超过2000字)
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordEmbeddingRequest
-
Set 输入的词语(仅支持UTF-8格式,不超过20字)
- setText(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordItem
-
Set 词条文本内容。
- setTotalCount(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsResponse
-
Set 记录总条数。
- setTotalCount(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsResponse
-
Set 词条记录总条数。
- setTripleCondition(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeTripleRequest
-
Set 三元组查询条件
- setType(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.NerToken
-
Set 命名实体类型
- setUpdateTime(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DictInfo
-
Set 自定义词库修改时间,形式为:yyyy-mm-dd hh:mm:ss。
- setVector(Float[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingResponse
-
Set 句向量数组
- setVector(Float[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordEmbeddingResponse
-
Set 词向量数组
- setWord(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CCIToken
-
Set 错别字内容
- setWord(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DpToken
-
Set 基础词
- setWord(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.Keyword
-
Set 关键词
- setWord(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.NerToken
-
Set 基础词
- setWord(String) - Method in class com.tencentcloudapi.nlp.v20190408.models.PosToken
-
Set 基础词
- setWordItems(WordItem[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateWordItemsRequest
-
Set 待添加的词条集合。
- setWordItems(WordItem[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteWordItemsRequest
-
Set 待删除的词条集合。
- setWordItems(WordItem[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsResponse
-
Set 词条信息列表。
- setWordItems(WordItem[]) - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsRequest
-
Set 待检索的词条集合。
- setWordNumber(Long) - Method in class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsRequest
-
Set 相似词个数;取值范围:1-200,默认为10;
- Similarity - Class in com.tencentcloudapi.nlp.v20190408.models
-
- Similarity() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.Similarity
-
- SimilarWords(SimilarWordsRequest) - Method in class com.tencentcloudapi.nlp.v20190408.NlpClient
-
相似词接口能够基于同义词库及词向量技术,检索出与输入词语在语义上最相似的若干个词语,可广泛用于检索系统、问答系统、文档归档等场景。
- SimilarWordsRequest - Class in com.tencentcloudapi.nlp.v20190408.models
-
- SimilarWordsRequest() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsRequest
-
- SimilarWordsResponse - Class in com.tencentcloudapi.nlp.v20190408.models
-
- SimilarWordsResponse() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsResponse
-
- TextClassification(TextClassificationRequest) - Method in class com.tencentcloudapi.nlp.v20190408.NlpClient
-
文本分类接口能够对用户输入的文本进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。
该功能基于千亿级大规模互联网语料和LSTM、BERT等深度神经网络模型进行训练,并持续迭代更新,以保证效果不断提升。
目前已提供:
- 通用领域分类体系,包括15个分类类目,分别是汽车、科技、健康、体育、旅行、教育、职业、文化、军事、房产、娱乐、女性、奥运、财经以及其他,适用于通用的场景。
- 新闻领域分类体系,包括37个一级分类类目,285个二级分类(详细请见 [类目体系映射表](https://cloud.tencent.com/document/product/271/36459)),已应用于腾讯新闻的文章分类。
更多垂直领域的分类体系即将推出,敬请期待。
- TextClassificationRequest - Class in com.tencentcloudapi.nlp.v20190408.models
-
- TextClassificationRequest() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.TextClassificationRequest
-
- TextClassificationResponse - Class in com.tencentcloudapi.nlp.v20190408.models
-
- TextClassificationResponse() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.TextClassificationResponse
-
- TextCorrection(TextCorrectionRequest) - Method in class com.tencentcloudapi.nlp.v20190408.NlpClient
-
提供对中文文本的自动纠错功能,能够识别输入文本中的错误片段,定位错误并给出正确的文本结果;支持长度不超过2000字的长文本纠错。
此功能是基于千亿级大规模互联网语料和LSTM、BERT等深度神经网络模型进行训练,并持续迭代更新,以保证效果不断提升,是搜索引擎、语音识别、内容审核等功能更好运行的基础之一。
- TextCorrectionRequest - Class in com.tencentcloudapi.nlp.v20190408.models
-
- TextCorrectionRequest() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionRequest
-
- TextCorrectionResponse - Class in com.tencentcloudapi.nlp.v20190408.models
-
- TextCorrectionResponse() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionResponse
-
- TextSimilarity(TextSimilarityRequest) - Method in class com.tencentcloudapi.nlp.v20190408.NlpClient
-
句子相似度接口能够基于深度学习技术来计算一个源句子和多个目标句子的相似度,相似度分值越大的两个句子在语义上越相似。目前仅支持短文本(不超过500字符)的相似度计算,长文本的相似度计算也即将推出。
鉴于句子相似度是一个应用非常广泛的功能,腾讯云自然语言处理团队在Bert等领先的深度神经网络模型的基础上,专门针对文本相似任务进行了优化,并持续迭代更新。基于句子相似度,可以轻松实现诸如文本去重、相似推荐等功能。
- TextSimilarityRequest - Class in com.tencentcloudapi.nlp.v20190408.models
-
- TextSimilarityRequest() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityRequest
-
- TextSimilarityResponse - Class in com.tencentcloudapi.nlp.v20190408.models
-
- TextSimilarityResponse() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityResponse
-
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.AutoSummarizationRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.AutoSummarizationResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CCIToken
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.ChatBotResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.ClassificationResult
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateDictRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateDictResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateWordItemsRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.CreateWordItemsResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteDictRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteDictResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteWordItemsRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DeleteWordItemsResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DependencyParsingRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DependencyParsingResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeDictsResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeEntityRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeEntityResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeRelationRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeRelationResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeTripleRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeTripleResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DescribeWordItemsResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DictInfo
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.DpToken
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationContent
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationObject
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.EntityRelationSubject
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.Keyword
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.KeywordsExtractionRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.KeywordsExtractionResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.LexicalAnalysisResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.NerToken
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.PosToken
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchResult
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SearchWordItemsResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentenceEmbeddingResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SentimentAnalysisResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.Similarity
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.SimilarWordsResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextClassificationRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextClassificationResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextCorrectionResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TextSimilarityResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.TripleContent
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.UpdateDictRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.UpdateDictResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordEmbeddingRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordEmbeddingResponse
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordItem
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordSimilarityRequest
-
Internal implementation, normal users should not use it.
- toMap(HashMap<String, String>, String) - Method in class com.tencentcloudapi.nlp.v20190408.models.WordSimilarityResponse
-
Internal implementation, normal users should not use it.
- TripleContent - Class in com.tencentcloudapi.nlp.v20190408.models
-
- TripleContent() - Constructor for class com.tencentcloudapi.nlp.v20190408.models.TripleContent
-