WO2016023424A1 - 一种用于屏幕显示设备的文字编辑方法及装置 - Google Patents
一种用于屏幕显示设备的文字编辑方法及装置 Download PDFInfo
- Publication number
- WO2016023424A1 WO2016023424A1 PCT/CN2015/085910 CN2015085910W WO2016023424A1 WO 2016023424 A1 WO2016023424 A1 WO 2016023424A1 CN 2015085910 W CN2015085910 W CN 2015085910W WO 2016023424 A1 WO2016023424 A1 WO 2016023424A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- text
- confusing
- modified
- input
- original
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/56—Information retrieval; Database structures therefor; File system structures therefor of still image data having vectorial format
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/5838—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
- G06F3/0237—Character input methods using prediction or retrieval techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
Definitions
- the present application relates to text editing technology, and in particular to a text editing method for a screen display device.
- the present application also provides a text editing apparatus for a screen display device.
- the text input method refers to an encoding method used to input various text symbols into a computer or other device such as a mobile terminal.
- a computer or other device such as a mobile terminal.
- users have higher and higher requirements for text input methods.
- keyboard input methods there have been many handwriting input methods, optical character recognition OCR input methods, and voice input.
- a text input method there have been many handwriting input methods, optical character recognition OCR input methods, and voice input.
- the traditional keyboard input method is to input numbers, letters and symbols by tapping the keyboard, or input Chinese characters according to the pinyin rules. It is a commonly used text input method; when encountering uncommon words or strange words, you can use handwriting input method to perform text according to strokes. Input and recognition; OCR input is to check the characters printed on the paper by electronic devices (such as scanners or digital cameras), determine the shape by detecting dark and bright patterns, and then convert the shape into text by character recognition; The input method is to compare the existing voice information stored in a computer or the like by converting the voice of the speaker into a sound signal, thereby identifying the text corresponding to the sound signal, and the input method is currently widely used.
- the original text information is often edited for various reasons, for example, the original text information obtained by voice input conversion, for technical reasons and The user's pronunciation is not standard or the pronunciation is unclear.
- the correct rate of voice input to text function is usually less than 100%, especially in the case of external interference caused by noise, text information converted by voice input method. There will be more errors in the middle.
- the user usually uses the traditional input method for further editing and modification.
- the user needs to input piny letters or strokes one by one, and multiple candidates given from the input method system.
- the texts that match the intent are selected in the item, and the handwriting input still has the possibility of recognizing the error and input again, so the entire editing and modification process is cumbersome.
- the physical keyboard of a mobile terminal device such as a mobile phone or a virtual keyboard displayed on a touch screen
- due to a button The size is relatively small, and the editing and modification process is more error-prone, making text editing inefficient and affecting the user experience.
- the present application provides a text editing method for a screen display device, which solves the problems of cumbersome steps, error-prone, and low editing efficiency of the existing text editing method.
- the present application additionally provides a text editing apparatus for a screen display device.
- the present application provides a text editing method for a screen display device, including:
- the to-be-modified text in the original text information is replaced with the selected candidate alternative text.
- the displaying the original text information in the text editing area of the screen display device means displaying the customized text editing area in which the size and interval of the text are optimized for convenience of clicking or touching.
- the original text information is displayed in the text editing area of the screen display device.
- the original text information is obtained by: voice input, handwriting input, keyboard input, or optical character recognition OCR input.
- the confusing text database is obtained from a server and stored locally;
- the candidate alternative texts corresponding to the to-be-modified text are obtained from the confusing text database, including:
- the confusing text database is stored on the server
- the obtaining candidate alternative text corresponding to the to-be-modified text from the confusing text database includes:
- the method includes:
- the manual input manner includes: voice input, keyboard input, or handwriting input;
- the application also provides a text editing device for a screen display device, comprising:
- the original text display unit is configured to display the original text information in a text editing area of the screen display device
- a text receiving unit to be modified configured to receive a selection of a text to be modified in the original text information
- a candidate text obtaining unit configured to obtain a candidate alternative text corresponding to the to-be-modified text from the confusing text database
- a candidate text display unit configured to display the candidate substitute text in a recommended area of the screen display device
- An alternative text receiving unit configured to receive a selection of the candidate alternative text
- a smart substitute execution unit configured to replace the to-be-modified text in the original text information with the candidate alternative text received by the substitute text receiving unit.
- the original text display unit is specifically configured to display the original text information in a custom text editing area that is optimized for size and spacing of characters for easy click or touch.
- the original text information displayed by the original text display unit is obtained by: voice input, handwriting input, keyboard input, or optical character recognition OCR input.
- the confusing text database used by the candidate text obtaining unit is obtained from a server, And stored locally;
- the candidate text obtaining unit comprises:
- a database selection subunit configured to select a corresponding confusing text database according to the input manner of the original text information
- the confusing text query sub-unit is configured to perform a query operation in the selected confusing text database to obtain an confusing text corresponding to the to-be-modified text;
- the confusing text filtering sub-unit is configured to filter the confusing text that has been obtained according to the context of the text to be modified in the original text information and the application scenario of the original text information, and filter out
- the confusing text is a candidate alternative text corresponding to the text to be modified.
- the confusing text database used by the candidate text obtaining unit is stored on the server;
- the candidate text obtaining unit comprises:
- a request sending subunit configured to send, to the server, a request for acquiring a candidate alternative text, where the request includes at least the text to be modified
- the response receiving subunit is configured to receive candidate alternative text corresponding to the to-be-modified text returned by the server.
- the device includes:
- a manual input receiving unit configured to receive text input by manual input when the selection of the candidate alternative text is not received, as a manual input substitute text;
- the manual input manner includes: voice input, keyboard input, or Handwriting input;
- a manual replacement execution unit configured to replace the to-be-modified text in the original text information with the manual input substitute text
- a database update unit configured to update the manual input alternative text into the confusing text database as a confusing text item corresponding to the to-be-modified text.
- the text editing method for the screen display device avoids the traditional input by acquiring the candidate alternative text corresponding to the text to be modified from the confusing text database and replacing the to-be-modified text in the original text information.
- the operation is cumbersome and error-prone.
- the user only needs to select the text to be modified and select the desired alternative text from the candidate alternative text to complete the editing operation.
- the accuracy and operational efficiency of the text editing process is increased, and the editing time of the user is reduced. Especially in the editing operation after the voice input to the text of the mobile terminal is applied, the user experience can be effectively improved.
- FIG. 1 is a first flowchart of an embodiment of a text editing method for a screen display device of the present application
- FIG. 2 is a second flowchart of an embodiment of a text editing method for a screen display device of the present application
- FIG. 3 is a schematic diagram of an effect of a custom text editing area provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of an embodiment of a text editing apparatus for a screen display device of the present application.
- a text editing method for a screen display device and a text editing device for a screen display device are respectively provided. Detailed description will be made one by one in the following embodiments.
- FIG. 1 is a first flowchart of an embodiment of a text editing method for a screen display device according to the present application. The method includes the following steps:
- Step S101 Display original text information in a text editing area of the screen display device.
- the technical solution of the embodiment of the present application displays a candidate alternative text (also referred to as a recommendation word) corresponding to the to-be-modified text according to the to-be-modified text selected by the user in the original text information, and replaces the candidate with the candidate alternative text selected by the user.
- the text to be modified in the original text information is implemented, thereby realizing a text editing method based on the smart recommendation method, which can improve the accuracy and operation efficiency of the text editing process.
- the technical solution of the embodiment of the present application is applied to the mobile terminal device.
- the beneficial effect is more obvious.
- the technical solution of the embodiment of the present application is not limited to the above application scenario, and the original text information displayed on the screen display device can be generally used for editing. Please refer to the technical solutions of the embodiments, such as a personal computer, a smart phone, an IPAD device, and the like.
- the original text information in the embodiment of the present application may be generated by using voice input, handwriting input, keyboard input, or optical character recognition OCR input, or may be acquired by other methods, and the technology of this embodiment is used.
- the program is not specifically limited.
- this step displays the original text information to be edited in the text editing area of the screen display device.
- this step displays the original text information to be edited in the text editing area of the screen display device.
- a text edit box provided by the system by default (for example, generally used)
- the text editing box in the short message receiving and receiving application is inconvenient for the user to select the text to be modified by the touch operation on the touch screen. Therefore, the embodiment of the present application provides a preferred embodiment, that is, in order to facilitate click or touch.
- the original text information is displayed in a custom text editing area that is optimized for the size and spacing of the text.
- the technical solution of the embodiment of the present application is implemented on the smart phone device, and the default text edit box is not used, but a visual area is customized according to the resolution of the display screen of the device.
- the specific implementation may adopt a scroll view scrollview control, and then use the UILabel control to draw a grid of a certain size in the visual area, the size of the grid is set according to the size and interval of the preset display text, Each Chinese character, letter, number or symbol in the original text information is sequentially displayed in each grid.
- FIG. 3 it is a schematic diagram of the effect of the custom text editing area provided by the embodiment of the present application, where 301 is a custom text editing area of the embodiment. It can be seen from the figure that the original text information can be displayed on the screen in a relatively clear manner by using the above-mentioned manner to customize the text editing area, thereby facilitating the user to select the desired modification through the touch operation on the touch screen.
- the text is either the cursor insertion position.
- Step S102 Receive a selection of the text to be modified in the original text information.
- the operation of the keyboard or the mouse by the user may be received, so that the text to be modified selected by the user is obtained; if the mobile terminal device such as a smart phone with a touch screen or an IPAD is implemented on the mobile terminal device
- the technical solution of the embodiment of the present application can obtain the text to be modified selected by the user by receiving a touch action of the user on the touch screen.
- the user touches the touch event of the touch screen into three types: click, long press, slide, and capture the touch event of the user on the touch screen through the system API, according to The event type and event location to perform the corresponding action.
- click long press
- slide capture the touch event of the user on the touch screen through the system API, according to The event type and event location to perform the corresponding action.
- the click and slide operations are involved, and the purpose of the long press operation is described in the subsequent paragraphs.
- Step S103 Obtain candidate alternative characters corresponding to the to-be-modified text from the confusing text database.
- the confusing text database described in the present application refers to a database that is stored in accordance with a designed data format by collecting confusing texts, collecting and classifying confusing texts, and performing query operations in the database using specific texts. , one or more confusing words corresponding to the specific text can be obtained.
- the confusing text database can be divided into different categories, for example, a pronunciation confusing text database, which stores words with the same pronunciation or similar; the font is confusing A text database that stores confusing text with similar glyphs.
- the confusing text database may be obtained from the server and stored locally, or may be stored only on the server side. The following describes how to obtain the candidate alternative characters in the two embodiments. .
- the corresponding confusing text database is selected.
- the original text information is a text input through a voice input method or a pinyin method through a keyboard, and a dictionary of confusing words can be selected; if the original text information is obtained by using an optical character recognition method (OCR) or a handwriting input method, the original text information can be selected. Glyphs are confusing to the text database.
- the query operation may be performed according to the to-be-modified text, and the confusing text corresponding to the to-be-modified text is obtained.
- the confusing text obtained by the above query operation can be directly displayed as a candidate alternative text on the display screen.
- the confusing The text is further filtered. Specifically, according to the context of the to-be-modified text in the original text information, the confusing text with a relatively high matching rate in the same or similar context is selected, and the original text information can also be considered.
- the original text information is applied in the client APP of the e-commerce platform, then the confusing text related to the e-commerce transaction can be selected, and the confusing text filtered by the above process is used as the corresponding office.
- the server sends a request for acquiring the candidate alternative text, where the request includes at least the to-be-modified text; and the candidate substitute text corresponding to the to-be-modified text returned by the server is received.
- the server stores the original text information, for example, the original text information is input by using a voice input method on the client, and the server is responsible for converting the original text information into the original text information and returning to the client.
- the server has already stored the original text information, so the client can carry only the text to be modified in the request; if the server does not store the original text information, the client can also carry the request in the request.
- the original text information and the manner in which the original text information is obtained are facilitated, so that the server can perform related processing operations.
- Step S104 Display the candidate substitute text in a recommended area of the screen display device.
- the candidate alternative text that has been acquired is displayed in the recommended area of the screen display device, so that the user can select the desired alternative text therefrom.
- 302 is a recommendation area in a specific example of the embodiment.
- the above drawings are only schematic. In a specific implementation, the location and size of the recommended area may be set according to specific conditions.
- Step S105 Receive a selection of the candidate alternative text.
- the step is similar to the step S102, and the click operation of the mouse or the touch operation of the touch screen by the user may be performed according to the location information of the click or touch operation to determine whether it is a click on a candidate alternative text in the recommended area or The touch operation, if yes, the candidate alternative text is the alternative text selected by the user.
- Step S106 replacing the to-be-modified text in the original text information with the selected candidate alternative text.
- the candidate text to be modified in the original text information is replaced with the candidate alternative text selected in step S105, and the original text information on which the above-mentioned replacement operation is performed should also be displayed in the text editing area.
- the candidate alternative text selected in step S105 is the same as the number of words of the to-be-modified text
- the candidate alternative text is directly displayed verbatim on the network where the to-be-modified text is located.
- the candidate substitute text is different from the number of words of the text to be modified, it is also necessary to adjust the display of part of the original text information after the text to be modified in the text editing area.
- the process of replacing and editing the text to be modified by the smart recommendation method is described above.
- the above process is referred to as an intelligent recommendation method because the implementation of the process does not require the user to manually input the required replacement text.
- the candidate alternative text corresponding to the text to be modified is automatically obtained by the method provided in this embodiment and recommended to the user on the interface, so that the user only needs to select from the candidate alternative characters to complete the replacement operation.
- Step S107 Receive the text input by the manual input method as a manual input substitute text.
- the user is provided with an interface for inputting by manual input on the display interface of the screen display device, and receives corresponding input text according to the user's selection.
- the manual input method includes: voice input, keyboard input, or handwriting input.
- a button for performing a voice input operation is displayed on the interface, and if a click or touch operation on the button is received, the voice input information of the user is started to be received, and when the pause time of the voice input is detected, the preset time is exceeded.
- the threshold or the click or touch operation for stopping the voice input button is detected, the voice input process is terminated, and the input voice information is converted into text, that is, the manual input substitute text described in this step is obtained.
- the voice recording process can be implemented by calling a related function or interface provided by the AVAudioRecorder class, and then the generated AMR voice file is sent to the server responsible for converting the voice into text through the HTTP protocol or other means for processing.
- the server responsible for converting the voice into text through the HTTP protocol or other means for processing.
- Techniques such as feature extraction and model matching convert speech into text and return it to the client.
- the technology of voice-converted text is relatively mature.
- Android provides an open source implementation of Speech To Text, which can be implemented by those skilled in the art.
- the artificial substitute text can also be obtained by receiving a keyboard input.
- a keyboard input For example, for a personal computer, the input of the keyboard can be monitored and received, and the substitute text input by the user can be obtained.
- a button for performing a keyboard input operation can be displayed on the interface, if the button is received. The click or touch operation brings up the default virtual keyboard of the system for the user to input text.
- the candidate virtual text can be automatically displayed in the recommended area, and the default virtual keyboard is automatically used by the user.
- the system can be called to implement a virtual keyboard call, for example, the first keyboard can be called up on the ios platform by calling the firstfirstresponder() function.
- a corresponding manual input interface can be provided on the display interface as needed, and the manual input mode can be invoked by using different trigger modes, as long as the user can obtain the manual input mode. Enter the text (ie: manually enter the alternate text).
- Step S108 replacing the to-be-modified text in the original text information with the manual input substitute text.
- step S107 the manual input substitute text is acquired, and the text to be modified in the original text information is replaced by the text in this step, and the original displayed in the text editing area is updated in a manner similar to step S106. text information.
- the text to be modified is replaced with the text acquired by other input methods.
- the user does not make a selection in the candidate alternative text (or the candidate alternative text is not displayed in the recommendation area), indicating that the confusing text corresponding to the to-be-modified text in the confusing text database is not perfect enough, in order to be able to enrich and improve the
- the self-learning function of the confusing text database is provided in the confusing text database, so as to update the manual input alternative text to the easy In the confusing text database, as a confusing text item corresponding to the text to be modified.
- the text to be modified and the corresponding manual input alternative text may be sent to the server through the HTTP protocol or other manners, and the service may be sent to the server.
- the terminal can use its own strategy to determine whether it needs to update the relevant data and handle it accordingly.
- the data update operation may be directly performed on the local database, and the manual input substitute text is used as an confusing text item of the to-be-modified text. , added to the local database.
- the updated database data may also be uploaded to the server for aggregation and/or sharing by the server.
- different strategies may be used to set the timing and amount of data to be uploaded. For example, uploading may be performed in real time or periodically, and each upload may also select to upload the full amount of data of the local confusing text database or only Is the incremental data that was recently updated.
- the server can summarize the received data according to its own strategy, and can share the summarized database for the client to download and use. In the above manner, by summarizing and sharing the self-learning results of each client in the system, it is helpful to improve the effectiveness of intelligent recommendation in the entire system.
- the foregoing steps describe the replacement operation of the to-be-modified text.
- the technical solution of the embodiment may further support the deletion operation of the to-be-modified text.
- the processing includes steps S109-S110, and the following two steps are performed. Description.
- Step S109 Receive a click or touch operation on a physical button or a virtual button for performing a delete operation.
- the physical button described in this step refers to a button on a physical keyboard, for example, a button on a personal computer keyboard, a button on a physical keyboard provided by a mobile terminal device under the display screen, a menu button, a confirmation button, and the like, and a mobile terminal device.
- the side keys and the like; the virtual keys described in this step generally refer to keys and virtual buttons on the virtual keyboard displayed on the display screen.
- buttons triggers the execution of different functions.
- this step by monitoring the click operation of the user and the touch operation on the touch screen, it is determined whether the clicked or touched is a physical button or a virtual button for performing the delete operation, and if so, the subsequent step S110 is performed.
- Step S110 deleting the to-be-modified text from the original text information.
- the original text information after the deletion operation is performed is updated in the text editing area.
- the function of performing the replacement and deletion for the selected text described in the above steps S101-S110 may be performed, and the insertion position according to the user selection may also be performed.
- the text insertion processing flow based on the selected insertion position includes the following steps S201 to S203.
- Step S201 Receive a selection of an insertion position in the original text information.
- the operation mode representing the selection insertion position may be set in advance, and when the operation mode is detected in the text editing area, the user's selection of the insertion position is received.
- the user touches the touch event of the touch screen into three types: click, long press, slide, and capture the touch event of the user on the touch screen through the system API, wherein the click event
- the click event For the processing of the sliding event, refer to the description in step S102.
- the long press event is preset to represent the user's selection of the insertion position, it is determined whether the user performs a long press operation in a certain mesh area according to the detected position parameter of the long press event. If yes, the text insertion position is located between the corresponding text of the grid area and the corresponding text of the next grid area, and a highlighted flashing vertical bar is drawn on the right edge of the grid area to prompt the user to select the currently selected Insert position.
- Step S202 Receive text input by manual input.
- the user is provided with an interface for inputting by manual input on the display interface of the screen display device, and receives corresponding input text according to the user's selection.
- This step is similar to step S107.
- Step S203 Insert the text acquired by the previous step into the insertion position in the original text information.
- the text acquired in step S202 is inserted into the corresponding insertion position in the original text information, and correspondingly, the original text information after the insertion operation is performed is updated in the text editing area.
- the text deletion process based on the selected insertion position includes steps S204-S206:
- Step S204 Receive a selection of an insertion position in the original text information.
- This step is basically the same as step S201. Please refer to the related description of step S201.
- Step S205 receiving a click or touch operation on a physical button or a virtual button for performing a delete operation
- step S109 For the description of the physical button and the virtual button, refer to the relevant part in step S109.
- step S206 by monitoring the user's click operation and the touch operation on the touch screen, it is determined whether the clicked or touched is a physical button or a virtual button for performing the delete operation, and if so, the subsequent step S206 is performed.
- Step S206 deleting the text before or after the insertion position from the original text information.
- multiple physical keys or virtual keys for performing a delete operation may be preset, and different operation modes are defined for different keys.
- a delete key on a conventional virtual keyboard is usually deleted at the insertion position.
- the previous text, and the delete key (delete key) on the physical keyboard usually deletes the text after the insertion position.
- the text before or after the insertion position is deleted from the original text information according to different operation modes corresponding to the received physical button or virtual button.
- the original text information after the deletion operation is performed is updated in the text editing area.
- the processing flow for clearing all the original text information includes the following steps S207 to S208.
- Step S207 Receive a click or touch operation on a physical button or a virtual button for performing a clear operation.
- step S109 For the description of the physical button and the virtual button, refer to the relevant part in step S109.
- step S208 by monitoring the user's click operation and the touch operation on the touch screen, it is determined whether the clicked or touched is a physical button or a virtual button for performing the clear operation, and if so, the subsequent step S208 is performed.
- Step S208 Clear the original text information and return to the state before the text editing.
- the clear operation described in this step refers to deleting all the original text information, and correspondingly clearing the original text information displayed in the text editing area, and returning to the state before the text editing.
- step S101 After executing the step S101 to display the original text information in the text editing area of the screen display device, it is confirmed that the processing flow for completing the current editing includes steps S209 to S210.
- Step S209 Receive a click or touch operation for confirming the physical button or virtual button of the editing operation.
- step S109 For the description of the physical button and the virtual button, refer to the relevant part in step S109.
- this step by monitoring the user's click operation and the touch operation on the touch screen, it is determined whether the clicked or touched is a physical button or a virtual button for confirming completion of the editing operation, and if yes, performing the subsequent step S210 .
- Step S210 Perform a corresponding completion operation, where the completion operation includes: a save operation or a send operation.
- a corresponding completion operation is performed.
- the completion operation performed in this step may be different.
- the edited original text information is usually saved; and in some instant messaging.
- the edited original text information can be directly sent.
- this step may also perform other operations that are different from the above operations and that represent the completion of the editing.
- the processing flow of the text editing method for the screen display device provided by the technical solution of the embodiment is described above. It should be noted that the steps S101-S106 are the core of the technical solution. Through these steps, the editing operation of replacing the to-be-modified text according to the smart recommendation word can be realized.
- the other steps are to provide users with different text input methods or other editing operation modes, which are not necessary steps for implementing the technical solution. In specific implementation, they may be selected or adjusted according to needs.
- the text editing method for the screen display device uses the candidate alternative text corresponding to the to-be-modified text from the confusing text database to replace the to-be-modified text in the original text information, thereby avoiding the traditional
- the manual input method is cumbersome and error-prone.
- the user only needs to select the text to be modified and select the desired alternative text from the candidate alternative text to complete the editing operation, which improves the accuracy and operation efficiency of the text editing process and reduces the efficiency.
- User's editing time Especially in the editing operation after the voice input to the text of the mobile terminal is applied, the user experience can be effectively improved.
- FIG. 4 is a schematic diagram of an embodiment of a text editing apparatus for a screen display device according to the present application. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment. The device embodiments described below are merely illustrative.
- a text editing apparatus for a screen display device of the embodiment includes: an original text display The unit 401 is configured to display the original text information in the text editing area of the screen display device; the text receiving unit 402 to be modified is configured to receive a selection of the text to be modified in the original text information; the candidate text obtaining unit 403 is configured to Obtaining a candidate alternative text corresponding to the to-be-modified text from the confusing text database; the candidate text display unit 404 is configured to display the candidate substitute text in a recommended area of the screen display device; and the alternative text receiving unit 405 is configured to: Receiving a selection of the candidate alternative text; the smart substitute execution unit 406 is configured to replace the to-be-modified text in the original text information with the candidate alternative text received by the substitute text receiving unit.
- the device further includes: a first manual input receiving unit 407, configured to receive the text input by the manual input mode as a manual input substitute text when the selection of the candidate alternative text is not received; the manual replacement execution unit 408 And replacing the text to be modified in the original text information with the manual input substitute text.
- a first manual input receiving unit 407 configured to receive the text input by the manual input mode as a manual input substitute text when the selection of the candidate alternative text is not received
- the manual replacement execution unit 408 And replacing the text to be modified in the original text information with the manual input substitute text.
- the device further includes: a first deletion operation receiving unit 409, configured to receive a click or touch on a physical button or a virtual button for performing a delete operation after the candidate substitute text is displayed in a recommended area of the screen display device
- the replacement unit 410 is configured to delete the to-be-modified text from the original text information.
- the device further includes: a first insertion position receiving unit 411, configured to receive a selection of an insertion position in the original text information after displaying the original text information in a text editing area of the screen display device; and second manual input receiving The unit 412 is configured to receive the text input by the manual input manner; the text insertion unit 413 is configured to insert the text acquired by the previous step into the insertion position in the original text information.
- the device further includes: a second insertion position receiving unit 414, configured to receive a selection of an insertion position in the original text information after displaying the original text information in a text editing area of the screen display device;
- the unit 415 is configured to receive a click or touch operation on a physical button or a virtual button for performing a delete operation;
- the insertion deletion unit 416 is configured to delete the text before or after the insertion position from the original text information.
- the device further includes: a clearing operation receiving unit 417, configured to receive a click or touch operation on a physical button or a virtual button for performing a clearing operation after displaying the original text information in a text editing area of the screen display device;
- the operation execution unit 418 is configured to clear the original text information and return to the state before the text editing.
- the apparatus further includes: a completion operation receiving unit 419 for text editing of the screen display device After the original text information is displayed in the area, the click or touch operation of the physical button or the virtual button for confirming the completion of the editing operation is received; the operation execution unit 420 is configured to perform a corresponding completion operation, and the completion operation includes: saving Operate or send an operation.
- the original text display unit is specifically configured to display the original text information in a custom text editing area that is optimized for size and spacing of characters for easy click or touch.
- the original text information displayed by the original text display unit is obtained by: voice input, handwriting input, keyboard input, or optical character recognition OCR input.
- the confusing text database used by the candidate text obtaining unit is obtained from the server and stored locally;
- the candidate text obtaining unit comprises:
- a database selection subunit configured to select a corresponding confusing text database according to the input manner of the original text information
- the confusing text query sub-unit is configured to perform a query operation in the selected confusing text database to obtain an confusing text corresponding to the to-be-modified text;
- the confusing text filtering sub-unit is configured to filter the confusing text that has been obtained according to the context of the text to be modified in the original text information and the application scenario of the original text information, and filter out
- the confusing text is a candidate alternative text corresponding to the text to be modified.
- the confusing text database used by the candidate text obtaining unit is stored on the server;
- the candidate text obtaining unit comprises:
- a request sending subunit configured to send, to the server, a request for acquiring a candidate alternative text, where the request includes at least the text to be modified
- the response receiving subunit is configured to receive candidate alternative text corresponding to the to-be-modified text returned by the server.
- the device includes:
- a database update unit configured to update the manual input alternative text into the confusing text database as a confusing text item corresponding to the to-be-modified text.
- the candidate text acquisition unit uses the confusing text database, it is stored locally.
- the device further includes:
- the data uploading unit is configured to upload data in the confusing text database in which the update operation is performed to the server for aggregation and/or sharing by the server.
- a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
- processors CPUs
- input/output interfaces network interfaces
- memory volatile and non-volatile memory
- the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
- RAM random access memory
- ROM read only memory
- Memory is an example of a computer readable medium.
- Computer readable media including both permanent and non-persistent, removable and non-removable media may be implemented by any method or technology.
- the information can be computer readable instructions, data structures, modules of programs, or other data.
- Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
- computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
- embodiments of the present application can be provided as a method, system, or computer program product.
- the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
- the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
- Document Processing Apparatus (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
Description
Claims (12)
- 一种用于屏幕显示设备的文字编辑方法,其特征在于,包括:在屏幕显示设备的文字编辑区中显示原始文字信息;接收对所述原始文字信息中待修改文字的选择;从易混淆文字数据库中,获取对应所述待修改文字的候选替代文字;将所述候选替代文字显示在屏幕显示设备的推荐区;接收对所述候选替代文字的选择;以被选择的候选替代文字替代所述原始文字信息中的所述待修改文字。
- 根据权利要求1所述的用于屏幕显示设备的文字编辑方法,其特征在于,所述在屏幕显示设备的文字编辑区中显示原始文字信息是指,在为了便于点击或者触控、而对文字的尺寸和间隔进行了优化设置的自定义文字编辑区中显示所述原始文字信息。
- 根据权利要求1所述的用于屏幕显示设备的文字编辑方法,其特征在于,所述原始文字信息是通过下列方式获取的:语音输入、手写输入、键盘输入、或者光学字符识别OCR输入。
- 根据权利要求1所述的用于屏幕显示设备的文字编辑方法,其特征在于,所述易混淆文字数据库是从服务端获取、并在本地存储的;相应的,所述从易混淆文字数据库中,获取对应所述待修改文字的候选替代文字,包括:根据所述原始文字信息的输入方式,选择对应的易混淆文字数据库;在所选易混淆文字数据库中执行查询操作,获取对应所述待修改文字的易混淆文字;根据所述待修改文字在所述原始文字信息中的上下文语境以及所述原始文字信息的应用场景,对已获取的易混淆文字进行筛选,并将筛选出的易混淆文字作为对应所述待修改文字的候选替代文字。
- 根据权利要求1所述的用于屏幕显示设备的文字编辑方法,其特征在于,所述易混淆文字数据库是在服务端存储的;相应的,所述从易混淆文字数据库中,获取对应所述待修改文字的候选替代文字包括:向所述服务端发送获取候选替代文字的请求,所述请求中至少包含所述待修改文字;接收所述服务端返回的对应所述待修改文字的候选替代文字。
- 根据权利要求4或5所述的用于屏幕显示设备的文字编辑方法,其特征在于,在将所述候选替代文字显示在屏幕显示设备的推荐区后,如果没有接收到对所述候选替代文字的选择,所述方法包括:接收通过人工输入方式输入的文字,作为人工输入替代文字;所述人工输入方式包括:语音输入、键盘输入、或手写输入;用所述人工输入替代文字替代所述原始文字信息中的所述待修改文字;将所述人工输入替代文字更新到所述易混淆文字数据库中,作为与所述待修改文字对应的一条易混淆文字项。
- 一种用于屏幕显示设备的文字编辑装置,其特征在于,包括:原始文字显示单元,用于在屏幕显示设备的文字编辑区中显示原始文字信息;待修改文字接收单元,用于接收对所述原始文字信息中待修改文字的选择;候选文字获取单元,用于从易混淆文字数据库中,获取对应所述待修改文字的候选替代文字;候选文字显示单元,用于将所述候选替代文字显示在屏幕显示设备的推荐区;替代文字接收单元,用于接收对所述候选替代文字的选择;智能替代执行单元,用于以所述替代文字接收单元接收到的候选替代文字替代所述原始文字信息中的所述待修改文字。
- 根据权利要求7所述的用于屏幕显示设备的文字编辑装置,其特征在于,所述原始文字显示单元具体用于,在为了便于点击或者触控、而对文字的尺寸和间隔进行了优化设置的自定义文字编辑区中显示所述原始文字信息。
- 根据权利要求7所述的用于屏幕显示设备的文字编辑装置,其特征在于,所述原始文字显示单元显示的原始文字信息是通过下列方式获取的:语音输入、手写输入、键盘输入、或者光学字符识别OCR输入。
- 根据权利要求7所述的用于屏幕显示设备的文字编辑装置,其特征在 于,所述候选文字获取单元使用的易混淆文字数据库是从服务端获取、并在本地存储的;相应的,所述候选文字获取单元包括:数据库选择子单元,用于根据所述原始文字信息的输入方式,选择对应的易混淆文字数据库;易混淆文字查询子单元,用于在所选易混淆文字数据库中执行查询操作,获取对应所述待修改文字的易混淆文字;易混淆文字筛选子单元,用于根据所述待修改文字在所述原始文字信息中的上下文语境以及所述原始文字信息的应用场景,对已获取的易混淆文字进行筛选,并将筛选出的易混淆文字作为对应所述待修改文字的候选替代文字。
- 根据权利要求7所述的用于屏幕显示设备的文字编辑装置,其特征在于,所述候选文字获取单元使用的易混淆文字数据库是在服务端存储的;相应的,所述候选文字获取单元包括:请求发送子单元,用于向所述服务端发送获取候选替代文字的请求,所述请求中至少包含所述待修改文字;应答接收子单元,用于接收所述服务端返回的对应所述待修改文字的候选替代文字。
- 根据权利要求10或11所述的用于屏幕显示设备的文字编辑装置,其特征在于,所述装置包括:人工输入接收单元,用于在没有接收到对所述候选替代文字的选择时,接收通过人工输入方式输入的文字,作为人工输入替代文字;所述人工输入方式包括:语音输入、键盘输入、或手写输入;人工替代执行单元,用于用所述人工输入替代文字替代所述原始文字信息中的所述待修改文字;数据库更新单元,用于将所述人工输入替代文字更新到所述易混淆文字数据库中,作为与所述待修改文字对应的一条易混淆文字项。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP15832409.5A EP3182260A4 (en) | 2014-08-13 | 2015-08-03 | Character editing method and device for screen display device |
US15/503,079 US20170242832A1 (en) | 2014-08-13 | 2015-08-03 | Character editing method and device for screen display device |
JP2017507802A JP2017531849A (ja) | 2014-08-13 | 2015-08-03 | 画面表示装置用の文字編集方法及び装置 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410397586.X | 2014-08-13 | ||
CN201410397586.XA CN105446572A (zh) | 2014-08-13 | 2014-08-13 | 一种用于屏幕显示设备的文字编辑方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016023424A1 true WO2016023424A1 (zh) | 2016-02-18 |
Family
ID=55303867
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/085910 WO2016023424A1 (zh) | 2014-08-13 | 2015-08-03 | 一种用于屏幕显示设备的文字编辑方法及装置 |
Country Status (6)
Country | Link |
---|---|
US (1) | US20170242832A1 (zh) |
EP (1) | EP3182260A4 (zh) |
JP (1) | JP2017531849A (zh) |
CN (1) | CN105446572A (zh) |
HK (1) | HK1221533A1 (zh) |
WO (1) | WO2016023424A1 (zh) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105824795A (zh) * | 2016-04-19 | 2016-08-03 | 智者四海(北京)技术有限公司 | 文本中的错误信息的显示方法及装置 |
CN106940595B (zh) * | 2017-03-16 | 2019-10-11 | 北京云知声信息技术有限公司 | 一种信息编辑方法及装置 |
CN106951165A (zh) * | 2017-03-30 | 2017-07-14 | 维沃移动通信有限公司 | 一种文字编辑方法及移动终端 |
CN109688042B (zh) * | 2017-10-18 | 2021-12-31 | 阿里巴巴集团控股有限公司 | 一种消息处理方法及装置 |
CN107894853A (zh) * | 2017-11-29 | 2018-04-10 | 努比亚技术有限公司 | 拼音输入法选择汉字的方法、设备及计算机可存储介质 |
JP2019153133A (ja) * | 2018-03-05 | 2019-09-12 | オムロン株式会社 | 文字入力装置、文字入力方法、及び、文字入力プログラム |
CN109740142A (zh) * | 2018-04-20 | 2019-05-10 | 北京字节跳动网络技术有限公司 | 一种字符串纠错方法及装置 |
CN108628534B (zh) * | 2018-05-14 | 2021-01-08 | 维沃移动通信有限公司 | 一种字符展示方法及移动终端 |
CN110008884A (zh) * | 2019-03-28 | 2019-07-12 | 维沃移动通信有限公司 | 一种文字处理方法及终端 |
KR20220013732A (ko) | 2020-07-27 | 2022-02-04 | 삼성전자주식회사 | 전자 장치 및 이의 제어 방법 |
KR102568274B1 (ko) * | 2020-12-22 | 2023-08-17 | 연세대학교 원주산학협력단 | 공통 데이터 모델 단어를 추천하는 방법 및 이를 수행하는 전자 장치 |
CN112698739B (zh) * | 2020-12-28 | 2023-03-21 | 联想(北京)有限公司 | 一种控制方法及装置 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101770325A (zh) * | 2008-12-31 | 2010-07-07 | 北京搜狗科技发展有限公司 | 一种输入法界面展现方法及装置 |
CN102541282A (zh) * | 2010-12-25 | 2012-07-04 | 上海量明科技发展有限公司 | 利用图标移动对已完成词汇再编辑的方法、装置及系统 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2001259446A1 (en) * | 2000-05-02 | 2001-11-12 | Dragon Systems, Inc. | Error correction in speech recognition |
US7149970B1 (en) * | 2000-06-23 | 2006-12-12 | Microsoft Corporation | Method and system for filtering and selecting from a candidate list generated by a stochastic input method |
JP2007058415A (ja) * | 2005-08-23 | 2007-03-08 | Nec Corp | テキストマイニング装置、テキストマイニング方法、およびテキストマイニング用プログラム |
KR101462932B1 (ko) * | 2008-05-28 | 2014-12-04 | 엘지전자 주식회사 | 이동 단말기 및 그의 텍스트 수정방법 |
KR100988397B1 (ko) * | 2008-06-09 | 2010-10-19 | 엘지전자 주식회사 | 이동 단말기 및 그의 텍스트 수정방법 |
US8494852B2 (en) * | 2010-01-05 | 2013-07-23 | Google Inc. | Word-level correction of speech input |
CN103366741B (zh) * | 2012-03-31 | 2019-05-17 | 上海果壳电子有限公司 | 语音输入纠错方法及系统 |
WO2014041607A1 (ja) * | 2012-09-11 | 2014-03-20 | 株式会社東芝 | 情報処理装置、情報処理方法およびプログラム |
US8713433B1 (en) * | 2012-10-16 | 2014-04-29 | Google Inc. | Feature-based autocorrection |
-
2014
- 2014-08-13 CN CN201410397586.XA patent/CN105446572A/zh active Pending
-
2015
- 2015-08-03 JP JP2017507802A patent/JP2017531849A/ja active Pending
- 2015-08-03 WO PCT/CN2015/085910 patent/WO2016023424A1/zh active Application Filing
- 2015-08-03 US US15/503,079 patent/US20170242832A1/en not_active Abandoned
- 2015-08-03 EP EP15832409.5A patent/EP3182260A4/en not_active Withdrawn
-
2016
- 2016-08-12 HK HK16109629.2A patent/HK1221533A1/zh unknown
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101770325A (zh) * | 2008-12-31 | 2010-07-07 | 北京搜狗科技发展有限公司 | 一种输入法界面展现方法及装置 |
CN102541282A (zh) * | 2010-12-25 | 2012-07-04 | 上海量明科技发展有限公司 | 利用图标移动对已完成词汇再编辑的方法、装置及系统 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3182260A4 * |
Also Published As
Publication number | Publication date |
---|---|
HK1221533A1 (zh) | 2017-06-02 |
JP2017531849A (ja) | 2017-10-26 |
US20170242832A1 (en) | 2017-08-24 |
EP3182260A1 (en) | 2017-06-21 |
EP3182260A4 (en) | 2018-03-21 |
CN105446572A (zh) | 2016-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016023424A1 (zh) | 一种用于屏幕显示设备的文字编辑方法及装置 | |
JP6126218B2 (ja) | 携帯式端末設備における摺接操作による入力補助制御のシステム及び方法 | |
JP6427559B6 (ja) | 手書き入力のための永久同期システム | |
JP6109625B2 (ja) | 電子機器およびデータ処理方法 | |
CN105068731B (zh) | 一种图片缩放方法及用户终端 | |
WO2016110217A1 (zh) | 通话过程中保存号码的方法和装置、终端、存储介质 | |
KR101394874B1 (ko) | 필기 기반으로 특정 기능을 실행하는 방법 및 그에 따른 디바이스 | |
CN107491383A (zh) | 应用崩溃操作日志的捕获方法、装置及移动终端 | |
CN106851026A (zh) | 无效电话号码识别及清理方法、装置及移动终端 | |
WO2017008744A1 (zh) | 一种获取自动化脚本、自动化脚本的应用方法及装置 | |
CN103324674A (zh) | 网页内容选取方法及装置 | |
JP2016531352A (ja) | 入力システムをアップデートする方法、デバイス、プログラム及びデバイス | |
CN109710571B (zh) | 一种文件解析方法、设备及存储介质 | |
CN103279788A (zh) | 一种自动识别数字的计数方法及移动终端 | |
CN108737634B (zh) | 语音输入方法及装置、计算机装置和计算机可读存储介质 | |
CN111047147A (zh) | 一种业务流程自动采集方法及智能终端 | |
CN104182479A (zh) | 一种处理信息的方法及装置 | |
CN110858291A (zh) | 字符切分方法及装置 | |
CN110851346B (zh) | 查询语句边界问题的检测方法、装置、设备及存储介质 | |
CN109086260B (zh) | 食品数据处理方法及装置 | |
KR101397711B1 (ko) | 필기 기반으로 특정 기능을 실행하는 방법 및 그에 따른 디바이스 | |
WO2018121487A1 (zh) | 界面过滤的方法及系统 | |
CN113066498B (zh) | 信息处理方法、设备和介质 | |
CN113157350B (zh) | 一种基于语音识别的办公辅助系统与方法 | |
CN117493584A (zh) | 一种标签体系构建方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15832409 Country of ref document: EP Kind code of ref document: A1 |
|
REEP | Request for entry into the european phase |
Ref document number: 2015832409 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2017507802 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15503079 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |