SDK Introduction
NLP Overview
Natural Language Processing (NLP) is a cloud service catered for enterprises and developers for text analysis and mining. It provides open APIs for efficient text processing.
SDK Overview
The NLP software development kit (SDK) encapsulates the RESTful APIs provided by NLP to simplify application development. You can directly call API functions provided by NLP SDKs to use the service capabilities. Currently, the NLP SDK supports the Java version. For other languages, you can invoke corresponding services by calling APIs.
Mappings Between Services and APIs
| Class | Method | API |
|---|---|---|
| NlpfClient | segment | POST /v1/{project_id}/nlp-fundamental/segment |
| ner | POST /v1/{project_id}/nlp-fundamental/ner | |
| domainNer | POST /v1/{project_id}/nlp-fundamental/ner/domain | |
| getTextSimilarity | POST /v1/{project_id}/nlp-fundamental/text-similarity | |
| getSentenceVectors | POST /v1/{project_id}/nlp-fundamental/sentence-embedding | |
| NlgClient | summary | POST /v1/{project_id}/nlg/summarization |
| NluClient | getSentiment | POST /v1/{project_id}/nlu/sentiment |
| getDomainSentiment | POST /v1/{project_id}/nlu/sentiment/domain | |
| classifyText | POST /v1/{project_id}/nlu/classification | |
| getIntent | POST /v1/{project_id}/nlu/semantic-parser | |
| MtClient | translateText | POST /v1/{project_id}/machine-translation/text-translation |
| detectLanguage | POST /v1/{project_id}/machine-translation/language-detection |
Next Article: Authentication
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.