WO2008071099A1 - Procédé et système permettant d'entrer un mot/diagramme artistique dans un programme d'application - Google Patents

Procédé et système permettant d'entrer un mot/diagramme artistique dans un programme d'application Download PDF

Info

Publication number
WO2008071099A1
WO2008071099A1 PCT/CN2007/070615 CN2007070615W WO2008071099A1 WO 2008071099 A1 WO2008071099 A1 WO 2008071099A1 CN 2007070615 W CN2007070615 W CN 2007070615W WO 2008071099 A1 WO2008071099 A1 WO 2008071099A1
Authority
WO
WIPO (PCT)
Prior art keywords
word
graphic
style
art
wordart
Prior art date
Application number
PCT/CN2007/070615
Other languages
English (en)
Chinese (zh)
Inventor
Xin Qi
Lei Yang
Zhankai Ma
Original Assignee
Beijing Sogou Technology Development Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=37778486&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=WO2008071099(A1) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Beijing Sogou Technology Development Co., Ltd. filed Critical Beijing Sogou Technology Development Co., Ltd.
Publication of WO2008071099A1 publication Critical patent/WO2008071099A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/018Input/output arrangements for oriental characters

Definitions

  • the present invention relates to the field of keyboard information processing, and more particularly to a method and system for inputting art words/graphics in an application window.
  • ASCII Art Word is a special character, text or graphic generated by the development of computers and networks. It can be displayed in a variety of ASCII characters and combinations, unlike the usual font setting properties. In web applications, such as web chat, forums, communities, etc., this type of artistic word that has decorative effects such as decoration is widely used.
  • ASCII Art Words in the application window is: First run the ASCII code art word character editing output software, enter the characters or strings you want to convert into the corresponding art text in the input area of the software, and then select The font to be converted, the software will display the characters of the corresponding artistic font style of these characters or strings in the preview box. If the user confirms that the effect is appropriate, the corresponding artistic text can be converted and stored by copying or storing, and then pasted into Other users need to enter such characters in the window.
  • the application of various ASCII art words software is rich in font display, and also brings inconvenience to the user operation.
  • the user first needs to install and start separate software, and then through the cumbersome process from input to copy to paste, Word art is entered into the display window.
  • an application and an application that is, software that provides ASCII code art words as a computer system-independent application
  • the user needs an ASCII code word art.
  • the software and the program window that needs to input the word of art switch, the operation of the software and the process of copying and pasting occupy system resources, and it takes time and manpower.
  • switching between multiple program windows is prone to erroneous operations and loss of copied content.
  • the technical problem to be solved by the present invention is to provide a method and system for inputting a word/graphic in an application window to solve the problem that the process of inputting a word/graphic to an application under the prior art occupies excessive system resources. .
  • Another object of the present invention is to provide a method and system for inputting WordArt/Graphics to an application to improve the user experience and effect of inputting WordArt.
  • the present invention provides a method for inputting a word/graphic to an application, comprising:
  • mapping relationships include: mapping of keyboard message encoding to text/text strings, mapping of text/text strings to WordArt styles; and/or mapping of keyboard message encodings directly to WordArt styles.
  • the method further includes: when the matching result is a graphic, determining whether the currently activated application supports the corresponding graphic storage format, and if so, triggering the application interface control message to send a match to the currently activated application. result.
  • the method further includes: when the matching result is a graphic, sending the graphic and the text and/or symbol matching the graphic to the application.
  • the method further includes: customizing a mapping relationship between the keyboard message encoding and the artistic word style.
  • the method further includes: determining whether the current state is a WordArt state, and if yes, performing a matching of the WordArt; otherwise, corresponding to the mapping relationship between the keyboard message encoding and the text/text string, performing text/text String match.
  • the method further includes: presetting at least one ASCII code character replacement rule; ASCII code characters confirmed by the user, the character replacement rule, and a pre-stored word style/preset word style algorithm And performing character substitution on the corresponding word style of the keyboard message; triggering an application interface control message, and inputting the character after the character replacement to the currently activated application Word/graphic.
  • the method further includes: presetting at least one ASCII code art graphic replacement rule; and encoding the corresponding picture graphic by the keyboard message according to the ASCII code art graphic replacement rule and the pre-stored picture graphic ASCII art graphic replacement; triggers the application interface control message to enter the replaced ASCII art graphic into the currently active application.
  • the WordArt style includes, but is not limited to, an ASCII art word, an ASCII art graphic, an astigmatism word, a single-line character string, a character matrix, a graphic, a similar or similar text, a symbol, or a combination thereof.
  • the invention also discloses a method for inputting a word/graphic to an application, comprising: establishing a mapping relationship between a keyboard message code-text/text string-art word style; calling an operating system interface function to obtain a keyboard message Coding; corresponding to the mapping relationship between the keyboard message encoding and the text/text string, obtaining the corresponding text string; corresponding to the text string semantics and the pre-stored artistic word style, cutting the corresponding artistic word style; triggering the application interface control message, to the current activation
  • the app enters WordArt/Graphics.
  • the method further includes: when the matching result is a graphic, determining whether the currently activated application supports the corresponding graphic storage format, and if so, triggering the application interface control message to input to the currently activated application. Word/graphics.
  • the method further includes: when the matching result is a graphic, sending the graphic and the text and/or symbol matching the graphic to the application.
  • the method further includes: presetting at least one ASCII code character replacement rule; ASCII code characters confirmed by the user, the character replacement rule, and a pre-stored word style/preset word style algorithm And performing character substitution on the corresponding word-of-word style of the keyboard message; triggering the application interface control message, and inputting the word-changed word/graphic to the currently activated application.
  • the WordArt style includes, but is not limited to, an ASCII art word, an ASCII art graphic, an astigmatism word, a single-line character string, a character matrix, a graphic, a similar or similar text, a symbol, or a combination thereof.
  • the present invention also provides a system for inputting WordArt/Graphics to an application, comprising: a storage unit, configured to pre-store a WordArt style or a preset WordArt style algorithm, and a mapping relationship between a keyboard message code and a WordArt style;
  • a code receiving unit configured to invoke an operating system interface function, to obtain a keyboard message encoding
  • a word matching unit configured to match the mapping relationship table, and match an art word style corresponding to the keyboard message encoding
  • An output unit that triggers an application interface control message to input a word/graphic to the currently active application.
  • the mapping relationship comprises: a mapping relationship between a keyboard message encoding and a text/text string, a mapping relationship between a text/text string and an artistic word style; and/or a mapping relationship between the keyboard message encoding and the artistic word style.
  • the storage unit comprises: a character library, configured to store a text/text string, an astigmatism word, a single-line character string or a character array corresponding to the keyboard message code; an ASCII code art font library, configured to store a correspondence corresponding to the keyboard message code. ASCII code art word or preset art word algorithm; graphics library for storing ASCII code art graphics or picture graphics corresponding to keyboard message encoding.
  • the system further includes: an application determining unit, configured to determine whether the currently activated application supports a corresponding graphic storage format when the matching result is a graphic, and if supported, triggers the output unit.
  • an application determining unit configured to determine whether the currently activated application supports a corresponding graphic storage format when the matching result is a graphic, and if supported, triggers the output unit.
  • the system further includes: a self-editing unit, configured to: user-defined a mapping relationship between the keyboard message encoding and the WordArt style, and save to the storage unit.
  • a self-editing unit configured to: user-defined a mapping relationship between the keyboard message encoding and the WordArt style, and save to the storage unit.
  • the system further includes: a character matching unit, configured to match a text/text string corresponding to the encoding according to a mapping relationship between a keyboard message encoding and a text/text string; and determine a status unit, configured to determine a current Whether the state is a WordArt state, and if so, triggering the WordArt matching unit; otherwise, the character matching unit is triggered.
  • a character matching unit configured to match a text/text string corresponding to the encoding according to a mapping relationship between a keyboard message encoding and a text/text string
  • determine a status unit configured to determine a current Whether the state is a WordArt state, and if so, triggering the WordArt matching unit; otherwise, the character matching unit is triggered.
  • the storage unit further stores at least one ASCII code character replacement rule; the system further includes: a character replacement unit; and the character replacement unit is configured to: according to the ASCII code character confirmed by the user, the character The replacement rule and the pre-stored WordArt style/preset WordArt style algorithm perform character substitution on the corresponding WordArt style of the keyboard message encoding.
  • the storage unit further stores at least one ASCII code art graphics replacement rule; the system further includes a graphics replacement unit; the graphics replacement unit is configured to use the ASCII The code art graphic replacement rule and the pre-stored picture graphic perform ASCII code art graphic replacement on the corresponding picture graphic of the keyboard message encoding.
  • the code receiving unit, the storage unit and the output unit included in the system for inputting the word/graphic to the application are located in the same computing device; or the system code included in the system for inputting the word/graphic to the application
  • the receiving unit and the output unit are located in the first computing device, and the storage unit is located in the second computing device; the system obtains corresponding information from the storage unit located in the second computing device according to the keyboard message input by the user, and outputs the corresponding information in the first computing device.
  • the WordArt style includes, but is not limited to, an ASCII art word, an ASCII art graphic, an astigmatism word, a single-line character string, a character matrix, a graphic, a similar or similar text, a symbol, or a combination thereof.
  • the present invention also provides a system for inputting WordArt/Graphics to an application, comprising: a storage unit for pre-storing a WordArt style or a preset WordArt style algorithm, and a keyboard message encoding-text/text string-art The mapping relationship between the three characters;
  • a code receiving unit configured to invoke an operating system interface function to obtain a keyboard message encoding
  • a text string matching unit configured to correspond to a mapping relationship between the keyboard message encoding and the text/text string, and obtain a corresponding text string
  • a word segmentation unit for corresponding text string semantics and pre-stored artistic word styles, segmenting the text strings; shooting relationships, obtaining corresponding artistic word styles;
  • An output unit that triggers an application interface control message to input a word/graphic to the currently active application.
  • the system further includes: a determining status unit, configured to determine whether the current status is a WordArt state, and if so, connecting a text string matching unit-word segmentation unit-art word matching unit-output unit; otherwise, connecting the text String matching unit - output unit.
  • a determining status unit configured to determine whether the current status is a WordArt state, and if so, connecting a text string matching unit-word segmentation unit-art word matching unit-output unit; otherwise, connecting the text String matching unit - output unit.
  • the storage unit further stores at least one ASCII code character replacement rule; the system further includes: a character replacement unit; and the character replacement unit is configured to: according to the ASCII code character confirmed by the user, the character The replacement rule and the pre-stored WordArt style/preset WordArt style algorithm perform character substitution on the corresponding WordArt style of the keyboard message encoding.
  • the word art style includes but is not limited to: ASCII code art word, ASCII code art Graphics, astigmatism, single-line strings, character arrays, graphics, shapes, or similar words, symbols, or a combination thereof.
  • the present invention has the following advantages:
  • the invention directly matches the acquired keyboard information coding with the artistic word style through the direct combination of the computer operating system and the application program, and directly outputs the matched artistic word or art graphic to the application display window, without opening another
  • An independent WordArt editing software implements the ASCII WordArt function.
  • ASCII code art style you can input directly in each application window without running separate WordArt software, thus avoiding the process of software running and input conversion. , saves system resources and is convenient for users to operate.
  • the present invention provides a rich artistic word style and flexible mapping relationship, and establishes mapping of keyboard message encoding and text/text string, keyboard message encoding or text/text string and ASCII code art word, ASCII code art graphic, astigmatism.
  • the mapping of words, single-line strings, character arrays, various common graphics or graphic animations can quickly match various artistic word styles according to different input and selection of users, and the input is more flexible and richer in content.
  • the present invention can use a word segmentation method that is more loyal to the original semantics, segment the selected text string, and then display the corresponding art word style.
  • the word segmentation and the word matching can also be performed according to the process of the user's word selection; and the user's word segmentation mode can be learned, thereby improving the accuracy of the word segmentation.
  • the word segmentation step can avoid erroneous WordArt output.
  • the word segmentation step can find and output the matching artistic word patterns in the longer Chinese character strings input by the user. Thereby improving the matching efficiency and matching effect of various artistic word styles.
  • Figure la - Figure lh is an example of the ASCII art word, ASCII art graphic, character array
  • FIG. 2 is a flow chart showing the steps of inputting a word/graphic in the application window according to the present invention
  • FIG. 3 is a flow chart showing the steps of inputting a word/graphic according to a preferred embodiment of the present invention
  • 4 is a schematic diagram of a WordArt window in a standard mode for implementing the present invention
  • Figure 5 is a schematic diagram of a WordArt window in a shortcut mode for implementing the present invention.
  • FIG. 6 is a system structural diagram of inputting a word/graphic in an application window according to the present invention
  • FIG. 7 is a system structural diagram of inputting a word/graphic in an application window according to a preferred embodiment of the present invention.
  • the present invention provides a variety of artistic word styles, including ASCII art words, ASCII art graphics, astigmatism words, single-line strings, character arrays, or graphics, etc., which are described in detail below.
  • ASCII art words ASCII art graphics
  • astigmatism words single-line strings
  • character arrays character arrays
  • graphics etc.
  • the input and matching of the word of art according to the present invention does not require a language limitation, but for convenience of explanation, the description of the embodiments will be mainly made in the following.
  • ASCII Art Word is a way to display text in ASCII characters and combinations.
  • ASCII Art Graphic is a way to display graphics in ASCII characters and combinations. You can use the specified characters instead of the characters you want to express. Text or graphics, each alternative is called a WordArt font. Referring to Fig. la - Fig. lh, it is an exemplary diagram of the ASCII code art word, ASCII code art figure, and character array according to the present invention.
  • ASCII art graphics can define a variety of phrases and graphics, such as cakes, candles and other graphics composed of ASCII code. Moreover, a phrase can correspond to multiple graphics, such as "Tiger,” which can correspond to different ASCII codes and multiple styles of tiger graphics.
  • the astigmatism word is a Chinese-only font display method, which displays the Chinese characters split, including the horizontal splitting and vertical splitting of Chinese characters, and the Chinese character splitting of more than three components. For example, the text string “good post, haha”, split into astigmatism string “women's bow, but the mouth of the mouth, mouth and mouth”.
  • a single-line string is a phrase that defines a word or a phrase that is equivalent to a string of characters. Or sentence. For example, defining "injection” is equivalent to "glucose injection”.
  • a character array is similar to the single-line string in that it defines a word or a phrase to make it equivalent to multiple lines of text. As shown in Figure lh, the definition of "day, is equivalent to a poem, and this poem is a character array consisting of four lines of four poems, each line separated by a carriage return. For the single line string and In the character array mode, when the user inputs "injection, or" day, it will output "glucose injection," or the character array as a whole.
  • Graphics include normal graphics, graphic animation in gif format, or graphic animation in other formats, stored and output as images.
  • the WordArt function provided by the present invention can be directly input in the application window.
  • Figure 2 there is shown a flow chart of the steps of inputting a WordArt/Graph in an application window as described in the present invention.
  • Step 201 Establish a mapping relationship between the keyboard message code and the word style, and the word style is obtained by a pre-storage method or by a preset algorithm.
  • the characters include Chinese, English, special symbols, and the like.
  • an artistic word or graphic library is established, and the ASCII code art word, ASCII art graphic, astigmatism word, single-line character string, character array, and graphic with high frequency of use are stored, so that the user can directly call the system storage when using the system.
  • preset the algorithm of the artistic word style according to the relevant parameters, the desired artistic word style can be obtained by the algorithm, and the related parameters can be: unit characters constituting the artistic word, artistic word size, arrangement manner, and the like.
  • Step 202 Acquire a keyboard message code by using an operating system interface function.
  • the system After receiving the key message of the keyboard, the system converts the corresponding key message code into a buffer, and the keyboard message code is the letter, number and special symbol identified on the terminal keyboard.
  • WordArt function of the present invention it is first necessary to obtain the keyboard message code, and then input the message processing, and then output the selected WordArt style.
  • the receiving keyboard message code is executed by a dynamic link library program, and the interface function provided by the system is utilized to realize the combination of the word function module and the system.
  • the method of the present invention is not limited to the Windows system, but can be applied to other operating systems.
  • Step 203 Select a WordArt style to convert the keyboard message code into a matching WordArt or graphic. Since the keyboard message is encoded as a series of letter strings, for the English display, the mapping relationship between the keyboard message code and the ASCII code art word, the ASCII code art graphic, the astigmatism word, the single line character string, the character matrix, or the graphic is directly established; Chinese display, you can create a code string (ie keyboard message code) With the mapping relationship between the text/text string, the text/text string and the word style, the code string is preferably a pinyin string. These mappings are the mapping of Chinese, English, and special symbols to the word style.
  • the art word corresponding to the keyboard message code is matched according to the corresponding mapping relationship. For example, if the user inputs English and selects one of the ASCII art fonts, the corresponding artistic font is matched according to the mapping relationship between the keyboard message encoding and the artistic word style; if the user inputs the encoded string, according to the encoded string (ie, the keyboard) Message coding) With the mapping relationship between text/text string, text/text string and WordArt style, the code string is converted into Chinese characters and then the corresponding art fonts are matched. Due to the various artistic word styles and mapping relationships provided by the present invention, the input is more flexible, the display content is richer, and the input requirements of the user are satisfied.
  • Step 204 Trigger an application interface control message to send a matching result to the currently activated application.
  • the interface control message of the WordArt function module and the application is triggered, and the interface function of the WordArt function module is accessed according to the application program, and the matching result is sent to the currently activated application, and Display the output in the application window.
  • step 204 it is also necessary to determine whether the currently activated application supports the graphic storage format to be input. If yes, go to step 204; if it is not supported, you can directly output the corresponding character or text. There is also a possibility that when the matching result is a graphic, the graphic is sent to the application and the text and/or symbol matching the graphic; at this time, the application determines whether it can support the received image.
  • the graphics storage format if supported, displays the graphics, and if not, displays the text and/or symbols received simultaneously with the graphics.
  • the invention directly matches the acquired keyboard information coding with the artistic word style through the direct combination of the computer operating system and the application program, and directly outputs the matched artistic word or art graphic to the application display window, without opening another independent
  • the word-of-word editing software implements the WordArt function. In the process of web chat, forum speech, etc., if you need to use the word art style, you can input directly in each application window without running separate WordArt software, thus avoiding the process of software running and input conversion, saving System resources are also convenient for users to operate.
  • the above steps solve the problem of directly inputting WordArt in the application window.
  • the commonly used input method is also incorporated into the WordArt function to provide an opportunity for the user to select input.
  • the current input state is first determined. State. If it is currently in the WordArt state, then steps 203 and 204 are continued to implement the WordArt function according to the above method; if it is not the WordArt state, the input method function is executed, and the English, Chinese or special symbols corresponding to the keyboard message encoding are output.
  • the determining step may be performed before receiving the message of the keyboard message, that is, first converting to the state of the word and then typing the character; or performing the receiving of the message of the keyboard message, that is, typing the character first and then selecting the input state.
  • FIG. 3 there is shown a flow chart of the steps of inputting a word/graphic according to a preferred embodiment of the present invention, and the data processing procedure after inputting a character string is explained from the operation and display angle of the user.
  • Step 301 the input method is turned on.
  • Step 302 the user inputs “sougou” or “sogou” on the keyboard, and displays “sougou” or
  • Step 303 switch to the WordArt input mode, that is, open the WordArt preview window.
  • the present invention can perform different processes according to different input states. For example, if it is judged that the current state is a WordArt state, the matching of the WordArt style is performed; if it is determined that the current state is the normal input method state, the normal text is executed. String matching function.
  • Step 304 select the candidate " 1. Sogou", the word art of Sogou will appear in the preview window.
  • the process is based on the user's last choice word in the candidate word list as a pre-output word, and the "sogou" is matched as a matching word in the art vocabulary, and the corresponding art word is searched according to the default setting of the artistic font. And then the overall output in the preview window. Of course, if it is not currently a WordArt state, it will output the "Sogou" normal text.
  • Step 305 setting the artistic font.
  • the above preview is displayed in the case of the default setting of the word library.
  • the user can also adjust the setting of the artistic font.
  • the preview window will change the art form corresponding to the current text in real time.
  • the upper screen refers to an operation of displaying the content output in the preview window to the application window. Of course, the user is also free to choose the default word style.
  • Step 306 the art word is output on the screen. For example, if the user is sure, type Ctrl+Enter or point By inputting the button, the upper screen output of the WordArt is realized.
  • the invention also provides a shortcut method. After inputting the "sougou” pinyin string, the "1. Sogou” item is selected by a combination key method (such as Alt+1), and the "Sougou” art word can also be directly output.
  • the artistic font uses the default setting. At this time, the preview window can be omitted, and the efficiency of the art word input is improved.
  • the present invention also provides the function of ASCII character replacement.
  • ASCII character replacement rule is preset; then, the keyboard message is encoded according to a user-confirmed ASCII code character, the character replacement rule, and a pre-stored WordArt style/preset WordArt style algorithm.
  • the corresponding WordArt style is used for character substitution; finally, the application interface control message is triggered, and the word-substituted word/graphic is input to the currently activated application.
  • the replacement may be: replacement of a solid line with a broken line, replacement of a single line and a double line, replacement of a character word unit character, and the like.
  • the "Zixia Double Line” shown in Figure 1 is a replacement for the "Zixia Standard Body", replacing the single line with a double line.
  • the ASCII character substitution function can expand the pre-stored WordArt style or preset Art Word algorithm, which greatly facilitates user input, provides users with a variety of font display, and saves system storage space.
  • the present invention also provides the function of ASCII art graphic replacement.
  • ASCII art graphic replacement rule is preset; then, according to the ASCII art graphic replacement rule and the pre-stored picture graphic, the ASCII code art graphic is replaced by the corresponding picture graphic of the keyboard message; , triggers the application interface control message, and enters the replaced ASCII art graphic into the currently activated application.
  • the picture graphics of the JPG are converted into ASCII art graphics according to a certain algorithm (the format may be TXT, HTML, etc.), wherein the algorithms involved are well known to those skilled in the art, and will not be described in detail herein. .
  • the present invention preferably, when matching other art word styles other than the ASCII code art word, it is also necessary to perform word segmentation on the character string corresponding to the code string. For example, when selecting an ASCII art graphic or graphic animation, the user enters "fruit cake is done", the automatic word segmentation technology will separate the "fruit” and “cake”, and go to the gallery to match, and match the graphics.
  • the upper screen output shows a graphic of a fruit connected to a cake, and then "does" three words that cannot match the graphic.
  • the character string that needs to be segmented according to the present invention is not limited to Chinese only, and other characters such as Japanese, Korean, etc. are all feasible.
  • word segmentation methods are: word segmentation based on string matching (ie mechanical segmentation), word segmentation based on feature scanning or mark segmentation, word segmentation based on understanding, and segmentation method based on statistics.
  • word segmentation methods there will be problems with participle ambiguity. For example, there are many ways to divide the phrase “Chinese people”. If there are three words “China”, “people,”, “national people” in the thesaurus, "the Chinese people, one possible division is “China”"People,,, another may be distributed as “Chinese,””Chinese,””Min.” This is the participle ambiguity.
  • Ambiguity handling is a very difficult operation, which has not yet been resolved, in the case of ambiguity of participles, Various word segmentation methods can only be combined with practical applications, and try to achieve accurate word segmentation. Word segmentation.
  • the optimal segmentation path method based on the unary model (optimal segmentation path method) can be used. More faithful to the original semantics, as explained below.
  • ambiguities in the word segmentation There are two kinds of ambiguities in the word segmentation.
  • Tsinghua University / Tsinghua University The method of optimal segmentation path method is to extract all the parts and then filter according to specific needs.
  • intersection ambiguity such as the string ABC, ⁇ and BC are the elements in the thesaurus.
  • “Chinese,,,, may be divided into “China / People,” and “Chinese / Chinese.”
  • intersection-type ambiguity the optimal segmentation path method uses a scoring algorithm to perform weight calculations for each possible segmentation method and find the best segmentation path among all possible segments. This process can be quickly implemented through dynamic programming methods.
  • the evaluation function used by the scoring algorithm is determined by the number and frequency of words, as illustrated below.
  • F(x) be the evaluation value of a certain word segmentation scheme of the substring starting from position X, where X represents the above numerical number.
  • F(x) is a combination of the following components:
  • WC(x) The number of Term of the best segmentation scheme for the substring starting from X.
  • the Term represents a participle in the corresponding vocabulary in the phrase, such as taking X as 0 and Term as Chinese/people/station/up/, so
  • WC(x) is 5;
  • FQ(x) The logarithm of the term word frequency of the best segmentation scheme of the substring starting from X.
  • the word frequency refers to the statistical frequency that each Term appears on the Internet;
  • the system can also be based on the user's process of selecting words, combined with the system's participle, "eggs,, and separate, form the egg map + "cake," the output of the word.
  • the system can also The mode of segmentation according to the user's word selection is recorded, so that the user can perform quick matching when inputting again.
  • the execution steps are basically the same as those shown in FIG. 2, the difference being: using the keyboard message encoding-text/text string-art word style
  • the mapping relationship between the first, the keyboard message encoding is first converted into a corresponding text string; then according to the text string semantics and the pre-stored artistic word style, the text string is segmented, and the pre-stored artistic word is used when using the word segmentation technique
  • the style is considered as a participle factor. For example, the stored matchable phrases can be listed.
  • the word segmentation is first considered. Then, according to the mapping relationship between the text/text string and the artistic word style, the phrase after the word segmentation is matched with the artistic word style.
  • the embodiment will be described below.
  • the WordArt function module When the user types a code string of a character string such as a phrase or a sentence, the WordArt function module performs: according to the mapping relationship between the keyboard message encoding (ie, the encoded string) and the text/text string, the options are listed in the candidate word list; After the user selects, according to the text string semantics and the pre-stored artistic word style, the word segmentation method is used to segment the text string; and then according to the segmentation result and the pre-stored text/text string and the word style mapping Relationship, the corresponding WordArt style matching; Finally, the matching result display is output to the application window.
  • the present invention also provides an opportunity for the user to select an output.
  • the preview window displays a matchable phrase in the WordArt style, and the user can select the WordArt style that needs to be output according to the input requirements. For example, in the text string "I am going to see monkeys and tigers today", if the user selects a character to draw a WordArt style, the phrase that can match the ASCII code art characters is "Monkey", "Tiger", and others. Text cannot match characters. "Monkey”, "Tiger,” may correspond to a number of different styles of character painting, the user can select in the preview window to enter the desired character to draw the word art. Of course, other text, such as "I go to see today", The user can enter it by selecting the normal ASCII code art word. This user can select the side of the output effect. Increases the flexibility of user input for a better input experience.
  • the character string is first divided into separate phrases or characters, and then the matching method is performed, so that the user can input the text string once and then display the corresponding artistic word style on the screen.
  • the word segmentation step can avoid the wrong artistic word output.
  • the word segmentation step can find and output the matching artistic word style in the long Chinese character string input by the user, thereby improving various artistic words. Style matching efficiency and matching effect.
  • the present invention also provides a user-defined function, and the user can establish a mapping relationship between a character and a single-line character string, a character matrix, an astigmatism word, a graphic, etc. according to the input requirement, and create a corresponding text or graphic library by itself, and the combined input.
  • the word-of-art function of the law is more scalable and user-participating to meet the individual needs of the user.
  • the WordArt window is the main body of the WordArt function, including: input section (ie editable section), output section (Art Word preview), option setting button.
  • the WordArt window has two modes: Standard mode and Quick mode.
  • FIG. 4 there is shown a schematic diagram of a WordArt window in a standard mode for implementing the present invention.
  • the window in standard mode is full-featured mode, which is a mode that can be set and previewed completely. Includes:
  • the input window 401 is an editable window, can input multiple lines of text, and can perform a carriage return operation.
  • the preview window 402 is an uneditable window that only displays the actual WordArt effect.
  • Up button 403 click this button, or enter the shortcut key ctrl+enter of this button, and output the characters in the preview window to the place where the user originally positioned the cursor.
  • the word spacing 405 is the number of spaces automatically added between the art words to facilitate the user to output a larger spacing of artistic words (for example, in the signature file).
  • Automatic carriage return line feed 406 in the multi-line string, the last line of output must be changed after the line, so that the following words can continue to line feed input. If it is a single-line string, such as a horizontally split astigmatism, you don't have to wrap it. Whether or not to automatically wrap information can also be provided by the font itself.
  • the button 407 is turned off, and when the user clicks the close button, the word mode is exited and the mode is switched to the normal input mode.
  • the input window 408 of the input method is the same as the input window in the normal state.
  • FIG. 5 it is a schematic diagram of a WordArt window in a shortcut mode for implementing the present invention, and the shortcut mode is a preview only function.
  • Quick Mode all feature options are set to the default settings in standard mode, such as fonts. If you need to modify the font of the shortcut mode, etc., you need to open the standard mode change.
  • the shortcut mode the preview window previews the content that is currently in focus, and the focus refers to the selected word.
  • buttons for WordArt on the status bar of the input method, similar to the button for Chinese/English, Full/Half-Angle.
  • the button has three states: the artistic word closed state, the artistic word standard mode, and the artistic word shortcut mode. When clicked, the wheeling of these three states is performed, and the default state is the closed state.
  • the normal input method is done by clicking a button or a shortcut.
  • the status bar appears; Click the WordArt button or the shortcut key to enter the WordArt mode, and pop up the WordArt window and the Input Method window.
  • the WordArt mode can be divided into a standard mode and a shortcut mode, for example, as shown in Figs. 4 and 5.
  • the quick input method is to input the word art directly to the application by inputting the coded shortcut key, mainly for the case of temporarily inputting a plurality of art characters without using a mouse and using only a keyboard operation.
  • the operation flow is: User input letter ⁇ trigger key (') ⁇ go to shortcut mode ⁇ press space or number to enter the art word on the screen (by default font).
  • the quick input mode can not pop up the art word window under the normal input mode, and the art setting can be directly put on the screen by using the default setting.
  • the present invention also provides a system for inputting a word of art in an application window, which is designed to interface with a computer system and an application for inputting a keyboard. The information is displayed directly in the application window.
  • Figure 6 there is shown a system structure diagram for inputting a word/graphic in an application window according to the present invention.
  • the storage unit 601 is configured to pre-store various artistic word styles or preset artistic word style algorithms, and a mapping relationship between the keyboard message encoding and the artistic word style; the artistic word styles include: ASCII code art characters, ASCII code art graphics , astigmatism, single-line strings, character arrays or graphics.
  • the storage unit 601 stores the text/text string, the astigmatism word, the single-line character string, and the character array corresponding to the keyboard message code in the character library 6011 according to different categories of the artistic word style, and the keyboard and the keyboard
  • the ASCII code art word corresponding to the message code or the preset art word style algorithm is stored in
  • the ASCII Art Font Library 6012 stores the ASCII art graphics and graphics corresponding to the keyboard message encoding in the graphics library 6013.
  • the mapping relationship table is separately stored in the storage unit 601, and includes: a mapping relationship between the keyboard message encoding and the text/text string, a mapping relationship between the text/text string and the artistic word style; and a mapping relationship between the keyboard message encoding and the artistic word style directly .
  • the code receiving unit 602 is configured to invoke an operating system interface function, obtain a keyboard message code, and implement an interface function with the computer system.
  • the method of the present invention is not limited to the Windows system, but can be applied to other operating systems.
  • the word matching unit 603 is configured to match the mapping relationship table in the storage unit 601, and match the keyboard message encoding acquired by the encoding receiving unit 602 with the artistic word pattern in the storage unit 601. If the received keyboard message code is an English input, the word matching is directly performed according to the mapping relationship between the keyboard message code and the WordArt style in the mapping relationship table; if the received keyboard message code is the code string input, according to the keyboard message code and the text / mapping relationship of text strings, mapping relationship between text/text strings and artistic word styles, first selecting corresponding Chinese characters in the candidate word list, and then performing matching of artistic words in the storage unit 601.
  • the output unit 604 is configured to trigger an application interface control message, send a matching result to the currently activated application, and implement an interface function with the application. After completing the matching of the artistic word style, the artistic word matching unit 603 will trigger the interface control message of the artistic word system and the application, access the interface function of the artistic word system according to the application program, and send the matching result to the currently activated application.
  • the output can be displayed directly in the application window.
  • the application determining unit 605 if the matching result of the WordArt matching unit 603 is a graphic stored in the picture format, before the trigger output unit 604, the application determining unit 605 is configured to determine whether the currently activated application supports the corresponding graphic storage. Format, if supported, triggers the output unit
  • the self-editing unit 606 is configured to customize a mapping relationship between the keyboard message encoding and the WordArt style, and save the storage unit 601.
  • the user can create a mapping relationship between characters and single-line strings, character arrays, astigmatism words, graphics, etc. according to the input requirements, and create a corresponding text or graphics library.
  • the WordArt function of the French method is more scalable and user-participating, and prepares for the future exchange of the thesaurus and the graphics library.
  • the character matching unit 608 is configured to match a mapping relationship between the keyboard message encoding and the text/character string, and match the text/text string corresponding to the encoding; And determining whether the current state is a WordArt state, and if so, triggering the WordArt matching unit 603; otherwise, triggering the character matching unit 608.
  • the present invention also incorporates commonly used input methods in the WordArt system to provide an opportunity for the user to select inputs. Before the word-of-word matching unit 603 performs the matching of the WordArt style, the judgment state unit 607 first judges the current input state.
  • the WordArt Matching Unit 603 is executed to implement the WordArt function; if it is not a WordArt state, the Character Matching Unit 608 is executed to output an English, Chinese or special symbol corresponding to the keyboard message encoding.
  • the system shown in Fig. 6 further includes a character replacement unit (not shown), and the storage unit further stores at least one ASCII character replacement rule.
  • the character replacement unit is configured to encode a corresponding artistic word style into the keyboard message according to the ASCII code character confirmed by the user, the character replacement rule, and the pre-stored artistic word style/preset artistic word style algorithm. replace.
  • the code receiving unit 602, the storage unit 601, and the output unit 604 may be located in the same computing device.
  • the network input process may also be employed: the system code receiving unit 602 and the output unit 604.
  • the first computing device is located in the first computing device.
  • the storage unit 601 is located in the second computing device.
  • the system shown in FIG. 6 obtains corresponding information from the storage unit located in the second computing device according to the keyboard message input by the user, and outputs the corresponding information in the first computing device.
  • the system shown in FIG. 6 further includes a graphics replacement unit (not shown), wherein the storage unit further stores at least one ASCII art pattern replacement rule; the graphics replacement unit is configured to replace the ASCII code art graphic The rule and the pre-stored picture graphic perform ASCII code art graphic replacement on the corresponding picture graphic of the keyboard message.
  • the present invention also provides a system for inputting WordArt in an application window.
  • FIG. 7 a system structure diagram for inputting a word/graphic in an application window according to a preferred embodiment of the present invention.
  • code receiving unit 702 word matching unit 703, output unit 704, application determining unit 705, self-editing unit 706, and determining status unit 707
  • a character string matching unit 708 and a word segmentation unit 709 are also included. among them,
  • the storage unit 701 has the same function as the storage unit 601, and is used for pre-storing various artistic word styles or preset art word style algorithms, and mapping between keyboard message encoding-text/text string-art word style. table. It also includes character library 7011, ASCII art font 7012 and graphics library 7013.
  • the character string matching unit 708 is configured to correspond to the mapping relationship between the keyboard message encoding and the text/character string in the storage unit 701, and match the text/text string corresponding to the encoding.
  • the text string matching unit 708 will perform a match of the text/text string on the code string.
  • the word segmentation unit 709 if the user-selected art word style is an ASCII art graphic, a single-line character string, a character matrix or a graphic, etc., is used to segment the text string obtained by the character string matching unit 708.
  • the phrase or sentence corresponding to the character string is subjected to word segmentation processing, and then the art word matching unit 703 matches the corresponding art word stored in the storage unit 701, so that the user can input the text string once and then display the corresponding art on the screen.
  • the word style can also improve the matching efficiency and matching effect of various artistic word styles.
  • the present invention can perform word segmentation processing using several word segmentation methods as described above or other methods well known to those skilled in the art.
  • the optimal segmentation path method based on the unary model can be used to be more faithful to the original semantics.
  • the specific description of the optimal segmentation path method is as described above.
  • the word matching unit 703 has the same function as the word matching unit 603, and is used for the mapping result according to the segmentation unit 709 and the mapping relationship between the character/character string and the word style in the storage unit 701 to the storage unit 701. Get the corresponding WordArt style.
  • the judgment status unit 707 is the same as the function of the judgment status unit 607, and is used to determine whether the current status is a WordArt state, and if so, triggers the character string matching unit 708 - word segmentation unit 709 - Word Word matching unit 703 - Output unit 704; , trigger text string matching unit 708 - output unit 704.
  • the system shown in FIG. 7 may further include a character replacement unit, wherein the storage unit 701 further stores at least one ASCII code character replacement rule; the character replacement unit is configured to replace the ASCII code character according to the user, the character replacement Rules and pre-stored WordArt style/preset WordArt style algorithms,
  • the keyboard message is encoded with a corresponding art word style for character replacement.
  • WordArt style may also include words, symbols or combinations thereof having the same or similar meanings, and the above characters may include national languages, punctuation and numbers.
  • “hungry” means “I” on the network, "0” for “I”, “i 40” for “down” (me) and so on.
  • a mapping relationship between a certain keyboard message code and the same or similar character or symbol, or a combination thereof may be established in advance.
  • it is required to output content corresponding to the keyboard message code, in the case of group words, It can be either a fixed output or a random output, or it can be output according to a preset strategy.
  • the text, symbol or combination of the same or similar shape and sound corresponding to the keyboard message code can be output.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

La présente invention concerne un procédé et un système qui permettent d'entrer un mot/diagramme artistique dans un programme d'application. Le procédé selon l'invention consiste à construire une relation de mappage entre le code d'information de clavier et le modèle de mot artistique; à appeler la fonction d'interface du système d'exploitation pour obtenir le code d'information du clavier; à faire correspondre le modèle de mot d'article avec le code sur la base de la relation de mappage; à déclencher le message de commande de l'interface du programme d'application pour envoyer le résultat concordant au programme d'application activé.
PCT/CN2007/070615 2006-09-05 2007-09-04 Procédé et système permettant d'entrer un mot/diagramme artistique dans un programme d'application WO2008071099A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610127154.2 2006-09-05
CN200610127154.2A CN1920754B9 (zh) 2006-09-05 2006-09-05 一种向应用程序输入艺术字/图形的方法及系统

Publications (1)

Publication Number Publication Date
WO2008071099A1 true WO2008071099A1 (fr) 2008-06-19

Family

ID=37778486

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070615 WO2008071099A1 (fr) 2006-09-05 2007-09-04 Procédé et système permettant d'entrer un mot/diagramme artistique dans un programme d'application

Country Status (2)

Country Link
CN (1) CN1920754B9 (fr)
WO (1) WO2008071099A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566904A (zh) * 2011-11-25 2012-07-11 同济大学 西夏文语音仿真平台的全息码交换终端
CN117173000A (zh) * 2023-09-08 2023-12-05 广州市科帕电子科技有限公司 一种基于四进制编码的信息隐藏方法及系统

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286118B (zh) * 2007-04-10 2012-04-18 北京搜狗科技发展有限公司 一种快速调用程序指令的方法、系统
CN101833936A (zh) * 2009-12-22 2010-09-15 康佳集团股份有限公司 一种移动终端及其界面的显示方法和装置
CN102541283A (zh) * 2010-12-25 2012-07-04 上海量明科技发展有限公司 路径型字符输入法的实现方法及系统
CN103294220A (zh) * 2012-02-28 2013-09-11 联想(北京)有限公司 一种输入方法和装置
CN102819325A (zh) * 2012-07-21 2012-12-12 上海量明科技发展有限公司 获取多种文字呈现效果的输入法及系统
CN104063363A (zh) * 2013-03-19 2014-09-24 福建福昕软件开发股份有限公司北京分公司 在pdf文档中快速插入艺术字的方法
CN103455166B (zh) * 2013-08-18 2018-10-12 苏州量跃信息科技有限公司 基于输入法工具输出印章信息的方法及系统
GB201321468D0 (en) * 2013-12-05 2014-01-22 Language Garden Ltd Manipulating graphic representations of words
CN103760991B (zh) * 2014-01-13 2017-02-15 北京搜狗科技发展有限公司 一种实体输入方法和装置
CN104899184B (zh) * 2014-03-04 2019-10-15 腾讯科技(深圳)有限公司 文字处理方法、装置及系统
CN104881146A (zh) * 2015-04-28 2015-09-02 北京美秒科技有限公司 图片输入方法
CN105739717B (zh) * 2016-01-27 2019-01-25 百度在线网络技术(北京)有限公司 信息输入方法和装置
CN107229349B (zh) * 2016-03-25 2021-04-13 斑马智行网络(香港)有限公司 一种输入法的文字显示方法及装置
CN109871161B (zh) * 2017-12-01 2021-08-17 腾讯科技(深圳)有限公司 聊天应用中的字体处理方法及装置、电子设备
CN110110073B (zh) * 2018-01-26 2021-07-23 北京高德云图科技有限公司 一种文字展示方法及装置
CN110456919A (zh) * 2018-05-07 2019-11-15 北京搜狗科技发展有限公司 数据处理方法、装置和用于数据处理的装置
CN110909194A (zh) * 2019-09-29 2020-03-24 上海萌家网络科技有限公司 一种输入法及其系统

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW235312B (fr) * 1992-10-30 1994-12-01 Himont Inc
CN1779604A (zh) * 2004-11-18 2006-05-31 黄金富 一种数据处理装置及其输入文字的方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW235312B (fr) * 1992-10-30 1994-12-01 Himont Inc
CN1779604A (zh) * 2004-11-18 2006-05-31 黄金富 一种数据处理装置及其输入文字的方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LV J.-X. ET AL.: "Input method based on Windows IME", AGRICULTURAL UNIVERSITY OF HEBEI, vol. 26, no. SUPPL., 31 May 2003 (2003-05-31), pages 290 - 292 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566904A (zh) * 2011-11-25 2012-07-11 同济大学 西夏文语音仿真平台的全息码交换终端
CN117173000A (zh) * 2023-09-08 2023-12-05 广州市科帕电子科技有限公司 一种基于四进制编码的信息隐藏方法及系统

Also Published As

Publication number Publication date
CN1920754A (zh) 2007-02-28
CN1920754B (zh) 2010-06-23
CN1920754B9 (zh) 2016-06-08

Similar Documents

Publication Publication Date Title
WO2008071099A1 (fr) Procédé et système permettant d'entrer un mot/diagramme artistique dans un programme d'application
US8756527B2 (en) Method, apparatus and computer program product for providing a word input mechanism
US7949513B2 (en) Language module and method for use with text processing devices
WO2010035574A1 (fr) Dispositif et procédé d'entrée, programme et support d'enregistrement
US7953692B2 (en) Predicting candidates using information sources
CN105573503B (zh) 用于接收触敏显示设备上的文本输入的方法和系统
US20140123050A1 (en) Text input
JP2008527563A (ja) アイコニック通信
CN101943952A (zh) 一种至少两种语言混合输入的方法和输入法系统
CN102439544A (zh) 与输入法编辑器计算设备的交互
JP2005508031A (ja) 部首に基づいた、適合化可能な画の書き順システム
JP2009176118A (ja) 携帯情報端末および一時文字保存プログラム
JP5767590B2 (ja) 文字および絵が混ざり合った表示をする情報を生成するシステム
CN111444725B (zh) 语句的生成方法、装置、存储介质和电子装置
WO2022247789A1 (fr) Procédé et appareil de mise à jour de mot candidat et dispositif électronique
JP2009104231A (ja) 情報処理装置、音出力装置、記号表示装置、画像形成装置、ユーザ属性判定方法、プログラム
CA2939395A1 (fr) Methode et dispositif servant a invoquer une recherche a partir d'un message texte
KR20120063407A (ko) 터치스크린을 이용한 빠른 문자입력방법 및 문자입력장치
CN102591851B (zh) 一种用于基于键盘按键对目标文本进行编辑的方法与设备
WO2022143661A1 (fr) Procédé et appareil d'affichage d'informations candidates, et dispositif électronique
JP5674140B2 (ja) テキスト入力装置、テキスト入力受付方法及びプログラム
WO2006094454A1 (fr) Traitement de mots ambigus et procede interactif de saisie de langue par lettres sur un pave numerique
JP2008226019A (ja) 文字処理装置、文字処理方法及びプログラム
JP2014178953A (ja) 文字入力用のプログラムおよび文字入力装置
KR100811285B1 (ko) 텍스트 명령 입력 시스템, 방법, 및 상기 방법을실행시키기 위한 컴퓨터 판독 가능한 프로그램을 기록한매체

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: 07801024

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07801024

Country of ref document: EP

Kind code of ref document: A1