Chinese word segmentation (e-commerce titles)
Chinese word segmentation (Premium Edition - e-commerce title realm)
Usage notes
This service is a feature of the Premium Edition. You must activate the Premium Edition to use this service for free. Click the following link to activate the service: Activate now
Supported language: Chinese
Supported realm: E-commerce titles
Feature description: This feature segments continuous natural language text into a semantically coherent and complete sequence of words.
Request parameters
Name | Type | Required | Sample value | Description |
Action | String | Yes | GetWsCustomizedChEcomTitle | A required parameter. Value: GetWsCustomizedChEcomTitle |
ServiceCode | String | Yes | alinlp | This is a static field. The value must be alinlp. |
Text | String | Yes | Enter text | The text to analyze. The maximum length is 1024 characters. |
TokenizerId | String | Yes | MAINSE | A static field. The value must be MAINSE. |
OutType | String | No | 1 | 0: large granularity, 1: medium granularity (default), 2: small granularity |
Response data
Name | Type | Example | Description |
Data | String | |
|
RequestId | String | FA53D08F-37D1-4D81-BEE7-41F24E825F60 | The unique ID of the request. Use this ID to troubleshoot issues. |
Semantic tag types
Lexical type | Tag type |
Basic word | Chinese |
Basic word | Chinese phrase |
Basic word | Chinese-English mixed |
Basic word | Chinese-English mixed phrase |
Basic word | Alphabetic word |
Idiom | Chengyu (Chinese idiom) |
Idiom | Archaic word |
Idiom | Common phrase |
Proper noun | Animal |
Proper noun | Plant |
Proper noun | Weapon |
Proper noun | Holiday |
Proper noun | Dish |
Proper noun | Musical instrument |
Proper noun | Traditional Chinese medicine |
Proper noun | Language |
Proper noun | Medicine |
Proper noun | Sports |
Proper noun | Astronomy |
Proper noun | Meteorology |
Proper noun | Organ |
Proper noun | Ethnicity |
Proper noun | Disease |
Erotic vocabulary | Chinese |
Erotic vocabulary | Chinese phrase |
Erotic vocabulary | Chinese-English mixed |
Erotic vocabulary | Chinese-English mixed phrase |
Erotic vocabulary | Alphabetic word |
Incorrect word | / |
Administrative division | Country and region |
Administrative division | Division with a non-removable suffix |
Administrative division | Division without a suffix |
Administrative division | General administrative division |
Person name | Chinese name |
Person name | Japanese name |
Person name | Western name |
Person name | English name |
Person name | Band or group with a suffix |
Person name | Band or group without a suffix |
Organization | Non-specific organization name |
Organization | Specific organization name |
Organization | Organization name without an administrative division |
Organization | Abbreviated organization name |
Organization | Organization-specific |
Website | Channel name |
Website | Compound |
Website | With website suffix |
Website | Organization name |
Website | Without website suffix |
Website | Other |
Website | Domain name type |
Website | Baidu Tieba |
Product | Brand |
Product | Model |
Product | Specification |
Software | Software name only |
Software | Software name with version number |
Culture and entertainment | Game |
Culture and entertainment | Film and television |
Culture and entertainment | Newspaper and magazine |
Culture and entertainment | Drama and song |
Culture and entertainment | Book and course |
Culture and entertainment | Flash work |
Finance | Stock name |
Finance | Stock code |
Finance | Fund name |
Finance | Lottery |
Sports | Independent team with suffix |
Sports | Independent team without suffix |
Sports | Compound team with suffix |
Sports | Compound team without suffix |
Sports | Fleet |
Non-administrative place name | Scenic spot |
Non-administrative place name | Other |
Real estate | Commercial |
Real estate | Residential |
Food, drink, and entertainment | Recreation and leisure |
Food, drink, and entertainment | Service venue |
Technical term | MFC vocabulary |
Technical term | SQL vocabulary |
Technical term | UNIX and C vocabulary |
Technical term | Regulation |
Abbreviation | Chinese abbreviation |
Abbreviation | Full Chinese name for abbreviation |
Abbreviation | English abbreviation |
Abbreviation | Full Chinese name for English abbreviation |
Miscellaneous | Event |
Product type | Simple |
Product type | Compound |
Product type | General name |
Special product | Favorites |
Special product | Virtual |
Special product | Service |
Film and television | / |
Game | / |
Book and literature | / |
Promotional word | / |
Product type attribute word | / |
Product type modifier | / |
Postage word type | / |
Prefix non-genuine product word type | / |
Suffix non-genuine product word type | / |
Non-genuine product word type | / |
Genuine product word type | / |
Giveaway word type | / |
Negation word type | / |
Imitation product word type | / |
Prefix attachment word type | / |
Suffix attachment word type | / |
General product type modifier | / |
New word of unknown type | / |
Style | / |
Group | / |
Feature and effect | / |
Scenario | / |
Audience | / |
Material | / |
Unit word | / |
Character | / |
Style | / |
Element | / |
Color | / |
Variety | / |
Flavor | / |
Origin | / |
Product | Series |
Product | General type |
Product | Item number |
Store | Promotion-exclusive |
API access
For information about code-based access, see Quick Start.
To try the service online, see Online trial.
Error codes
If an error occurs during an API call, refer to the following table for troubleshooting. The description for each error code provides its cause and solution.
HttpCode | Error code | Error message | Description |
400 | UserStatusInvalid | The user status is invalid. | The user status is invalid. Check if your account has overdue payments or unpaid bills. |
400 | BasicServiceNotActivated | The NLP API (Version : base) service has not been activated. Please click the url to confirm the activation status: https://common-buy.aliyun.com/?commodityCode=nlp_alinlpBasePost_public_cn#/buy | The NLP API (Basic Edition) service is not activated. Click the link to check the activation status: https://common-buy.aliyun.com/?commodityCode=nlp_alinlpBasePost_public_cn#/buy |
400 | AdvancedServiceNotActivated | The NLP API (Version : advanced) service has not been activated. Please click the url to confirm the activation status: https://common-buy.aliyun.com/?commodityCode=nlp_alinlpAdvancedPost_public_cn#/buy | The NLP API (Premium Edition) service is not activated. Click the link to check the activation status: https://common-buy.aliyun.com/?commodityCode=nlp_alinlpAdvancedPost_public_cn#/buy |
400 | IndustryServiceNotActivated | The NLP API (Version : industry) service has not been activated. Please click the url to confirm the activation status:https://common-buy.aliyun.com/?commodityCode=nlp_alinlpIndustryPost_public_cn#/buy | The NLP API (Industry Application Edition) service is not activated. Click the link to check the activation status: https://common-buy.aliyun.com/?commodityCode=nlp_alinlpIndustryPost_public_cn#/buy |
401 | InvalidParameter | The parameter is invalid. | The parameter is invalid. Check the request parameters. |
403 | Forbidden.NoAuth | You are not authorized to operate on the specified resource. Please click the URL for help information:https://help.aliyun.com/document_detail/177209.html | Your account does not have the permissions to operate on the specified resource. Click the URL for help: https://help.aliyun.com/document_detail/177209.html |
405 | TextLimitExceeded | The maximum length of the text is exceeded. | The text length exceeds the limit. |
406 | TextCodingError | An encoding error occurred to the input text. | The input text has an encoding error. |
410 | FrameworkError | Framework internal server error. | Framework error. |
411 | FrameworkApiError | Framework API error. | Framework API error. |
412 | FrameworkFormatError | Framework request format error. | Framework request format error. |
413 | FrameworkReturnError | Framework return type format error. | Framework response format error. |
429 | Throttling.User | Flow control has been triggered. | The maximum number of queries per second (QPS) is exceeded. Click the URL for help: https://help.aliyun.com/document_detail/69780.html#p-wq5-zb9-5wu |
500 | InternalError | A server error occurred while processing your request. Please try again later or contact customer support. | A server error occurred while processing your request. Try again later or contact customer support. |