About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Jul 15, 2024
Watson Natural Language Processing encapsulates natural language functionality in standardized components called blocks or workflows. Each block or workflow can be loaded and run in a notebook, some directly on input data, others in a given order.
This topic contains descriptions of the natural language processing tasks supported in the Watson Natural Language Processing library. It lists the task names, the languages that are supported, dependencies to other blocks and includes sample code of how you use the natural language processing functionality in a Python notebook.
The following natural language processing tasks are supported as blocks or workflows in the Watson Natural Language Processing library:
- Language detection
- Syntax analysis
- Noun phrase extraction
- Keyword extraction and ranking
- Entity extraction
- Embeddings
- Sentiment classification
- Tone classification
- Emotion classification
- Concepts extraction
- Relations extraction
- Hierarchical text categorization
Language codes
Many of the pre-trained models are available in many languages. The following table lists the language codes and the corresponding language.
Language code | Corresponding language | Language code | Corresponding language |
---|---|---|---|
af | Afrikaans | ar | Arabic |
bs | Bosnian | ca | Catalan |
cs | Czech | da | Danish |
de | German | el | Greek |
en | English | es | Spanish |
fi | Finnish | fr | French |
he | Hebrew | hi | Hindi |
hr | Croatian | it | Italian |
ja | Japanese | ko | Korean |
nb | Norwegian Bokmål | nl | Dutch |
nn | Norwegian Nynorsk | pl | Polish |
pt | Portuguese | ro | Romanian |
ru | Russian | sk | Slovak |
sr | Serbian | sv | Swedish |
tr | Turkish | zh_cn | Chinese (Simplified) |
zh_tw | Chinese (Traditional) |
Parent topic: Watson Natural language Processing library
Was the topic helpful?
0/1000