Package | Description |
---|---|
com.tencentcloudapi.nlp.v20190408 | |
com.tencentcloudapi.nlp.v20190408.models |
Modifier and Type | Method and Description |
---|---|
WordSimilarityResponse |
NlpClient.WordSimilarity(WordSimilarityRequest req)
词相似度接口能够基于词向量技术来计算两个输入词语的余弦相似度,相似度数值越大的两个词语在语义上越相似。
|
Constructor and Description |
---|
WordSimilarityRequest(WordSimilarityRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2022. All rights reserved.