1# Overview of Word Selection Service (for System Applications Only) 2 3Since API version 20, the word selection service is available. It provides capabilities for processing text across applications and managing word selection applications. 4 5This service is mainly used in scenarios such as text translation, content summarization, and term explanation. For example, when a user long presses a word in a news article in foreign language, the translation service is automatically triggered and the translation is displayed in a floating window; when a user selects a long paragraph in a reading application, this content can be quickly summarized; when a user selects a professional term in an education application, an instant explanation card is displayed. 6 7## Working Principles 8 9The word selection service can be enabled or disabled as required. When the service is enabled, it listens for multimodal events to identify word selection actions, sets word selection marks through the pasteboard API, and triggers the simulated **CTRL+C** operations. After the selected text is written to the pasteboard, the pasteboard calls the API of the service to return the selected content, which is then sent to the application for processing. 10 11 12 13## Capabilities 14 15- Selecting words: 16 17 Hold left mouse button and move the cursor, double-click, and triple-click. 18 19- Managing the word selection panels: 20 21 You can create and manage menu panels and main panels, perform panel operations (such as adding, moving, hiding, and destroying panels), and configure panel content. 22 23## Constraints 24 25- This service is supported on 2-in-1 devices with external keyboards and mouses. 26 27- The maximum length of selected text is 6000 bytes. 28