WO2010006512A1 - Display method, retrieval method and display device of characters - Google Patents

Display method, retrieval method and display device of characters Download PDF

Info

Publication number
WO2010006512A1
WO2010006512A1 PCT/CN2009/000806 CN2009000806W WO2010006512A1 WO 2010006512 A1 WO2010006512 A1 WO 2010006512A1 CN 2009000806 W CN2009000806 W CN 2009000806W WO 2010006512 A1 WO2010006512 A1 WO 2010006512A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
text
character
stroke
strokes
Prior art date
Application number
PCT/CN2009/000806
Other languages
French (fr)
Chinese (zh)
Inventor
黄克俭
Original Assignee
常州华文印刷新技术有限公司
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
Application filed by 常州华文印刷新技术有限公司 filed Critical 常州华文印刷新技术有限公司
Publication of WO2010006512A1 publication Critical patent/WO2010006512A1/en

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 character display and retrieval, and more particularly to a display method for displaying characters in a writing order and a retrieval method for retrieving information in a text word. Background technique
  • Text is a tool for information exchange between people, and the glyph of words is the external expression of words. People realize the understanding of words through glyphs.
  • glyphs When using a computer to implement text processing, it is necessary to solve how to input, save, display, retrieve, and print text in a computer system. Regardless of the above operations, the core is related to the text font used in the computer.
  • a text font is a description of a text glyph in a computer. It is a collection of text glyphs represented in a computer. When the user processes the text, he or she will eventually need to call the information in the text font to display the text on the computer screen or at the print terminal.
  • the character font can be divided into a dot matrix font, a vector font library, a curve font library, a centerline font library, etc., but in any of the above text fonts, when storing a text , the text is stored as a graphic or image element as a whole.
  • the dot matrix font For example, taking the "Zhang" word in Chinese characters as an example, in the dot matrix font, the image data of the entire glyph represented by dots is stored, and in the vector font library, the curve font library, and the centerline font library, the whole is stored. A graphical description of the glyph. Each font does not store information about a radical or a stroke in the text.
  • the strokes are output in order, and the Chinese characters cannot be directly output according to the information of the existing Chinese character library in the order in which the strokes are written. Similarly, users cannot rely on existing Chinese character libraries to directly search for Chinese characters with a certain radical. Defective Further use of the text. SUMMARY OF THE INVENTION The problem that characters are sequentially displayed in the order of strokes provides a method for sequentially displaying and printing text strokes and corresponding devices.
  • the present invention provides a text display method, the character includes text information of a basic element obtained by splitting the character according to a stroke, and the basic element includes font description information and direction information;
  • the methods include:
  • Step 1) providing text information of the text to be displayed
  • Step 2) selecting a stroke of the text according to the writing order of the characters;
  • Step 3 obtaining the glyph description information of each basic element in the current stroke and the direction information to draw the current stroke;
  • Step 4 repeat steps 2) and 3) above, until the display of the text or a part thereof is completed.
  • the step 3) includes:
  • Step 3-1) determining the representation manner of the glyph description information, if it is a dot matrix mode, performing step 3-3), otherwise, performing the next step;
  • Step 3-2 performing a rasterization operation on each basic element in the current stroke according to the glyph description information
  • Step 3-3) drawing the current stroke according to the direction information and the font description information.
  • the representation manner of the glyph description information includes a lattice mode, a vector mode, a curve mode, a center line mode, a contour mode, and a skeleton mode.
  • the text information further includes speed information indicating the speed of the basic element during writing and the length of pause between the basic elements during writing; in the step 3), drawing the speed information according to the speed information Present the current strokes.
  • the type information of the stroke and the voice information for reading the stroke type or the encoding information thereof are also stored in the text information; in the step 3), when the current stroke is drawn, The type of the current stroke reads the speech of the stroke.
  • the text information of the plurality of characters is stored in a font library.
  • each word has a unique code
  • the text information of the text is obtained from the font library according to the encoding of the text.
  • the text further includes voice or voice coded information of the text.
  • the character further includes information of a stroke number of the character and a number of strokes of the character.
  • the text further includes selection information indicating a manner in which the glyph description information is expressed.
  • the text further includes information for distinguishing the stroke number of the character according to the shape of the character and the side of the voice.
  • the text further includes a code of a character or a side of the character as an independent character.
  • the stroke number of the character, the number of strokes of the character, the selection information of the representation manner of the font description information, and the stroke number of the character are distinguished according to the shape of the character and the sound side.
  • the information, the shape of the word or the side of the sound as a separate text is represented in an index table.
  • step 4 setting a calling condition before displaying the next stroke of the character, calling the next stroke of the text after satisfying the calling condition, or ending the operation according to the calling condition .
  • the direction information is calibrated in eight directions of east, south, west, north, southeast, southwest, northeast, and northwest, or is calibrated according to an angle.
  • the drawing operation includes dynamic display, static display, and printing.
  • a text display device for implementing the text display method comprising a text information providing module, a stroke selection module, and a stroke drawing module;
  • the text information providing module is configured to provide text information of the text to be displayed
  • the stroke selection module is configured to select a stroke of the character according to a writing order of the characters
  • the stroke drawing module is configured to draw a current stroke according to the glyph description information of each basic element in the current stroke and the direction information.
  • the stroke drawing module includes a glyph description information representation mode determining unit, a rasterizing operation unit, and a drawing operation unit;
  • the glyph description information representation mode determining unit is configured to describe the glyph of the basic element Determining the representation manner of the information, and determining whether to call the rasterization operation unit or the drawing operation unit according to the determination result;
  • the rasterization operation unit is configured to perform a rasterization operation on a stroke in a text or a text; and the drawing operation unit is configured to perform a drawing operation on a stroke of the text.
  • the text information is stored in a text library, and the text information providing module obtains text information of the text to be displayed from the font library.
  • the present invention also provides a text retrieval method, the character includes text information of a basic element obtained by splitting the text according to a stroke, and the basic element includes a glyph. Descriptive information, direction information; the text further includes information of a radical portion of the text; the method includes:
  • Step 1) input the radicals to be searched
  • Step 2) comparing the information of the radical portion to be searched with the information of the radical portion in the text to find a matching text.
  • the method further includes:
  • Step 3 displaying the matched text.
  • the radical portion of the character includes a shape side and a sound side; in the step 2), the information of the radical portion to be searched is only related to the information of the shape in the text. Or just compare the information next to the sound in the text to find the matching text.
  • the text further includes information of other radicals constituting the radicals of the text; in the step 2), the radicals to be searched are searched in a recursive manner. The information is compared with the information of the radicals in the text to find the matching text.
  • the information of the radical head of the character further includes the number of strokes of the radical portion; and in the step 2), the information and the location of the radical portion to be searched are further included.
  • the number of strokes to be searched is input, and the number of strokes to be found and the number of strokes of the radicals of the text are further found in the comparison result. Match the text.
  • a text search method the character includes text information of a basic element obtained by splitting the character according to a stroke, the basic element includes a glyph description information, and direction information; and the text further includes a stroke number of the text;
  • the method includes:
  • Step 1) input the number of strokes to be found
  • Step 2 comparing the number of strokes to be found with the number of strokes of the text to find out Match the text.
  • the method further includes:
  • Step 3 displaying the matched text.
  • the matched characters are sorted and displayed.
  • the text further includes stroke type information; in the step 3), the matched characters are sorted by the number of strokes, and the characters having the same number of strokes are sorted according to the stroke type information.
  • the invention divides the text into basic elements according to the strokes, and stores the glyph description information, the direction information and the speed information of the basic elements, so that the above information can be sequentially displayed in the writing order in the display process, and the information is overcome.
  • the prior art only the defects of the overall display of the text can be displayed, and the detailed information such as the writing direction and the writing rhythm of the text in the writing process can be displayed.
  • the text display method of the present invention covers various glyph description manners in the prior art, so that the method of the present invention has the advantages of wide application range and convenient use.
  • the present invention distinguishes text strokes according to the shape and the sound side, so that the user can perform text processing on the text according to the radicals.
  • the character search method of the present invention is capable of searching for information within a word.
  • FIG. 1 is a schematic view showing a direction division of a two-dimensional space involved in the character display method of the present invention
  • FIG. 2 is a schematic view of a character display method of the present invention. detailed description
  • the character display method of the present invention will be specifically described by taking a Chinese character as an example. Before describing the character display method of Chinese characters, it is necessary to explain the data structure and storage method of the Chinese character library involved in the display of Chinese characters.
  • the present invention proposes a new Chinese character library, in which the in-word information of the Chinese character is stored in the data structure of the Chinese character library. Specifically, first need Divide a Chinese character into basic elements, and record two pieces of information of each basic element, namely glyph description information and direction.
  • the basic element involved may refer to a stroke or a combination of strokes in a stroke, for example, for a stroke ⁇ ", which may be a basic element, and for a stroke "", Then it can be divided into two basic elements, which are "one" and "1" respectively.
  • the strokes in the basic elements usually have the same direction, and the structure is relatively simple, but the invention is not limited to the above. Description.
  • the above information of the basic element may describe the basic element in more detail, wherein the glyph description information is used to represent the shape of the basic element, and the glyph description information also exists in the existing Chinese character library.
  • a difference from the present invention is that only the glyph description information of the entire word is stored in the existing Chinese character library, and in the present invention, the glyph description information of the basic elements of the character is stored.
  • glyph description information such as dot matrix mode, vector mode, curve mode, center line mode, skeleton mode, and contour mode in the prior art, which can be used to represent glyph description information.
  • the direction is used to indicate the direction of travel of the stroke in the basic element.
  • the two-dimensional space can be divided into eight directions. As shown in FIG.
  • the eight directions are a, b, c, d, e, f, g, h respectively indicate that the direction of the basic elements can be described by the above letters.
  • the direction of the basic elements can also be explained by the angle method.
  • the information of the basic elements is not limited to the above two pieces of information, and in another embodiment, the information of the basic elements may further include speed information.
  • the speed is used to indicate how fast the basic elements are when writing. As a basic common sense, we know that Chinese characters have a unique writing rhythm during writing. The speed of writing on one pen is slightly faster, and the writing speed on another pen is slower. The speed information in the basic elements is used. To record the speed of the basic element when writing. In particular, in a basic element, there is also a difference in the speed of writing between different segments. Therefore, the velocity information of a basic element can be segmented. In addition, since the actual writing process, after writing a basic element in a stroke or a stroke, there may be a corresponding pause.
  • the speed information may also include information on the length of the pause between the basic elements.
  • the intra-word information of Chinese characters in this embodiment is as in the Chinese character library. How to store the corresponding instructions.
  • the in-word information of the Chinese character "Zhang" is stored.
  • the basic unit stored is not the entire word, but the basic elements of the word according to the above description, all basic The storage information of the elements is stitched into a complete word.
  • the following table 1 is used to indicate the data structure of the "Zhang" word when it is stored.
  • the glyph description information can be expressed in various ways, such as the common dot matrix definition method and the contour definition method. (including linear and curved), skeleton definition, centerline definition, etc., it covers various typical representations, such as TrueType.
  • a plurality of data structures as described in Table 1 may be defined for one Chinese character in a Chinese character library, and used in different data structures.
  • Different ways represent glyph description information. This can enable the user to select an appropriate glyph description information representation according to the actual application, and provide users with a variety of options.
  • the stroke type information represented by numbers is also included, such as "5" at the lower left of the first row of Table 1.
  • Strokes can be classified as corresponding strokes. For example, the mention can be returned to the horizontal, the ⁇ can be returned to the point, the vertical hook is classified as the vertical, and various folding pens (such as horizontal folding hooks, horizontal folding hooks, vertical bending hooks, etc.) can be assigned to the fold.
  • stroke type information facilitates the retrieval, classification, sorting, and display of strokes of a particular stroke type in Chinese characters.
  • the corresponding stroke speech information or its encoding information may be added according to the type information of the stroke, and the stroke information or the encoding information thereof may be used according to the stroke information, and may be in the subsequent display process. In the middle, the stroke of the stroke is read while the stroke is displayed.
  • the respective strokes in the Chinese characters are sequentially stored in the order of writing, but in other embodiments, the individual strokes in the Chinese characters may not be sequentially stored in the order of writing.
  • the sequential display of each stroke in the Chinese character can also be realized. .
  • a call to this data structure can be implemented by an index table.
  • this index table further classification and storage of the structure information in Chinese characters can be realized. For example, since most Chinese characters belong to a phonogram, in the above index table, the numbers of the strokes in the kanji can be stored separately according to the shape and the side of the sound, thereby distinguishing the shape of the Chinese character from the side of the sound.
  • each stroke in the aforementioned "Zhang" word is stored as follows: Chinese character coded next to 0, 1, 2 sounds 3, 4, 5, 6 strokes 7
  • the Chinese character encoding may be the Un i code encoding of the Chinese character or the GB encoding, the Un i code corresponding to the Chinese character is 5 F20, and the corresponding GB encoding is D5C5.
  • an interval parameter can be added between the stroke numbers in the index table to indicate the pause of the stroke when writing.
  • a plurality of data structures as shown in Table 1 can be defined for a Chinese character so that the glyph description information can be represented in various ways, and therefore, it is also possible to add one to the data structure described in Table 2. The option to represent the referenced data structure.
  • the Chinese character library involved in the present invention has been described by taking the " ⁇ " character as an example.
  • the corresponding storage in the Chinese character library can be realized by the above method.
  • the Chinese character library involved in the present invention creates conditions for the Chinese character to be displayed by stroke by adding information in the Chinese character.
  • Chinese characters can be further processed.
  • the Chinese characters can still be output according to the existing method according to the existing method, or the Chinese characters can be sequentially output according to the stroke order according to the information in the Chinese character words stored in the Chinese character library.
  • Step 1 Using the Chinese character encoding, an index table of the Chinese character is obtained. For a specific Chinese character, there is a unique Chinese character encoding. Therefore, according to the encoding, the corresponding index table can be obtained.
  • the index table described in this step is shown in Table 2.
  • Step 20 Select a display mode of the Chinese character. If the Chinese character is displayed as a whole, the Chinese character library part that describes the Chinese character glyph is called from the Chinese character library, and then according to the display method of the prior art. Display, if the Chinese character is displayed by stroke, proceed to the next step.
  • Step 30 Select a stroke of the Chinese character in order. Since the strokes of Chinese characters have been numbered sequentially in numbers when stored in the Chinese character library, in this step, the progressive selection can be made according to the numbers from small to large. For example, for the "Zhang" word, its first stroke is represented by 0. Therefore, when the first stroke is selected, the stroke numbered 0 is selected, and when the selection is made later, the number is 1, 2, 3 Strokes, etc.
  • Step 40 Call the glyph description information of the current stroke. Since a stroke may be divided into multiple basic elements, when the glyph description information of the current stroke is called, the glyph description information of all the basic elements in the stroke is actually called. After obtaining the corresponding coding of the stroke from the previous step, the specific information of the basic elements in the stroke can be obtained from the corresponding data structure (such as Table 1), including the glyph description information, the direction information and the speed information. In this step, the call is invoked. Glyph description information.
  • the glyph description information of the Chinese character is represented by the dot matrix method or the vector mode or the curve mode or the center line mode or the skeleton mode or the contour mode in the prior art, so the glyph description is called.
  • the corresponding glyph description information description method is adopted according to the representation manner of the glyph description information.
  • Step 50 Determine a representation manner of the glyph description information of the stroke. If the glyph description information is expressed in a dot matrix manner, step 70 is directly performed; if other types of representation manners are performed, the next step is performed;
  • Step 60 Perform a rasterization operation on the basic elements in the current stroke according to the glyph description information.
  • a rasterization operation is the process of converting a primitive into a two-dimensional image.
  • the specific implementation of rasterization operations is a mature prior art.
  • Step 70 Perform a drawing operation on the current stroke.
  • Drawing operations on strokes include static display, dynamic display, and printing.
  • the dynamic display is to display the strokes of Chinese characters according to the writing rules.
  • the stroke can be divided into a plurality of basic elements, so that in the dynamic display process of the drawing operation, the corresponding drawing is performed in the order of the basic elements in the stroke.
  • This writing order can be obtained by the direction information of the basic elements.
  • the writing rhythm of Chinese characters should be reflected. This writing rhythm can be passed through the basic elements. The speed information is obtained.
  • the static display and printing in the drawing operation have existed in the prior art, and the description will not be repeated here.
  • the glyph description information of the stroke has multiple representations.
  • the drawing operation is performed on the basis of the rasterization operation,
  • the lattice mode of the rasterization operation directly performs the drawing operation.
  • the specific implementation process of the drawing operation for different tables The way is the same.
  • the voice information of the strokes can also be read out simultaneously during the display.
  • Step 80 Determine whether the current stroke is the last stroke of the current Chinese character, and if so, end the display process of the current Chinese character; otherwise, call the next stroke in the Chinese character, and then re-execute step 30.
  • a certain calling condition can also be set. For example, after obtaining one input information of the user, the next stroke is called, so that the Chinese character can be made in the display process. The output of the stroke is displayed under the control of the user, and the strokes are implemented in sequence.
  • the call condition can also be used to selectively display a part of the Chinese character (such as a radical). After setting the calling condition, in this step, it is also necessary to judge whether the next stroke to be called satisfies the termination condition in the calling condition, and if it is satisfied, the display is terminated.
  • the display method of the characters is described by taking Chinese characters as an example, but those skilled in the art should understand that similar processing can be performed for other types of texts to further implement the information in the characters. operating.
  • the text display device can also be used to implement the idea of the present invention.
  • the device includes a text information unit, a stroke selection module, and a stroke drawing module.
  • the text information unit is used for storing Information about the basic elements obtained by splitting the text according to strokes;
  • the stroke selection module is configured to, in the process of sequentially displaying according to the strokes, call the corresponding stroke information from the text information unit, and determine whether the current stroke is the last stroke of the text or whether the next stroke satisfies the call termination.
  • the stroke drawing module is configured to complete the depiction of the stroke according to the information of the stroke.
  • the device further includes a display mode selection module, and the display mode selection module is configured to select a display mode of the text.
  • the stroke drawing module includes a glyph description information representation mode determining unit, a rasterizing operation unit, and a drawing operation unit.
  • the glyph description information representation mode determining unit is configured to display the glyph description information of the basic element. Judging, according to the judgment result, determining whether to call the rasterization operation unit or the drawing operation unit;
  • the rasterization operation unit is configured to perform a rasterization operation on a stroke in a text or a text; and the drawing operation unit is configured to perform a drawing operation on a stroke of the text.
  • a text library can be obtained by combining the above text information units.
  • the above text display device has a more display mode than the existing text display device. More choices give users more flexibility.
  • the text display device can also have typesetting and printing functions.
  • the present invention can also perform retrieval of specific conditions based on the in-word information of the characters.
  • the following still uses Chinese characters as an example to illustrate this search process.
  • the in-word information contained in the Chinese character library includes the number of strokes of the Chinese character, the basic elements constituting the Chinese character, and the like. Therefore, when searching, it is possible to search for the search conditions such as the number of strokes of Chinese characters and the radicals of Chinese characters based on the information in these words.
  • the radical heads involved in the present invention include not only the radical heads specified by the National Language Working Committee, but also the results obtained by splitting or combining the prescribed radicals or the user. A defined smaller unit of constituting the radicals is defined. Further, the radical portion described in the present invention can be further classified into the aforementioned shape and side by sound according to the action played in the text.
  • the search condition set by the user is to find a Chinese character with a stroke number of 7, and according to the retrieval condition, find an index table of all the Chinese characters in the Chinese character library. It can be seen from the index table shown in Table 2 that the description information of the number of strokes of Chinese characters has been included in the index table, so that all Chinese characters with a stroke number of 7 in the Chinese character library can be extracted, and then the aforementioned Chinese character display method is called. Or the text display method in the prior art displays all the Chinese characters that meet the conditions in a specified manner. The " ⁇ " word mentioned in the previous example satisfies this search condition and is therefore displayed as a search result.
  • the search results may be sorted according to the stroke type information stored in the above Table 1, so that all the search results can be displayed in accordance with the stroke type during the display process.
  • the user sets the number of strokes in the search condition to a specific value.
  • the number of strokes in the search condition may be set to a certain value range, such as the number of strokes found is greater than All Chinese characters of 7, or all Chinese characters with a stroke count less than or equal to 7.
  • the retrieval of this search condition can also be achieved.
  • the search result includes a plurality of stroke numbers
  • the number of strokes may be first sorted, then the Chinese characters having the same stroke number are sorted according to the stroke type information, and finally the sorted search results are displayed.
  • the user sets the search criteria to find all Chinese characters having a certain radical.
  • the Chinese characters have been distinguished according to the shape and the side of the sound, and the code corresponding to the radicals is recorded in the field next to the shape and the sound. Therefore, in the retrieval process, the encoding of the radical portion to be searched is compared with the encoding of the radical portion recorded in the index table, and the Chinese character satisfying the retrieval condition can be found, and then the foregoing display method or prior art is invoked.
  • the text display method in the display shows the search results.
  • the radical portion to be retrieved may be displayed in one manner (such as a certain color), and the Chinese character may be displayed in another manner (such as another color).
  • the part outside the radical is to be searched.
  • the user may further set the search condition when searching for the radical radicals, for example, searching for all Chinese characters in the Chinese character as the side of the radical "bow".
  • the word "bow” is in the form of "Zhang", which may be used as a sound in other Chinese characters. Therefore, based on this retrieval condition, a more accurate search of the information in the Chinese character can be made.
  • the index table of all Chinese characters in the Chinese character library only the code "1122" is found in the shape side portion, and then the above display method is called to display the output of the condition satisfying the condition. If you want to retrieve all the Chinese characters next to a certain radical in the Chinese character, the operation is similar.
  • the recursive definition of the shape or the side of the index table shown in Table 2 is to further split the radicals represented by the shape or the side of the sound to generate a new shape and side.
  • the sound of "Hu” can be further divided into "Ancient” next to the sound and "Month” next to the sound.
  • the user can also set a combined search condition to obtain a more accurate search result. For example, combine the two search conditions of the radicals and the number of strokes mentioned above.
  • the index table shown in Table 2 an item for recording the number of strokes of the radical portion can be added in the field next to the shape and the side of the sound.
  • the search result may be further searched according to the number of strokes. For example, after retrieving the radical "bow", the resulting search results include multiple results such as "zhang”, “strong”, “bomb", and “chord”. If you further enter the search condition that the number of remaining strokes is "4", you can eliminate the rest of the search results except the "Zhang" word.
  • the number of strokes as further retrieval conditions may be a numerical range in addition to a specific numerical value.

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)
  • Controls And Circuits For Display Device (AREA)
  • Document Processing Apparatus (AREA)

Abstract

A display method of characters is disclosed, in which the characters include character information of basic elements obtained by splitting the characters in strokes, and the basic elements include font description information and direction information. The method includes that the character information of characters to be displayed is provided; according to the handwriting order of the characters, a stroke of the character is selected; the font description information and the direction information of every basic element in the current stroke is achieved to draw the current stroke; the above operations are repeated until the display of the characters or a portion thereof is completed.

Description

文字的显示方法、 检索方法及显示设备 技术领域  Text display method, search method and display device
本发明涉及文字显示和检索, 特别涉及一种将文字按照书写顺序进行 显示的显示方法以及用于检索文字字内信息的检索方法。 背景技术  The present invention relates to character display and retrieval, and more particularly to a display method for displaying characters in a writing order and a retrieval method for retrieving information in a text word. Background technique
文字是人与人之间进行信息交流的工具, 而文字的字形则是文字的外 在表现形式, 人们通过字形实现了对文字的了解。 而利用计算机实现对文 字的处理时, 需要解决如何在计算机系统中实现对文字的输入、 保存、 显 示、 检索和打印等操作。 无论是上述何种操作, 其核心都与计算机中所采 用的文字字库有关。  Text is a tool for information exchange between people, and the glyph of words is the external expression of words. People realize the understanding of words through glyphs. When using a computer to implement text processing, it is necessary to solve how to input, save, display, retrieve, and print text in a computer system. Regardless of the above operations, the core is related to the text font used in the computer.
文字字库是对文字字形在计算机内的描述, 它是在计算机内所表示的 文字字形的一个集合。 用户在处理文字时, 最终都需要调用文字字库中的 信息, 从而在计算机屏幕上或在打印终端等显示文字。 在现有技术中, 根 据文字字库中文字的存储方式,可将文字字库划分为点阵字库、矢量字库、 曲线字库、 中心线字库等, 但无论是上述何种文字字库, 在存储一个文字 时,都将该文字作为图形或图像元素进行整体存储。例如,以汉字中的 "张" 字为例, 在点阵字库中, 所存储的是用点表示的整个字形的图像数据, 在 矢量字库、 曲线字库和中心线字库中, 所存储的是整个字形的图形描述。 各种字库都不会单独存储文字中某个偏旁部首或某个笔画的信息。  A text font is a description of a text glyph in a computer. It is a collection of text glyphs represented in a computer. When the user processes the text, he or she will eventually need to call the information in the text font to display the text on the computer screen or at the print terminal. In the prior art, according to the storage method of the characters in the text font, the character font can be divided into a dot matrix font, a vector font library, a curve font library, a centerline font library, etc., but in any of the above text fonts, when storing a text , the text is stored as a graphic or image element as a whole. For example, taking the "Zhang" word in Chinese characters as an example, in the dot matrix font, the image data of the entire glyph represented by dots is stored, and in the vector font library, the curve font library, and the centerline font library, the whole is stored. A graphical description of the glyph. Each font does not store information about a radical or a stroke in the text.
在现有技术中, 对文字的处理都是以字为单位进行诸如显示、 打印等 各种处理。 但在实际应用中, 还具有对字内信息的处理需求。 仍以汉字为 例, 汉字有偏旁部首, 有固定的笔画数量, 在书写时有规定的笔画顺序等。 上述的汉字字内信息无法在现有的汉字库中得到体现, 从而影响了对汉字 信息的进一步开放使用。 例如, 如果用户需要将某一个汉字按照笔画顺序 一笔一笔地输出, 在现有汉字库的基础上, 需要对所要输出的汉字进行笔 画轮廓或骨架的提取,从而得到笔画信息,然后将汉字的笔画按顺序输出, 无法直接根据现有汉字库的信息按照笔画书写顺序输出汉字。 类似的, 用 户也无法依赖现有汉字库直接检索具有某一偏旁部首的汉字。 上述缺陷的 文字的进一步使用。 发明内容 文字按照笔画顺序依次显示的问题, 从而提供一种可实现文字笔画依次显 示、 打印的方法以及相应的设备。 In the prior art, the processing of characters is performed in various units such as display and printing in units of words. However, in practical applications, there is also a need to process information within the word. Still taking Chinese characters as an example, Chinese characters have radicals, have a fixed number of strokes, and have a prescribed stroke order when writing. The above information in Chinese characters cannot be reflected in the existing Chinese character library, thus affecting the further open use of Chinese character information. For example, if the user needs to output a certain Chinese character one by one in the order of strokes, on the basis of the existing Chinese character library, it is necessary to extract the outline or skeleton of the stroke of the Chinese character to be output, thereby obtaining stroke information, and then displaying the Chinese characters. The strokes are output in order, and the Chinese characters cannot be directly output according to the information of the existing Chinese character library in the order in which the strokes are written. Similarly, users cannot rely on existing Chinese character libraries to directly search for Chinese characters with a certain radical. Defective Further use of the text. SUMMARY OF THE INVENTION The problem that characters are sequentially displayed in the order of strokes provides a method for sequentially displaying and printing text strokes and corresponding devices.
为了实现上述目的, 本发明提供了一种文字显示方法, 所述文字包括 有将所述文字按照笔画拆分所得到的基本元素的文字信息, 所述基本元素 包括字形描述信息、 方向信息; 所述方法包括:  In order to achieve the above object, the present invention provides a text display method, the character includes text information of a basic element obtained by splitting the character according to a stroke, and the basic element includes font description information and direction information; The methods include:
步骤 1 )、 提供待显示文字的文字信息;  Step 1), providing text information of the text to be displayed;
步骤 2 )、 按照所述文字的书写顺序选择所述文字的一个笔画; 步骤 3 )、获得当前笔画中各个基本元素的字形描述信息和所述方向信 息画出当前笔画;  Step 2), selecting a stroke of the text according to the writing order of the characters; Step 3), obtaining the glyph description information of each basic element in the current stroke and the direction information to draw the current stroke;
步骤 4 )、 重复上述步骤 2 ) 和 3 )操作, 直至完成对所述文字或其一 部分的显示。  Step 4), repeat steps 2) and 3) above, until the display of the text or a part thereof is completed.
上述技术方案中, 所述基本元素按照书写顺序依次存储。  In the above technical solution, the basic elements are sequentially stored in the writing order.
上述技术方案中, 所述的步骤 3 ) 包括:  In the above technical solution, the step 3) includes:
步骤 3-1 )、对所述字形描述信息的表示方式进行判断, 若为点阵方式, 则执行步骤 3-3 ), 否则, 执行下一步;  Step 3-1), determining the representation manner of the glyph description information, if it is a dot matrix mode, performing step 3-3), otherwise, performing the next step;
步骤 3-2 )、 根据字形描述信息, 对当前笔画中的各个基本元素进行光 栅化操作;  Step 3-2), performing a rasterization operation on each basic element in the current stroke according to the glyph description information;
步骤 3-3 )、按照所述的方向信息与字形描述信息对当前笔画进行画操 作。  Step 3-3), drawing the current stroke according to the direction information and the font description information.
上述技术方案中, 所述字形描述信息的表示方式包括点阵方式、 矢量 方式、 曲线方式、 中心线方式、 轮廓方式、 骨架方式。  In the above technical solution, the representation manner of the glyph description information includes a lattice mode, a vector mode, a curve mode, a center line mode, a contour mode, and a skeleton mode.
上述技术方案中, 所述的文字信息中还存储有用于表示所述基本元素 在书写时快慢以及书写时基本元素间停顿长短的速度信息;在所述步骤 3 ) 中, 按照所述速度信息画出当前笔画。  In the above technical solution, the text information further includes speed information indicating the speed of the basic element during writing and the length of pause between the basic elements during writing; in the step 3), drawing the speed information according to the speed information Present the current strokes.
上述技术方案中, 所述的文字信息中还存储有笔画的类型信息以及用 于读出笔画类型的语音信息或其编码信息; 在所述步骤 3 ) 中, 在画出当 前笔画时, 还根据所述当前笔画的类型读出笔画的语音。  In the above technical solution, the type information of the stroke and the voice information for reading the stroke type or the encoding information thereof are also stored in the text information; in the step 3), when the current stroke is drawn, The type of the current stroke reads the speech of the stroke.
上述技术方案中, 所述多个文字的所述文字信息存储在一个文字库 中, 每个文字有一个唯一的编码; 其中, In the above technical solution, the text information of the plurality of characters is stored in a font library. In , each word has a unique code;
在所述的步骤 1 ) 中还包括, 根据所述文字的编码, 从所述文字库中 得到该文字的文字信息。  In the step 1), the text information of the text is obtained from the font library according to the encoding of the text.
上述技术方案中, 所述文字还包括文字的语音或语音编码信息。  In the above technical solution, the text further includes voice or voice coded information of the text.
上述技术方案中, 所述文字还包括所述文字的笔画编号以及所述文字 的笔画数的信息。  In the above technical solution, the character further includes information of a stroke number of the character and a number of strokes of the character.
上述技术方案中, 所述文字还包括对所述字形描述信息的表示方式的 选择信息。  In the above technical solution, the text further includes selection information indicating a manner in which the glyph description information is expressed.
上述技术方案中, 所述文字还包括将所述文字的笔画编号按照文字的 形旁和声旁进行区分的信息。  In the above technical solution, the text further includes information for distinguishing the stroke number of the character according to the shape of the character and the side of the voice.
上述技术方案中, 所述文字还包括所述文字中的形旁或声旁作为一个 独立的文字的编码。  In the above technical solution, the text further includes a code of a character or a side of the character as an independent character.
上述技术方案中, 所述的文字的笔画编号、 所述文字的笔画数、 对所 述字形描述信息的表示方式的选择信息、 将所述文字的笔画编号按照文字 的形旁和声旁进行区分的信息、 所述文字中的形旁或声旁作为一个独立的 文字的编码在一个索引表中表示。  In the above technical solution, the stroke number of the character, the number of strokes of the character, the selection information of the representation manner of the font description information, and the stroke number of the character are distinguished according to the shape of the character and the sound side. The information, the shape of the word or the side of the sound as a separate text is represented in an index table.
上述技术方案中, 在所述的步骤 4 ) 中, 在显示所述文字的下一个笔 画前设定调用条件, 满足所述的调用条件后才调用文字的下一个笔画, 或 按照调用条件结束操作。  In the above technical solution, in the step 4), setting a calling condition before displaying the next stroke of the character, calling the next stroke of the text after satisfying the calling condition, or ending the operation according to the calling condition .
上述技术方案中, 所述的方向信息按照东、 南、 西、 北、 东南、 西南、 东北、 西北八个方向进行标定或按照角度进行标定。  In the above technical solution, the direction information is calibrated in eight directions of east, south, west, north, southeast, southwest, northeast, and northwest, or is calibrated according to an angle.
上述技术方案中, 所述的画操作包括动态显示、 静态显示和打印。 一种用于实现所述文字显示方法的文字显示设备, 包括文字信息提供 模块、 笔画选择模块、 笔画描绘模块; 其中,  In the above technical solution, the drawing operation includes dynamic display, static display, and printing. A text display device for implementing the text display method, comprising a text information providing module, a stroke selection module, and a stroke drawing module;
所述的文字信息提供模块用于提供待显示文字的文字信息;  The text information providing module is configured to provide text information of the text to be displayed;
所述的笔画选择模块用于按照所述文字的书写顺序选择所述文字的一 个笔画;  The stroke selection module is configured to select a stroke of the character according to a writing order of the characters;
所述的笔画描绘模块用于根据当前笔画中各个基本元素的字形描述信 息和所述方向信息画出当前笔画。  The stroke drawing module is configured to draw a current stroke according to the glyph description information of each basic element in the current stroke and the direction information.
上述技术方案中,所述的笔画描绘模块包括字形描述信息表示方式判断 单元、 光栅化操作单元、 画操作单元; 其中,  In the above technical solution, the stroke drawing module includes a glyph description information representation mode determining unit, a rasterizing operation unit, and a drawing operation unit; wherein
所述的字形描述信息表示方式判断单元用于对所述基本元素的字形描 述信息的表示方式进行判断, 根据判断结果决定调用光栅化操作单元还是调 用画操作单元; The glyph description information representation mode determining unit is configured to describe the glyph of the basic element Determining the representation manner of the information, and determining whether to call the rasterization operation unit or the drawing operation unit according to the determination result;
所述的光栅化操作单元用于对文字或文字中的笔画进行光栅化操作; 所述的画操作单元用于对文字的笔画进行画操作。  The rasterization operation unit is configured to perform a rasterization operation on a stroke in a text or a text; and the drawing operation unit is configured to perform a drawing operation on a stroke of the text.
上述技术方案中, 所述的文字信息存储在一个文字库中, 所述文字信息 提供模块从所述文字库得到待显示文字的文字信息。  In the above technical solution, the text information is stored in a text library, and the text information providing module obtains text information of the text to be displayed from the font library.
为了实现对文字的字内信息的检索, 本发明还提供了一种文字检索方 法, 所述文字包括有将所述文字按照笔画拆分所得到的基本元素的文字信 息, 所述基本元素包括字形描述信息、 方向信息; 所述文字还包括所述文 字的偏旁部首的信息; 所述方法包括:  In order to realize the retrieval of the in-word information of the text, the present invention also provides a text retrieval method, the character includes text information of a basic element obtained by splitting the text according to a stroke, and the basic element includes a glyph. Descriptive information, direction information; the text further includes information of a radical portion of the text; the method includes:
步骤 1 )、 输入待查找的偏旁部首;  Step 1), input the radicals to be searched;
步骤 2 )、将所述待查找的偏旁部首的信息与所述文字中的偏旁部首的 信息进行比较, 找出相匹配的文字。  Step 2): comparing the information of the radical portion to be searched with the information of the radical portion in the text to find a matching text.
上述技术方案中, 还包括:  In the above technical solution, the method further includes:
步骤 3 )、 显示所述相匹配的文字。  Step 3), displaying the matched text.
上述技术方案中, 所述文字的偏旁部首包括形旁和声旁; 在所述的步 骤 2 ) 中, 将所述待查找的偏旁部首的信息只与所述文字中的形旁的信息 或只与所述文字中的声旁的信息进行比较, 找出相匹配的文字。  In the above technical solution, the radical portion of the character includes a shape side and a sound side; in the step 2), the information of the radical portion to be searched is only related to the information of the shape in the text. Or just compare the information next to the sound in the text to find the matching text.
上述技术方案中, 所述文字还包括组成所述文字的偏旁部首的其他偏 旁部首的信息; 在所述的步骤 2 ) 中, 以递归查找的方式将所述待查找的 偏旁部首的信息与所述文字中的偏旁部首的信息进行比较, 找出相匹配的 文字。  In the above technical solution, the text further includes information of other radicals constituting the radicals of the text; in the step 2), the radicals to be searched are searched in a recursive manner. The information is compared with the information of the radicals in the text to find the matching text.
上述技术方案中, 所述文字的偏旁部首的信息中还包括该偏旁部首的 笔画数; 在所述的步骤 2 ) 中, 还包括在得到所述待查找的偏旁部首的信 息与所述文字中的偏旁部首的信息的比较结果后, 输入待查找的笔画数, 在所述的比较结果中根据所述待查找的笔画数以及所述文字的偏旁部首 的笔画数进一步找出相匹配的文字。  In the above technical solution, the information of the radical head of the character further includes the number of strokes of the radical portion; and in the step 2), the information and the location of the radical portion to be searched are further included. After comparing the results of the information of the radicals in the text, the number of strokes to be searched is input, and the number of strokes to be found and the number of strokes of the radicals of the text are further found in the comparison result. Match the text.
一种文字检索方法, 所述文字包括有将所述文字按照笔画拆分所得到 的基本元素的文字信息, 所述基本元素包括字形描述信息、 方向信息; 所 述文字还包括文字的笔画数; 该方法包括:  A text search method, the character includes text information of a basic element obtained by splitting the character according to a stroke, the basic element includes a glyph description information, and direction information; and the text further includes a stroke number of the text; The method includes:
步骤 1 )、 输入待查找的笔画数;  Step 1), input the number of strokes to be found;
步骤 2 )、 将所述待查找的笔画数与所述文字的笔画数进行比较, 找出 相匹配的文字。 Step 2), comparing the number of strokes to be found with the number of strokes of the text to find out Match the text.
上述技术方案中, 还包括:  In the above technical solution, the method further includes:
步骤 3 )、 显示所述相匹配的文字。  Step 3), displaying the matched text.
上述技术方案中, 在所述的步骤 3 ) 中, 将所述相匹配的文字做完排 序后再加以显示。  In the above technical solution, in the step 3), the matched characters are sorted and displayed.
上述技术方案中, 所述文字还包括笔画类型信息; 在所述的步骤 3 ) 中, 将所述相匹配的文字按笔画数排序, 具有相同笔画数的文字按照所述 笔画类型信息排序。  In the above technical solution, the text further includes stroke type information; in the step 3), the matched characters are sorted by the number of strokes, and the characters having the same number of strokes are sorted according to the stroke type information.
本发明的优点在于:  The advantages of the invention are:
1、 本发明通过将文字按照笔画拆分成基本元素, 并对基本元素的字形 描述信息、 方向信息、 速度信息的存储, 使得在显示过程中可以按照书写顺 序依次调用上述信息进行显示, 克服了现有技术中只能对文字进行整体显示 的缺陷,并能够展示出文字在书写过程中的书写方向、书写节奏等细节信息。  1. The invention divides the text into basic elements according to the strokes, and stores the glyph description information, the direction information and the speed information of the basic elements, so that the above information can be sequentially displayed in the writing order in the display process, and the information is overcome. In the prior art, only the defects of the overall display of the text can be displayed, and the detailed information such as the writing direction and the writing rhythm of the text in the writing process can be displayed.
2、 本发明的文字显示方法涵盖了现有技术中的各种字形描述方式, 使 得本发明的方法具有应用范围广、 使用方便的优点。  2. The text display method of the present invention covers various glyph description manners in the prior art, so that the method of the present invention has the advantages of wide application range and convenient use.
3、 本发明对文字笔画按照形旁、 声旁进行了区分, 使得用户可以对文 字按照偏旁部首进行文字内的处理。  3. The present invention distinguishes text strokes according to the shape and the sound side, so that the user can perform text processing on the text according to the radicals.
4、 本发明的文字检索方法能够对字内信息进行检索。 附图说明  4. The character search method of the present invention is capable of searching for information within a word. DRAWINGS
以下, 结合附图来详细说明本发明的实施例, 其中:  Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings, in which:
图 1为本发明的文字显示方法中所涉及的二维空间的方向划分的示意 图;  1 is a schematic view showing a direction division of a two-dimensional space involved in the character display method of the present invention;
图 2为本发明的文字显示方法的示意图。 具体实施方式  2 is a schematic view of a character display method of the present invention. detailed description
下面结合附图和具体实施方式对本发明做进一步说明。  The invention will be further described below in conjunction with the drawings and specific embodiments.
在下列实施例中, 以汉字为例, 对本发明的文字显示方法进行具体的 说明。 在对汉字的文字显示方法进行说明前, 还需要对汉字显示时所涉及 的汉字库的数据结构以及存储方式进行说明。  In the following embodiments, the character display method of the present invention will be specifically described by taking a Chinese character as an example. Before describing the character display method of Chinese characters, it is necessary to explain the data structure and storage method of the Chinese character library involved in the display of Chinese characters.
在现有汉字库的基础上, 本发明提出了一种新的汉字库的思想, 在该 汉字库的数据结构中对汉字的字内信息进行了存储。 具体的说, 首先需要 将一个汉字划分成基本元素, 并记录每一个基本元素的两个信息, 即字形 描述信息以及方向。 在本发明的一个实施例中, 所涉及的基本元素可以是 指一个笔画或笔画中的某一段或者笔画的组合, 例如, 对于笔画 Ί" , 它 可以是一个基本元素, 而对于笔画 " " , 则可以分为两个基本元素, 分别 是 "一" 和 " 1 "。 从上面的例子可以看出, 基本元素中的笔画通常具有相 同的方向, 且结构较为简单, 但是本发明并不限于上述说明。 Based on the existing Chinese character library, the present invention proposes a new Chinese character library, in which the in-word information of the Chinese character is stored in the data structure of the Chinese character library. Specifically, first need Divide a Chinese character into basic elements, and record two pieces of information of each basic element, namely glyph description information and direction. In one embodiment of the present invention, the basic element involved may refer to a stroke or a combination of strokes in a stroke, for example, for a stroke Ί", which may be a basic element, and for a stroke "", Then it can be divided into two basic elements, which are "one" and "1" respectively. As can be seen from the above examples, the strokes in the basic elements usually have the same direction, and the structure is relatively simple, but the invention is not limited to the above. Description.
基本元素的上述信息可以对该基本元素进行较为详细的刻画, 其中, 所述的字形描述信息用来表示该基本元素的形状, 所述的字形描述信息在 现有的汉字库中也都存在, 但是与本发明的一个区别点在于, 现有汉字库 中只保存了整个字的字形描述信息, 而本发明中, 则存储了文字的基本元 素的字形描述信息。 字形描述信息的具体表现形式有多种, 如现有技术中 的点阵方式、 矢量方式、 曲线方式、 中心线方式、 骨架方式、 轮廓方式都 可以用来表示字形描述信息。 所述的方向用来表示基本元素中笔画的行进 方向, 在一种实现方式中, 可以将二维空间分成 8个方向, 如图 1所示, 将这 8个方向用 a、 b、 c、 d、 e、 f、 g、 h分别表示, 可用上述字母对基本 元素的方向进行描述。 例如, 对于基本元素 "一", 它的行进方向为水平从 左到右, 因此可以用字母 b来表示它的方向。 在实际应用中, 为了提高对 基本元素中笔画行进方向描述的精确度, 还可以采用角度的方法对基本元 素的方向进行说明。  The above information of the basic element may describe the basic element in more detail, wherein the glyph description information is used to represent the shape of the basic element, and the glyph description information also exists in the existing Chinese character library. However, a difference from the present invention is that only the glyph description information of the entire word is stored in the existing Chinese character library, and in the present invention, the glyph description information of the basic elements of the character is stored. There are various manifestations of glyph description information, such as dot matrix mode, vector mode, curve mode, center line mode, skeleton mode, and contour mode in the prior art, which can be used to represent glyph description information. The direction is used to indicate the direction of travel of the stroke in the basic element. In one implementation, the two-dimensional space can be divided into eight directions. As shown in FIG. 1, the eight directions are a, b, c, d, e, f, g, h respectively indicate that the direction of the basic elements can be described by the above letters. For example, for the basic element "one", its direction of travel is horizontal from left to right, so the letter b can be used to indicate its direction. In practical applications, in order to improve the accuracy of the description of the stroke direction of the strokes in the basic elements, the direction of the basic elements can also be explained by the angle method.
基本元素的信息并不局限于上述两个信息, 在另一个实施例中, 基本 元素的信息还可以包括速度信息。 所述的速度用来表示基本元素在书写时 的快慢。 作为一个基本常识, 我们知道, 汉字在书写过程中, 具有独特的 书写节奏, 在某一笔上书写的速度略快, 在另一笔上书写的速度较慢, 基 本元素中的速度信息就是用来记录该基本元素在书写时快慢的信息。 特别 的, 在一个基本元素中, 不同的分段之间也存在着书写速度的快慢差异, 因此, 一个基本元素的速度信息可以进行分段说明。 此外, 由于实际书写 过程中, 在书写完一个笔画或笔画中的一个基本元素后, 可能会有相应的 停顿, 因此,在速度信息中还可以包括基本元素间的停顿时间长短的信息。 下面以汉字中的 "张" 为例, 对该实施例中汉字的字内信息在汉字库中如 何存储进行相应的说明。 The information of the basic elements is not limited to the above two pieces of information, and in another embodiment, the information of the basic elements may further include speed information. The speed is used to indicate how fast the basic elements are when writing. As a basic common sense, we know that Chinese characters have a unique writing rhythm during writing. The speed of writing on one pen is slightly faster, and the writing speed on another pen is slower. The speed information in the basic elements is used. To record the speed of the basic element when writing. In particular, in a basic element, there is also a difference in the speed of writing between different segments. Therefore, the velocity information of a basic element can be segmented. In addition, since the actual writing process, after writing a basic element in a stroke or a stroke, there may be a corresponding pause. Therefore, the speed information may also include information on the length of the pause between the basic elements. In the following, taking "Zhang" in Chinese characters as an example, the intra-word information of Chinese characters in this embodiment is as in the Chinese character library. How to store the corresponding instructions.
首先, 对汉字 "张" 进行基本元素的拆分, 根据上述的拆分原则, 可 以得到以下按书写顺序排列的基本元素: "_"、 "' "、 "―"、 " ' "、 " -"、 "/"、  First of all, the basic elements of the Chinese character "Zhang" are split. According to the above splitting principle, the following basic elements can be obtained in the order of writing: "_", "'", "-", "'", "- ", "/",
然后, 在汉字库中对汉字 "张" 的字内信息进行存储, 在存储过程中, 所存储的基本单位并不是整个字, 而是对该字按照上述说明所划分的各个 基本元素, 所有基本元素的存储信息拼接成一个完整的字。 下面用如下的 表 1表示 "张" 字在存储时的数据结构。 Then, in the Chinese character library, the in-word information of the Chinese character "Zhang" is stored. In the storage process, the basic unit stored is not the entire word, but the basic elements of the word according to the above description, all basic The storage information of the elements is stitched into a complete word. The following table 1 is used to indicate the data structure of the "Zhang" word when it is stored.
Figure imgf000009_0001
2/3 方向信息: 速度信息:
Figure imgf000009_0001
2/3 Direction Information: Speed Information:
"、" 所对应的点阵 /矢量 /  "," corresponds to the dot matrix / vector /
g +1  g +1
5  5
曲线 /中心线数据信息  Curve / centerline data information
3 方向信息: 速度信息:  3 Direction Information: Speed Information:
' ' 所对应的点阵 /矢量 /  ' ' corresponding dot matrix / vector /
3 e 0  3 e 0
曲线 /中心线数据信息  Curve / centerline data information
4 方向信息: 速度信息:  4 Direction Information: Speed Information:
所对应的点阵 /矢量 /  Corresponding dot matrix / vector /
1 b 0  1 b 0
曲线 /中心线数据信息  Curve / centerline data information
5/0 方向信息: 速度信息:  5/0 Direction Information: Speed Information:
" 1 " 所对应的点阵 /矢量 /  The dot/vector corresponding to " 1 " /
d 0  d 0
2  2
曲线 /中心线数据信息  Curve / centerline data information
5/1 方向信息: 速度信息:  5/1 Direction Information: Speed Information:
所对应的点阵 /矢量 /  Corresponding dot matrix / vector /
a 1  a 1
2  2
曲线 /中心线数据信息  Curve / centerline data information
6 方向信息: 速度信息:  6 Direction Information: Speed Information:
"、" 所对应的点阵 /矢量 /  "," corresponds to the dot matrix / vector /
c -1  c -1
4  4
曲线 /中心线数据信息  Curve / centerline data information
表 1  Table 1
在上述表格中, 对 "张" 字中各个基本元素的信息进行了描述, 其中的 点阵 /矢量 /曲线 /中心线数据信息是用数字对基本元素的形状进行描述的具 体信息, 这些信息在现有技术中都已存在, 此处不再进行重复说明。 应当注意的是, 由于上述表格中的基本元素 "―"、 "' " 是由一个基本的 笔画 得到的, 因此,在对这两个基本元素进行编号时,用 "0/0"、 "0/1 " 的方式进行编号, 以表示两个基本元素之间存在联系, 同时也便于用编号  In the above table, the information of each basic element in the "张" character is described, wherein the dot matrix/vector/curve/centerline data information is specific information describing the shape of the basic element by numbers, and the information is It has been in the prior art and will not be repeated here. It should be noted that since the basic elements "-" and "'" in the above table are obtained from a basic stroke, when numbering these two basic elements, "0/0", "0" is used. /1 " is numbered to indicate the connection between the two basic elements, and it is also convenient to use the number
"0" 统一表示笔画 " "。 对于基本元素 "' "、 " -"、 、 "、", 以及 "卜、 "0" unified representation of strokes " ". For the basic elements "' ", "-", ",", and "b,
'ν' , 同样也存在此类的划分。 此外, 在前面的描述中已经提到, 字形描 述信息可以采用多种方式表示, 如常见的点阵定义方式、 轮廓化定义方式 (包括直线方式与曲线方式)、 骨架定义方式、 中心线定义方式等, 它涵 盖了当前各种典型的表示方式, 如 TrueType等。鉴于字形描述信息可以存 在多种表示方式, 因此, 考虑到兼容性的需要, 可以在一个汉字库中, 对 于一个汉字定义多个如表 1所述的数据结构, 在不同的数据结构中, 用不 同的方式表示字形描述信息。 这样做可以使得用户根据实际应用情况选择 合适的字形描述信息表示方式, 为用户提供了多种选择。 'ν', there is also such a division. In addition, as mentioned in the foregoing description, the glyph description information can be expressed in various ways, such as the common dot matrix definition method and the contour definition method. (including linear and curved), skeleton definition, centerline definition, etc., it covers various typical representations, such as TrueType. In view of the need for multiple representations of glyph description information, in view of the need for compatibility, a plurality of data structures as described in Table 1 may be defined for one Chinese character in a Chinese character library, and used in different data structures. Different ways represent glyph description information. This can enable the user to select an appropriate glyph description information representation according to the actual application, and provide users with a variety of options.
在上述表格中, 除了用数字表示笔画的书写顺序外, 还包括了用数字 表示的笔画类型信息, 如表 1第一行左下方的 "5"。 在国家语言文字工作 委员会所发布的 《现代汉语通用字笔顺规范》 中, 将汉字的各种笔画分为 5 种基本类型, 分别用横、 竖、 撇、 点、 折表示, 对于汉字中的其它笔画都可 以归为相应的笔画类中。 例如, 提可以归到横, 捺可以归到点, 竖钩归为竖, 各种折笔(如横折钩、 横折弯钩、 竖弯钩等)都可以归到折。 用 1、 1、 3、 4、 5分别表示横、 竖、 撇、 点、 折这五种基本类型。 虽然在上述表格中只是标 示了笔画的基本类型信息, 但在具体应用中, 还可以在五种基本类型下做进 一步划分, 例如, 用 1 / 0表示横, 用 1 / 1表示提, 用 2 / 0表示竖, 用 2 / 1表 示竖钩等, 从而得到更进一步的笔画类型信息。 通过笔画类型信息的添加, 有助于对汉字内笔画的检索、 分类、 排序, 以及对特定笔画类型的笔画的显 示。  In the above table, in addition to the number indicating the writing order of the strokes, the stroke type information represented by numbers is also included, such as "5" at the lower left of the first row of Table 1. In the "Modern Chinese General Character Stroke Specification" issued by the National Language and Literature Working Committee, the various strokes of Chinese characters are divided into five basic types, which are represented by horizontal, vertical, 撇, point, and fold, respectively. Strokes can be classified as corresponding strokes. For example, the mention can be returned to the horizontal, the 捺 can be returned to the point, the vertical hook is classified as the vertical, and various folding pens (such as horizontal folding hooks, horizontal folding hooks, vertical bending hooks, etc.) can be assigned to the fold. Use 1, 1, 3, 4, and 5 to represent the five basic types of horizontal, vertical, 撇, point, and fold. Although the basic type information of strokes is only indicated in the above table, in the specific application, it can be further divided under five basic types, for example, 1 / 0 for horizontal, 1 / 1 for lifting, 2 for / 0 means vertical, 2 / 1 means vertical hook, etc., to get further stroke type information. The addition of stroke type information facilitates the retrieval, classification, sorting, and display of strokes of a particular stroke type in Chinese characters.
此外, 在上述表格中, 除了添加笔画的类型信息外, 还可以根据笔画的 类型信息添加相应的笔画语音信息或其编码信息,才艮据笔画语音信息或其编 码信息, 可以在后续的显示过程中, 一边显示笔画一边读出笔画的语音。  In addition, in the above table, in addition to adding the type information of the stroke, the corresponding stroke speech information or its encoding information may be added according to the type information of the stroke, and the stroke information or the encoding information thereof may be used according to the stroke information, and may be in the subsequent display process. In the middle, the stroke of the stroke is read while the stroke is displayed.
在上述实施例中, 汉字中的各个笔画按照书写顺序依次存储, 但在其他 实施例中, 汉字中的各个笔画也可以不按照书写顺序依次存储。 对于不按照 笔画的书写顺序依次存储笔画信息的情况, 只要在存储过程中, 在各个笔画 的数据结构中添加指向按照书写顺序的下一笔画的指针, 同样可以实现汉字 中各个笔画的按序显示。  In the above embodiment, the respective strokes in the Chinese characters are sequentially stored in the order of writing, but in other embodiments, the individual strokes in the Chinese characters may not be sequentially stored in the order of writing. For the case where the stroke information is not stored in the order in which the strokes are written, as long as a pointer pointing to the next stroke in the writing order is added to the data structure of each stroke in the storage process, the sequential display of each stroke in the Chinese character can also be realized. .
在表 1所描述的数据结构的基础上, 在另一个实施例中可以通过一个 索引表实现对这一数据结构的调用。 利用这一索引表, 可以对汉字中的结 构信息实现进一步的分类存储。 例如, 由于多数汉字属于形声字, 因此, 在上述索引表中, 可以按照形旁和声旁, 分别对汉字中的各个笔画的编号 进行存储, 从而对汉字的形旁和声旁进行区别。 如下面的表 2所示, 对前 述的 "张" 字中的各个笔画进行如下存储: 汉字编码 形旁 0、 1、 2 声旁 3、 4、 5、 6 笔画数 7 Based on the data structure described in Table 1, in another embodiment, a call to this data structure can be implemented by an index table. Using this index table, further classification and storage of the structure information in Chinese characters can be realized. For example, since most Chinese characters belong to a phonogram, in the above index table, the numbers of the strokes in the kanji can be stored separately according to the shape and the side of the sound, thereby distinguishing the shape of the Chinese character from the side of the sound. As shown in Table 2 below, each stroke in the aforementioned "Zhang" word is stored as follows: Chinese character coded next to 0, 1, 2 sounds 3, 4, 5, 6 strokes 7
表 2 在上述表格中, 所述的汉字编码可以是汉字的 Un i code 编码或者是 GB 编码, 张字所对应的 Un i code编码为 5 F20 , 所对应的 GB编码为 D5C5。  Table 2 In the above table, the Chinese character encoding may be the Un i code encoding of the Chinese character or the GB encoding, the Un i code corresponding to the Chinese character is 5 F20, and the corresponding GB encoding is D5C5.
除了表 2中所存储的上述信息外, 在该索引表中可以在各个笔画编号间 添加间隔参数, 以表示笔画在书写时的停顿。 当然, 对于不属于形声字的汉 字, 如独体字, 可以不按照上述的表格将汉字按照形旁和声旁进行存储, 只 要记录笔画的序号以及总的笔画数即可。 此外, 在前文中提到, 对于一个汉 字可以定义多个如表 1所示的数据结构以使得可以用多种方式表示字形描述 信息, 因此, 还可以在表 2所述的数据结构中添加一个用于表示所引用数据 结构的选项, 根据该选项, 选择采用何种方式对汉字进行分笔画的显示, 也 可以选择依照现有的常见方式对汉字进行整体显示。 考虑到字内检索的需 要, 还可以在上述的索引表中加入文字的形旁或声旁作为一个独立的文字的 编码。 例如, 对于 "张", 我们可以在索引表中加入 "弓" 字和 "长" 字的 编码。 此外, 还可以在索引表中增加文字的语音或语音编码信息, 以使得在 后续的文字显示过程中, 可以读出文字的语音。 在索引表中增加的文字的语 音或语音编码信息可能不止一个, 这有助于对多音字的表示和区分。  In addition to the above information stored in Table 2, an interval parameter can be added between the stroke numbers in the index table to indicate the pause of the stroke when writing. Of course, for Chinese characters that do not belong to the phonogram, such as a single character, you can store the Chinese characters according to the form and the side of the sound according to the above table, as long as the serial number of the stroke and the total number of strokes are recorded. In addition, as mentioned in the foregoing, a plurality of data structures as shown in Table 1 can be defined for a Chinese character so that the glyph description information can be represented in various ways, and therefore, it is also possible to add one to the data structure described in Table 2. The option to represent the referenced data structure. According to this option, choose which way to display the Chinese characters in a stroke, or you can choose to display the Chinese characters as a whole according to the existing common methods. Considering the need for in-word retrieval, it is also possible to add the side or side of the text to the above index table as a separate text encoding. For example, for "Zhang", we can add the encoding of the "bow" and "long" words to the index table. In addition, voice or speech coding information of the text may be added to the index table so that the speech of the text can be read during subsequent text display. There may be more than one voice or speech-encoded information added to the index table, which helps to represent and distinguish between multi-phonetic words.
在上述描述中, 以 "张" 字为例, 对本发明中所涉及的汉字库进行了说 明, 对于其它汉字, 利用上述的方法都可以实现在汉字库中的相应存储。 总 之, 本发明中所涉及的汉字库通过添加汉字字内信息, 为汉字的按笔画显示 创造了条件。  In the above description, the Chinese character library involved in the present invention has been described by taking the "张" character as an example. For other Chinese characters, the corresponding storage in the Chinese character library can be realized by the above method. In summary, the Chinese character library involved in the present invention creates conditions for the Chinese character to be displayed by stroke by adding information in the Chinese character.
以上述的汉字库为基础, 可以对汉字做进一步的处理。 在对汉字的显示 过程中, 仍然可以按照现有的方法将汉字按照整字进行输出, 也可以依据汉 字库中所存储的汉字字内信息将汉字依照笔画顺序依次输出。下面仍以 "张" 字为例, 结合图 2对本发明的显示方法进行相应的说明。  Based on the above Chinese character library, Chinese characters can be further processed. In the process of displaying Chinese characters, the Chinese characters can still be output according to the existing method according to the existing method, or the Chinese characters can be sequentially output according to the stroke order according to the information in the Chinese character words stored in the Chinese character library. The following still uses the "张" character as an example, and the display method of the present invention will be described correspondingly with reference to FIG.
步骤 1 0、 利用汉字编码, 得到该汉字的索引表。 对于特定的汉字, 都有 一个独一无二的汉字编码, 因此, 根据编码即可得到相应的索引表, 本步骤 中所述的索引表如表 2所示。  Step 1 0. Using the Chinese character encoding, an index table of the Chinese character is obtained. For a specific Chinese character, there is a unique Chinese character encoding. Therefore, according to the encoding, the corresponding index table can be obtained. The index table described in this step is shown in Table 2.
步骤 20、 选择汉字的显示方式, 如杲对汉字进行整体显示, 则从汉字库 中调用整体描述汉字字形的汉字库部分, 然后按照现有技术的显示方法进行 显示, 如果对汉字按笔画进行显示, 则执行下一步。 Step 20: Select a display mode of the Chinese character. If the Chinese character is displayed as a whole, the Chinese character library part that describes the Chinese character glyph is called from the Chinese character library, and then according to the display method of the prior art. Display, if the Chinese character is displayed by stroke, proceed to the next step.
步骤 30、 按照顺序选择汉字的一个笔画。 由于汉字的笔画在汉字库中存 储时已经用数字按顺序编号, 因此在本步驟中可以按照数字从小到大做递进 选择。 例如, 对于 "张" 字, 它的第一笔用 0表示, 因此, 在选择第一笔时, 选择编号为 0的笔画, 此后再进行选择时, 则可依次选择编号为 1、 2、 3等 的笔画。  Step 30: Select a stroke of the Chinese character in order. Since the strokes of Chinese characters have been numbered sequentially in numbers when stored in the Chinese character library, in this step, the progressive selection can be made according to the numbers from small to large. For example, for the "Zhang" word, its first stroke is represented by 0. Therefore, when the first stroke is selected, the stroke numbered 0 is selected, and when the selection is made later, the number is 1, 2, 3 Strokes, etc.
步骤 40、 调用当前笔画的字形描述信息。 由于一个笔画可能分成多个基 本元素, 因此在调用当前笔画的字形描述信息时, 实际上是调用笔画中的所 有基本元素的字形描述信息。 从上一步得到笔画的相应编码后, 可以从相应 的数据结构中 (如表 1 )得到笔画中的基本元素的具体信息, 包括字形描述 信息、 方向信息和速度信息, 在本步骤中, 调用其中的字形描述信息。 在前 面对汉字库的说明中已经提到,汉字的字形描述信息采用现有技术中的点阵 方式或矢量方式或曲线方式或中心线方式或骨架方式或轮廓方式表示, 因 此在调用字形描述信息时, 根据字形描述信息的表示方式采用相应的字形 描述信息描述方法。  Step 40: Call the glyph description information of the current stroke. Since a stroke may be divided into multiple basic elements, when the glyph description information of the current stroke is called, the glyph description information of all the basic elements in the stroke is actually called. After obtaining the corresponding coding of the stroke from the previous step, the specific information of the basic elements in the stroke can be obtained from the corresponding data structure (such as Table 1), including the glyph description information, the direction information and the speed information. In this step, the call is invoked. Glyph description information. As mentioned above in the description of the Chinese character library, the glyph description information of the Chinese character is represented by the dot matrix method or the vector mode or the curve mode or the center line mode or the skeleton mode or the contour mode in the prior art, so the glyph description is called. When information is used, the corresponding glyph description information description method is adopted according to the representation manner of the glyph description information.
步骤 50、 判断笔画的字形描述信息的表示方式, 若所述的字形描述信 息用点阵方式表示, 则直接执行步骤 70 , 若为其他类型的表示方式, 则执 行下一步;  Step 50: Determine a representation manner of the glyph description information of the stroke. If the glyph description information is expressed in a dot matrix manner, step 70 is directly performed; if other types of representation manners are performed, the next step is performed;
步骤 60、 根据字形描述信息, 对当前笔画中的基本元素进行光栅化操 作。 光栅化操作是指将一个图元转换为二维图像的过程。 光栅化操作的具 体实现属于成熟的现有技术。  Step 60: Perform a rasterization operation on the basic elements in the current stroke according to the glyph description information. A rasterization operation is the process of converting a primitive into a two-dimensional image. The specific implementation of rasterization operations is a mature prior art.
步骤 70、 对当前笔画进行画操作。 对笔画进行画操作包括静态显示、 动态显示和打印。 其中的动态显示就是要将汉字的笔画按照书写规则显示 出来。 在前文中已经提到, 笔画可以分成多个基本元素, 因此在画操作的 动态显示过程中按照笔画中基本元素的顺序进行相应的画。 在画的过程 中, 首先需要知道书写顺序, 这一书写顺序可以通过基本元素的方向信息 得到; 其次, 在画操作的过程中, 要体现汉字的书写节奏, 这一书写节奏 可以通过基本元素中的速度信息得到。 画操作中的静态显示和打印在现有 技术中已经存在, 在此不再重复说明。 在前文中已经提到, 笔画的字形描 述信息具有多种表示方式, 在画操作的过程中, 对于需要进行光栅化操作 的表示方式, 在光栅化操作的基础上进行画操作, 对于不需要进行光栅化 操作的点阵方式, 则直接进行画操作。 画操作的具体实现过程对于不同表 达方式都是相同的。 此外, 在对当前笔画进行画操作时, 如果是将汉字按 照笔画的书写顺序逐渐显示的动态显示过程, 则在显示过程中还可以同时 读出笔画的语音信息。 Step 70: Perform a drawing operation on the current stroke. Drawing operations on strokes include static display, dynamic display, and printing. The dynamic display is to display the strokes of Chinese characters according to the writing rules. As mentioned in the foregoing, the stroke can be divided into a plurality of basic elements, so that in the dynamic display process of the drawing operation, the corresponding drawing is performed in the order of the basic elements in the stroke. In the process of painting, you first need to know the writing order. This writing order can be obtained by the direction information of the basic elements. Secondly, in the process of drawing operation, the writing rhythm of Chinese characters should be reflected. This writing rhythm can be passed through the basic elements. The speed information is obtained. The static display and printing in the drawing operation have existed in the prior art, and the description will not be repeated here. As mentioned in the foregoing, the glyph description information of the stroke has multiple representations. In the process of drawing operation, for the representation mode that needs to be rasterized, the drawing operation is performed on the basis of the rasterization operation, The lattice mode of the rasterization operation directly performs the drawing operation. The specific implementation process of the drawing operation for different tables The way is the same. In addition, when the current stroke is drawn, if it is a dynamic display process in which the Chinese characters are gradually displayed in the order in which the strokes are written, the voice information of the strokes can also be read out simultaneously during the display.
步骤 80、判断当前笔画是否为当前汉字的最后一个笔画,如果是的话, 结束当前汉字的显示过程, 否则, 调用汉字中的下一个笔画, 然后重新执 行步骤 30。 在本步骤中, 在调用汉字中的下一笔画前, 还可以设定一定调 用条件, 例如, 在得到用户的某一个输入信息后, 才调用下一笔画, 这样 在显示过程中, 可以使得汉字笔画的输出显示在用户的控制下, 一笔一笔 按顺序实现。 此外, 利用该调用条件还可以实现对汉字一部分(如偏旁) 的有选择地进行显示。 设定调用条件后, 在本步骤中, 还需要判断所要调 用的下一个笔画是否满足调用条件中的终止条件, 如果满足就终止显示。  Step 80: Determine whether the current stroke is the last stroke of the current Chinese character, and if so, end the display process of the current Chinese character; otherwise, call the next stroke in the Chinese character, and then re-execute step 30. In this step, before calling the next stroke in the Chinese character, a certain calling condition can also be set. For example, after obtaining one input information of the user, the next stroke is called, so that the Chinese character can be made in the display process. The output of the stroke is displayed under the control of the user, and the strokes are implemented in sequence. In addition, the call condition can also be used to selectively display a part of the Chinese character (such as a radical). After setting the calling condition, in this step, it is also necessary to judge whether the next stroke to be called satisfies the termination condition in the calling condition, and if it is satisfied, the display is terminated.
在上述实施例中, 以汉字为例, 对文字的显示方法进行了说明, 但本领 域的普通技术人员应当了解, 对于其它类型的文字同样可以进行类似的处 理, 以实现对文字内信息的进一步操作。  In the above embodiment, the display method of the characters is described by taking Chinese characters as an example, but those skilled in the art should understand that similar processing can be performed for other types of texts to further implement the information in the characters. operating.
与本发明的文字显示方法相对应的,还可以采用文字显示设备来实现本 发明的思想, 该设备包括文字信息单元、 笔画选择模块、 笔画描绘模块; 其 中, 所述的文字信息单元用于存储将所述文字按照笔画拆分得到的基本元 素的信息;  Corresponding to the text display method of the present invention, the text display device can also be used to implement the idea of the present invention. The device includes a text information unit, a stroke selection module, and a stroke drawing module. The text information unit is used for storing Information about the basic elements obtained by splitting the text according to strokes;
所述的笔画选择模块用于在按照笔画依次显示的过程中,从所述的文字 信息单元中调用相应的笔画信息, 并判断当前笔画是否是文字的最后一个笔 画或下一个笔画是否满足调用终止条件;  The stroke selection module is configured to, in the process of sequentially displaying according to the strokes, call the corresponding stroke information from the text information unit, and determine whether the current stroke is the last stroke of the text or whether the next stroke satisfies the call termination. Condition
所述的笔画描绘模块用于根据笔画的信息完成对笔画的描绘。  The stroke drawing module is configured to complete the depiction of the stroke according to the information of the stroke.
该设备中还包括显示方式选择模块, 所述的显示方式选择模块用于对文 字的显示方式进行选择。  The device further includes a display mode selection module, and the display mode selection module is configured to select a display mode of the text.
上述的笔画描绘模块包括字形描述信息表示方式判断单元、 光栅化操作 单元、 画操作单元; 其中, 所述的字形描述信息表示方式判断单元用于对所 述基本元素的字形描述信息的表示方式进行判断,根据判断结果决定调用光 栅化操作单元还是调用画操作单元;  The stroke drawing module includes a glyph description information representation mode determining unit, a rasterizing operation unit, and a drawing operation unit. The glyph description information representation mode determining unit is configured to display the glyph description information of the basic element. Judging, according to the judgment result, determining whether to call the rasterization operation unit or the drawing operation unit;
所述的光栅化操作单元用于对文字或文字中的笔画进行光栅化操作; 所述的画操作单元用于对文字的笔画进行画操作。  The rasterization operation unit is configured to perform a rasterization operation on a stroke in a text or a text; and the drawing operation unit is configured to perform a drawing operation on a stroke of the text.
对上述的文字信息单元进行组合可以得到文字库。  A text library can be obtained by combining the above text information units.
上述的文字显示设备与现有的文字显示设备相比, 在显示方式上有了更 多的选择, 为用户提供了更大的灵活性。 The above text display device has a more display mode than the existing text display device. More choices give users more flexibility.
所述的文字显示设备还可以具有排版和打印功能。  The text display device can also have typesetting and printing functions.
本发明除了可以将文字按照笔画依次显示外, 还可以根据文字的字内信 息实现特定条件的检索。 下面仍然以汉字为例, 对这一检索过程加以说明。  In addition to displaying the characters in sequence in accordance with the strokes, the present invention can also perform retrieval of specific conditions based on the in-word information of the characters. The following still uses Chinese characters as an example to illustrate this search process.
在前面的说明中已经提到, 汉字库内所包含的字内信息包括汉字的笔画 数、 组成汉字的各个基本元素等。 因此, 在进行检索时, 就可以以这些字内 信息为基础, 实现对汉字笔画数、 汉字偏旁部首等检索条件的检索。 需要特 別说明的是, 本发明中所涉及的偏旁部首不仅包括国家语言文字工作委员 会所规定的偏旁部首, 还包括将这些规定的偏旁部首进行拆分或组合所得 到的结果或用户自定义的构成所述偏旁部首的更小的构字单元。 此外, 本 发明中所述的偏旁部首按照在文字中所起的作用, 还可以分为前述的形旁 和声旁。  As mentioned in the foregoing description, the in-word information contained in the Chinese character library includes the number of strokes of the Chinese character, the basic elements constituting the Chinese character, and the like. Therefore, when searching, it is possible to search for the search conditions such as the number of strokes of Chinese characters and the radicals of Chinese characters based on the information in these words. It should be specially noted that the radical heads involved in the present invention include not only the radical heads specified by the National Language Working Committee, but also the results obtained by splitting or combining the prescribed radicals or the user. A defined smaller unit of constituting the radicals is defined. Further, the radical portion described in the present invention can be further classified into the aforementioned shape and side by sound according to the action played in the text.
在一个实施例中, 用户设定的检索条件为找出笔画数为 7的汉字, 根据 这一检索条件, 查找汉字库中所有汉字的索引表。 从表 2所示的索引表可以 看出, 在该索引表中已经包含了汉字笔画数的说明信息, 因此可以将汉字库 中所有笔画数为 7的汉字提取出来, 然后调用前述的汉字显示方法或现有技 术中的文字显示方法将符合条件的所有汉字按照指定的方式显示。 在前面的 例子中所提到的 "张" 字满足这一检索条件, 因而也会作为检索结果被显示 输出。 此外, 如果某一笔画数的检索结果多于一个, 还可以根据前述表 1中 所存储的笔画类型信息对检索结果做排序,从而在显示过程中能够按照笔画 类型显示所有的检索结果。 在本实施例中, 用户将检索条件中的笔画数设定 为一个具体的数值, 在其他实施例中, 还可以将检索条件中的笔画数设定为 某一个数值范围, 如查找笔画数大于 7的所有汉字, 或笔画数小于或等于 7 的所有汉字。参照前述的说明,对这一检索条件的检索同样可以实现。此外, 当检索结果包含有多个笔画数时, 可先按笔画数排序, 然后对具有相同笔画 数的汉字按照笔画类型信息排序, 最后再显示排序后的检索结果。  In one embodiment, the search condition set by the user is to find a Chinese character with a stroke number of 7, and according to the retrieval condition, find an index table of all the Chinese characters in the Chinese character library. It can be seen from the index table shown in Table 2 that the description information of the number of strokes of Chinese characters has been included in the index table, so that all Chinese characters with a stroke number of 7 in the Chinese character library can be extracted, and then the aforementioned Chinese character display method is called. Or the text display method in the prior art displays all the Chinese characters that meet the conditions in a specified manner. The "张" word mentioned in the previous example satisfies this search condition and is therefore displayed as a search result. Further, if there are more than one search result for a certain number of strokes, the search results may be sorted according to the stroke type information stored in the above Table 1, so that all the search results can be displayed in accordance with the stroke type during the display process. In this embodiment, the user sets the number of strokes in the search condition to a specific value. In other embodiments, the number of strokes in the search condition may be set to a certain value range, such as the number of strokes found is greater than All Chinese characters of 7, or all Chinese characters with a stroke count less than or equal to 7. Referring to the foregoing description, the retrieval of this search condition can also be achieved. In addition, when the search result includes a plurality of stroke numbers, the number of strokes may be first sorted, then the Chinese characters having the same stroke number are sorted according to the stroke type information, and finally the sorted search results are displayed.
在又一个实施例中, 用户将检索条件设定为找出具有某一偏旁部首的所 有汉字。 在表 2所示的索引表中, 已经将汉字按照形旁、 声旁做了区分, 所 述形旁、声旁所在的域中记录了对应偏旁部首的编码。 因此,在检索过程中, 将所要查找的偏旁部首的编码与索引表中所记录的偏旁部首的编码加以比 较, 就可以找到满足检索条件的汉字, 然后调用前述的显示方法或现有技术 中的文字显示方法显示检索结果。以前述的 "张"字为例, "弓"为形旁, "长" 为声旁, 如果用编码 " 1 122" 表示作为偏旁的 "弓", 用编码 "4455 " 表示 作为偏旁的 "长", 那么当用户要检索作为偏旁的 "弓" 字时, 在汉字库中 各个汉字的索引表中查找编码 " 1 122" , 就可以找到带有偏旁 "弓" 的汉字。 需要说明的是, 此处所述的用于表示偏旁的编码与该偏旁作为单独汉字的编 码最好有所区别, 即作为偏旁的 "弓" 的编码最好不是 "弓" 字的 GB编码 或 Un i code编码。 此外, 当采用前述的显示方法显示检索结果时, 可以用一 种方式(如某一种颜色)显示所要检索的偏旁部首, 而用另一种方式(如另 一种颜色)显示汉字中除了所要检索偏旁部首外的部份。 In yet another embodiment, the user sets the search criteria to find all Chinese characters having a certain radical. In the index table shown in Table 2, the Chinese characters have been distinguished according to the shape and the side of the sound, and the code corresponding to the radicals is recorded in the field next to the shape and the sound. Therefore, in the retrieval process, the encoding of the radical portion to be searched is compared with the encoding of the radical portion recorded in the index table, and the Chinese character satisfying the retrieval condition can be found, and then the foregoing display method or prior art is invoked. The text display method in the display shows the search results. Take the aforementioned "Zhang" as an example, "Bow" as the shape, "Long" For the sound, if the code "1 122" is used as the "bow" of the radical, and the code "4455" is used as the "long" of the radical, then when the user wants to retrieve the "bow" as the radical, in the Chinese character library Find the code "1 122" in the index table of each Chinese character, and you can find the Chinese character with the radical "bow". It should be noted that the encoding used to represent the radicals here is preferably different from the encoding of the radicals as a single Chinese character, that is, the encoding of the "bow" as the radical is preferably not the GB encoding of the "bow" word or Un i code code. In addition, when the search result is displayed by the foregoing display method, the radical portion to be retrieved may be displayed in one manner (such as a certain color), and the Chinese character may be displayed in another manner (such as another color). The part outside the radical is to be searched.
在另一个实施例中, 用户在对偏旁部首检索时, 还可以进一步设定检索 条件, 例如, 检索偏旁部首 "弓" 在汉字中作为形旁的所有汉字。 "弓" 字 在 "张" 字中为形旁, 在其他的汉字中就可能作为声旁。 因此, 根据这一检 索条件可以对汉字字内信息做更为精确的查找。 在实现这一检索时, 在汉字 库所有汉字的索引表中, 只在形旁部分中查找编码 " 1122" , 然后调用前述 显示方法将满足条件的结果显示输出。如果要检索某一偏旁部首在汉字中作 为声旁的所有汉字, 则有关操作与之类似。  In another embodiment, the user may further set the search condition when searching for the radical radicals, for example, searching for all Chinese characters in the Chinese character as the side of the radical "bow". The word "bow" is in the form of "Zhang", which may be used as a sound in other Chinese characters. Therefore, based on this retrieval condition, a more accurate search of the information in the Chinese character can be made. In realizing this retrieval, in the index table of all Chinese characters in the Chinese character library, only the code "1122" is found in the shape side portion, and then the above display method is called to display the output of the condition satisfying the condition. If you want to retrieve all the Chinese characters next to a certain radical in the Chinese character, the operation is similar.
在又一个实施例中, 对表 2所示索引表的形旁或声旁部分做递归定义, 即将形旁或声旁所代表的偏旁部首做进一步拆分, 生成新的形旁和声旁。 例 如, 对于 "湖" 字, 其声旁 "胡" 可进一步拆分为声旁 "古" 和形旁 "月"。 通过上述拆分, 可以为用户提供对偏旁部首更细粒度的检索。 所述对偏旁部 首更细粒度的检索可通过递归检索实现。  In still another embodiment, the recursive definition of the shape or the side of the index table shown in Table 2 is to further split the radicals represented by the shape or the side of the sound to generate a new shape and side. . For example, for the word "湖", the sound of "Hu" can be further divided into "Ancient" next to the sound and "Month" next to the sound. Through the above splitting, the user can be provided with a more fine-grained search for the radicals. The more fine-grained retrieval of the radicals can be achieved by recursive retrieval.
在再一个实施例中, 用户还可以设定组合检索条件, 以得到更为精确的 检索结果。 例如, 将前面所提到的偏旁部首与笔画数这两个检索条件结合起 来。 在表 2所示的索引表中, 可以在形旁和声旁所在的域中添加用于记录偏 旁部首所具有的笔画数的项。 当按照前述的方法由偏旁部首得到相应的检索 结果后, 可根据笔画数在检索结果中做进一步检索。 例如, 检索偏旁 "弓" 后, 所得到的检索结果包括 "张"、 "强"、 "弹"、 "弦" 等多个结果。 如果进 一步输入剩余笔画数为 "4 " 这一检索条件, 就可以剔除除了 "张" 字外的 其余检索结果。与前面所提到的根据笔画数检索相类似,在其他的实施例中, 作为进一步检索条件的笔画数除了一个具体的数值外,还可以是一个数值范 围。  In still another embodiment, the user can also set a combined search condition to obtain a more accurate search result. For example, combine the two search conditions of the radicals and the number of strokes mentioned above. In the index table shown in Table 2, an item for recording the number of strokes of the radical portion can be added in the field next to the shape and the side of the sound. When the corresponding search result is obtained from the radicals according to the foregoing method, the search result may be further searched according to the number of strokes. For example, after retrieving the radical "bow", the resulting search results include multiple results such as "zhang", "strong", "bomb", and "chord". If you further enter the search condition that the number of remaining strokes is "4", you can eliminate the rest of the search results except the "Zhang" word. Similar to the previously mentioned stroke number retrieval, in other embodiments, the number of strokes as further retrieval conditions may be a numerical range in addition to a specific numerical value.
以上是以汉字为例, 对如何实现文字字内信息检索所做的说明。 但本领 域的技术人员应当了解, 结合上述说明中所体现的思想, 同样可以实现对除 汉字外的其他文字的字内信息的检索。 The above is an example of how to implement information retrieval in text words by using Chinese characters as an example. However, those skilled in the art should understand that, in combination with the ideas embodied in the above description, the same can be achieved. Retrieval of in-word information of other characters other than Chinese characters.
最后所应说明的是, 以上实施例仅用以说明本发明的技术方案而非限 制。 尽管参照实施例对本发明进行了详细说明, 本领域的普通技术人员应当 理解, 对本发明的技术方案进行修改或者等同替换, 都不脱离本发明技术方 案的精神和范围, 其均应涵盖在本发明的权利要求范围当中。  It should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and are not limiting. While the invention has been described in detail herein with reference to the embodiments of the embodiments of the present invention Within the scope of the claims.

Claims

权 利 要 求 Rights request
1、 一种文字显示方法, 所述文字包括有将所述文字按照笔画拆分所 得到的基本元素的文字信息,所述基本元素包括字形描述信息、方向信息; 所述方法包括:  A text display method, the text includes text information of a basic element obtained by splitting the text according to a stroke, the basic element including glyph description information and direction information; and the method includes:
步骤 1 )、 提供待显示文字的文字信息;  Step 1), providing text information of the text to be displayed;
步骤 2 )、 按照所述文字的书写顺序选择所述文字的一个笔画; 步骤 3 )、获得当前笔画中各个基本元素的字形描述信息和所述方向信 息画出当前笔画;  Step 2), selecting a stroke of the text according to the writing order of the characters; Step 3), obtaining the glyph description information of each basic element in the current stroke and the direction information to draw the current stroke;
步骤 4 )、 重复上述步骤 2 ) 和 3 )操作, 直至完成对所述文字或其一 部分的显示。  Step 4), repeat steps 2) and 3) above, until the display of the text or a part thereof is completed.
2、 根据权利要求 1 所述的文字显示方法, 其特征在于, 所述基本元 素按照书写顺序依次存储。  The character display method according to claim 1, wherein the basic elements are sequentially stored in a writing order.
3、根据权利要求 1所述的文字显示方法,其特征在于,所述的步骤 3 ) 包括:  The character display method according to claim 1, wherein the step 3) comprises:
步骤 3-1 )、对所述字形描述信息的表示方式进行判断, 若为点阵方式, 则执行步骤 3-3 ), 否则, 执行下一步;  Step 3-1), determining the representation manner of the glyph description information, if it is a dot matrix mode, performing step 3-3), otherwise, performing the next step;
步骤 3-2 )、 根据字形描述信息, 对当前笔画中的各个基本元素进行光 栅化操作;  Step 3-2), performing a rasterization operation on each basic element in the current stroke according to the glyph description information;
步骤 3-3 )、按照所述的方向信息与字形描述信息对当前笔画进行画操 作。  Step 3-3), drawing the current stroke according to the direction information and the font description information.
4、 根据权利要求 3所述的文字显示方法, 其特征在于, 所述字形描述 信息的表示方式包括点阵方式、 矢量方式、 曲线方式、 中心线方式、 轮廓 方式、 骨架方式。  The character display method according to claim 3, wherein the representation manner of the glyph description information comprises a dot matrix mode, a vector mode, a curve mode, a center line mode, a contour mode, and a skeleton mode.
5、 根据权利要求 1或 2或 3所述的文字显示方法, 其特征在于, 所 述的文字信息中还存储有用于表示所述基本元素在书写时快慢以及书写 时基本元素间停顿长短的速度信息; 在所述步骤 3 ) 中, 按照所述速度信 息画出当前笔画。  The character display method according to claim 1 or 2 or 3, wherein the text information further stores a speed for indicating the speed of the basic element during writing and the length of pause between basic elements during writing. Information; In the step 3), the current stroke is drawn according to the speed information.
6、 根据权利要求 1或 2或 3所述的文字显示方法, 其特征在于, 所 述的文字信息中还存储有笔画的类型信息以及用于读出笔画类型的语音 信息或其编码信息; 在所述步骤 3 ) 中, 在画出当前笔画时, 还根据所述 当前笔画的类型读出笔画的语音。 The character display method according to claim 1 or 2 or 3, wherein the text information further includes type information of the stroke and voice information for reading the stroke type or its encoding information; In the step 3), when the current stroke is drawn, the voice of the stroke is also read according to the type of the current stroke.
7、 根据权利要求 1或 2或 3所述的文字显示方法, 其特征在于, 所 述多个文字的所述文字信息存储在一个文字库中, 每个文字有一个唯一的 编码; 其中, The character display method according to claim 1 or 2 or 3, wherein the text information of the plurality of characters is stored in a font library, and each character has a unique code;
在所述的步骤 1 ) 中还包括, 根据所述文字的编码, 从所述文字库中 得到该文字的文字信息。  In the step 1), the text information of the text is obtained from the font library according to the encoding of the text.
8、 根据权利要求 1或 2或 3所述的文字显示方法, 其特征在于, 所 述文字还包括文字的语音或语音编码信息。  The character display method according to claim 1 or 2 or 3, wherein the character further comprises speech or speech coding information of the character.
9、 根据权利要求 1 所述的文字显示方法, 其特征在于, 所述文字还 包括所述文字的笔画编号以及所述文字的笔画数的信息。  The character display method according to claim 1, wherein the character further includes information on a stroke number of the character and a number of strokes of the character.
10、 根据权利要求 9所述的文字显示方法, 其特征在于, 所述文字还 包括对所述字形描述信息的表示方式的选择信息。  The character display method according to claim 9, wherein the character further includes selection information indicating a manner in which the glyph description information is expressed.
11、 根据权利要求 10 所述的文字显示方法, 其特征在于, 所述文字 还包括将所述文字的笔画编号按照文字的形旁和声旁进行区分的信息。  The character display method according to claim 10, wherein the character further includes information for distinguishing the stroke number of the character from the shape of the character and the sound.
12、 根据权利要求 11 所述的文字显示方法, 其特征在于, 所述文字 还包括所述文字中的形旁或声旁作为一个独立的文字的编码。  The character display method according to claim 11, wherein the character further includes a code of a character or a side of the character as an independent character.
13、 根据权利要求 12 所述的文字显示方法, 其特征在于, 所述的文 字的笔画编号、 所述文字的笔画数、 对所述字形描述信息的表示方式的选 择信息、 将所述文字的笔画编号按照文字的形旁和声旁进行区分的信息、 所述文字中的形旁或声旁作为一个独立的文字的编码在一个索引表中表 示。  The character display method according to claim 12, wherein the stroke number of the character, the number of strokes of the character, selection information of a representation manner of the font description information, and the character The stroke number is distinguished by the information of the shape of the character and the side of the sound, the shape of the character or the side of the voice as an independent text is represented in an index table.
14、 根据权利要求 1或 2或 3所述的文字显示方法, 其特征在于, 在 所述的步骤 4 ) 中, 在显示所述文字的下一个笔画前设定调用条件, 满足 所述的调用条件后才调用文字的下一个笔画, 或按照调用条件结束操作。  The character display method according to claim 1 or 2 or 3, wherein in the step 4), a calling condition is set before the next stroke of the character is displayed, and the call is satisfied. The next stroke of the text is called after the condition, or the operation ends according to the calling condition.
15、 根据权利要求 1或 2或 3所述的文字显示方法, 其特征在于, 所 述的方向信息按照东、 南、 西、 北、 东南、 西南、 东北、 西北八个方向进 行标定或按照角度进行标定。  The character display method according to claim 1 or 2 or 3, wherein the direction information is calibrated or angled according to eight directions of east, south, west, north, southeast, southwest, northeast, and northwest. Perform calibration.
16、 根据权利要求 3所述的文字显示方法, 其特征在于, 所述的画操 作包括动态显示、 静态显示和打印。  The character display method according to claim 3, wherein the drawing operation comprises dynamic display, static display, and printing.
17、 一种用于实现权利要求 1-16所述文字显示方法的文字显示设备, 其特征在于, 包括文字信息提供模块、 笔画选择模块、 笔画描绘模块; 其中, 所述的文字信息提供模块用于提供待显示文字的文字信息;  A text display device for implementing the text display method according to any one of claims 1 to 16, characterized in that it comprises a text information providing module, a stroke selecting module, and a stroke drawing module; wherein, the text information providing module is used Providing text information of the text to be displayed;
所述的笔画选择模块用于按照所述文字的书写顺序选择所述文字的一 个笔画; The stroke selection module is configured to select one of the characters according to a writing order of the characters Strokes;
所述的笔画描绘模块用于根据当前笔画中各个基本元素的字形描述信 息和所述方向信息画出当前笔画。  The stroke drawing module is configured to draw a current stroke according to the glyph description information of each basic element in the current stroke and the direction information.
18、 根据权利要求 17所述的文字显示设备, 其特征在于, 所述的笔画 描绘模块包括字形描述信息表示方式判断单元、 光栅化操作单元、 画操作单 元; 其中,  The character display device according to claim 17, wherein the stroke drawing module comprises a font description information representation manner determining unit, a rasterization operation unit, and a drawing operation unit;
所述的字形描述信息表示方式判断单元用于对所述基本元素的字形描 述信息的表示方式进行判断, 根据判断结果决定调用光栅化操作单元还是调 用画操作单元;  The glyph description information representation mode determining unit is configured to determine a representation manner of the glyph description information of the basic element, and determine whether to call the rasterization operation unit or the call operation operation unit according to the determination result;
所述的光栅化操作单元用于对文字或文字中的笔画进行光栅化操作; 所述的画操作单元用于对文字的笔画进行画操作。  The rasterization operation unit is configured to perform a rasterization operation on a stroke in a text or a text; and the drawing operation unit is configured to perform a drawing operation on a stroke of the text.
19、 根据权利要求 17或 18所述的文字显示设备, 其特征在于, 所述的 文字信息存储在一个文字库中, 所述文字信息提供模块从所述文字库得到待 显示文字的文字信息。  The character display device according to claim 17 or 18, wherein the character information is stored in a character library, and the text information providing module obtains text information of the character to be displayed from the character library.
20、 一种文字检索方法, 所述文字包括有将所述文字按照笔画拆分所 得到的基本元素的文字信息,所述基本元素包括字形描述信息、方向信息; 所述文字还包括所述文字的偏旁部首的信息; 所述方法包括:  20, a text search method, the text includes text information of a basic element obtained by splitting the text according to a stroke, the basic element includes glyph description information, direction information; and the text further includes the text Information of the radical radicals; the method comprises:
步骤 1 )、 输入待查找的偏旁部首;  Step 1), input the radicals to be searched;
步骤 2 )、将所述待查找的偏旁部首的信息与所述文字中的偏旁部首的 信息进行比较, 找出相匹配的文字。  Step 2): comparing the information of the radical portion to be searched with the information of the radical portion in the text to find a matching text.
21、 根据权利要求 20所述的文字检索方法, 其特征在于, 还包括: 步骤 3 )、 显示所述相匹配的文字。  The character retrieval method according to claim 20, further comprising: step 3) displaying the matched characters.
22、 根据权利要求 20或 21所述的文字检索方法, 其特征在于, 所述 文字的偏旁部首包括形旁和声旁; 在所述的步骤 2 ) 中, 将所述待查找的 偏旁部首的信息只与所述文字中的形旁的信息或只与所述文字中的声旁 的信息进行比较, 找出相匹配的文字。  The character retrieval method according to claim 20 or 21, wherein the radical portion of the character includes a shape and a side; in the step 2), the side portion to be searched The first information is only compared with the information in the text or only the information next to the sound in the text to find the matching text.
23、 根据权利要求 20或 21所述的文字检索方法, 其特征在于, 所述 文字还包括组成所述文字的偏旁部首的其他偏旁部首的信息; 在所述的步 骤 2 ) 中, 以递归查找的方式将所述待查找的偏旁部首的信息与所述文字 中的偏旁部首的信息进行比较, 找出相匹配的文字。  The character search method according to claim 20 or 21, wherein the character further includes information of other radicals constituting the radical portion of the character; in the step 2), The method of recursively searching compares the information of the radical portion to be searched with the information of the radical portion in the text to find a matching text.
24、 根据权利要求 20或 21或 22或 23所述的文字检索方法, 其特征 在于, 所述文字的偏旁部首的信息中还包括该偏旁部首的笔画数; 在所述 的步骤 2 ) 中, 还包括在得到所述待查找的偏旁部首的信息与所述文字中 的偏旁部首的信息的比较结果后, 输入待查找的笔画数, 在所述的比较结 果中根据所述待查找的笔画数以及所述文字的偏旁部首的笔画数进一步 找出相匹配的文字。 The character search method according to claim 20 or 21 or 22 or 23, wherein the information of the radical portion of the character further includes the number of strokes of the radical portion; Step 2), further comprising: after obtaining a comparison result between the information of the radical portion to be searched and the information of the radical portion in the text, inputting the number of strokes to be searched, in the comparison result The matching text is further found according to the number of strokes to be searched and the number of strokes of the radical portion of the text.
25、 一种文字检索方法, 所述文字包括有将所述文字按照笔画拆分所 得到的基本元素的文字信息,所述基本元素包括字形描述信息、方向信息; 所述文字还包括文字的笔画数; 该方法包括:  25. A text search method, the text includes text information of a basic element obtained by splitting the text according to a stroke, the basic element including glyph description information and direction information; and the text further includes strokes of characters Number; the method includes:
步骤 1 )、 输入待查找的笔画数;  Step 1), input the number of strokes to be found;
步骤 2 )、 将所述待查找的笔画数与所述文字的笔画数进行比较, 找出 相匹配的文字。  Step 2), comparing the number of strokes to be searched with the number of strokes of the text to find a matching text.
26、 根据权利要求 25所述的文字检索方法, 还包括:  The character retrieval method according to claim 25, further comprising:
步骤 3 )、 显示所述相匹配的文字。  Step 3), displaying the matched text.
27、 根据权利要求 26 所述的文字检索方法, 其特征在于, 在所述的 步骤 3 ) 中, 将所述相匹配的文字做完排序后再加以显示。  The character retrieval method according to claim 26, wherein in the step 3), the matched characters are sorted and displayed.
28、 根据权利要求 27 所述的文字检索方法, 其特征在于, 所述文字 还包括笔画类型信息; 在所述的步骤 3 ) 中, 将所述相匹配的文字按笔画 数排序, 具有相同笔画数的文字按照所述笔画类型信息排序。  The character retrieval method according to claim 27, wherein the text further includes stroke type information; in the step 3), the matched characters are sorted by the number of strokes, and have the same strokes The number of words is sorted according to the stroke type information.
PCT/CN2009/000806 2008-07-18 2009-07-17 Display method, retrieval method and display device of characters WO2010006512A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810116909.8 2008-07-18
CN2008101169098A CN101630311B (en) 2008-07-18 2008-07-18 Method and device for displaying characters

Publications (1)

Publication Number Publication Date
WO2010006512A1 true WO2010006512A1 (en) 2010-01-21

Family

ID=41550002

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/000806 WO2010006512A1 (en) 2008-07-18 2009-07-17 Display method, retrieval method and display device of characters

Country Status (3)

Country Link
CN (1) CN101630311B (en)
HK (1) HK1140565A1 (en)
WO (1) WO2010006512A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682022B (en) * 2011-03-15 2014-12-24 高静敏 Implementation method for Chinese character holographic movable character library
CN102521573A (en) * 2011-12-09 2012-06-27 陕西理工学院 Stroke identification method of writing strokes
CN104346375B (en) 2013-07-31 2017-10-13 北大方正集团有限公司 A kind of method and device for making middle character library
CN104572683A (en) * 2013-10-17 2015-04-29 北大方正集团有限公司 Word stroke animation processing method and device
CN105513108A (en) * 2015-12-11 2016-04-20 中国航空工业集团公司西安航空计算技术研究所 Word stock drawing method based on texture mapping
CN106981086A (en) * 2016-01-18 2017-07-25 北大方正集团有限公司 Information broadcasting method and information play apparatus
CN106021198A (en) * 2016-05-12 2016-10-12 成都职业技术学院 Preparation method of 16*16 dot matrix Chinese character stroke order character library
CN106648430A (en) * 2016-12-20 2017-05-10 天脉聚源(北京)传媒科技有限公司 Method and apparatus for intelligently displaying pull-down refreshing animation
CN107885863B (en) * 2017-11-21 2021-10-15 湖北大学 Map symbol expression method and system based on ontology
CN111294659B (en) * 2018-12-10 2021-02-09 北京乐柏信息咨询有限公司 Method and device for controlling track playing speed, medium and processing equipment
CN110322538B (en) * 2019-06-26 2023-09-05 广州视源电子科技股份有限公司 Text display method, text display device, storage medium and processor
CN111324405A (en) * 2020-01-20 2020-06-23 北京无限光场科技有限公司 Character display method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5615285A (en) * 1992-05-27 1997-03-25 Apple Computer, Inc. Method and apparatus for recognizing handwritten words
CN1271123A (en) * 1988-09-05 2000-10-25 亚洲通信私人有限公司 Processor for Chinese character computer
CN1426000A (en) * 2001-12-13 2003-06-25 精工爱普生株式会社 Character processing device and processing method and storage medium
CN101131687A (en) * 2006-08-22 2008-02-27 文鼎科技开发股份有限公司 Method for generating font

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1271123A (en) * 1988-09-05 2000-10-25 亚洲通信私人有限公司 Processor for Chinese character computer
US5615285A (en) * 1992-05-27 1997-03-25 Apple Computer, Inc. Method and apparatus for recognizing handwritten words
CN1426000A (en) * 2001-12-13 2003-06-25 精工爱普生株式会社 Character processing device and processing method and storage medium
CN101131687A (en) * 2006-08-22 2008-02-27 文鼎科技开发股份有限公司 Method for generating font

Also Published As

Publication number Publication date
CN101630311B (en) 2011-05-04
HK1140565A1 (en) 2010-10-15
CN101630311A (en) 2010-01-20

Similar Documents

Publication Publication Date Title
WO2010006512A1 (en) Display method, retrieval method and display device of characters
US7257528B1 (en) Method and apparatus for Chinese character text input
TWI468954B (en) Method for classifying and retrieving recurring graphemic components found in chinese-type characters and method for classifying and retrieving chinese-type characters based on said recurring graphemic components in electronic and non-electronic contexts
TWI475406B (en) Contextual input method
JPH05233630A (en) Method for describing japanese and chinese
US4990903A (en) Method for storing Chinese character description information in a character generating apparatus
TWI464678B (en) Handwritten input for asian languages
KR100704093B1 (en) Component-based, adaptive stroke-order system
JP2004518198A (en) Method, device and computer program for recognizing handwritten characters
JPH1153402A (en) Information retrieval device
KR20080079657A (en) Handwriting recognition training and synthesis
WO2000043861A1 (en) Method and apparatus for chinese character text input
US20070033035A1 (en) String display method and device compatible with the hindi language
KR101159323B1 (en) Handwritten input for asian languages
JP2012108893A (en) Hand-written entry method
CN115525728A (en) Method and device for Chinese character sorting, chinese character retrieval and Chinese character insertion
JP3803253B2 (en) Method and apparatus for Kanji input
WO2001016863A2 (en) Method and apparatus for symbol storage and display
JPS6126149A (en) Registering and retrieving device of document picture file
CN1310371B (en) Method and apparatus for inputting characters
CN117917621A (en) Chinese character input method and system and keyboard
JPH01262149A (en) Document output device having dot-character font forming function
JP2947832B2 (en) Word matching method
JPH1063775A (en) Document preparing device, and method for displaying recognition candidate
JP2771020B2 (en) Character processor

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

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

Country of ref document: EP

Kind code of ref document: A1