Apparatus and method for searching for digital ink query
20 claims: 7 independent, 13 dependent
- 1An apparatus (100) for searching for a digital ink query, comprising:a preprocessing unit (20) operable to dehook digital ink data of an input query phrase and an input memo;wherein dehooking is a process of removing a hook from the digital ink data;a feature extraction unit (30) which extracts a feature vector from the preprocessed digital ink data of an input query phrase and an input memo;a memo database (40) which, when an input stroke is memo data, stores the memo data in the form of the feature vector extracted by the feature extraction unit (30), and when the query phrase is searched for, provides the stored memo data to the query searching unit (50);and a query searching unit (50) which searches the feature vector of the input memo for a portion matched with the feature vector of the input query phrase in units of segments;wherein the query searching unit (50) comprises: a segment divider (51) which divides a character expressed by the feature vector into divided segments using temporal information related to a temporal order in which the character is input and spatial separation information;a search order determiner (52) which determines an order of searching for the divided segments, wherein the search order is determined based on an information amount determined using the number of points of each of the divided segments so that many points indicate a large information amount;a spotting unit (53) which compares a query phrase segment having a highest search order according to the determined search order with memo segments using a spotting table to find a cell indicating a first degree of segment similarity exceeding a first predetermined threshold value;and a neighborhood searching unit (54) which searches a neighborhood of the found cell and checks whether an entire query phrase includes a portion matched with a portion of the input memo.
- 6The apparatus (100) of any preceding claim, wherein the degree of similarity is obtained using an elastic matching method.
- 7The apparatus (100) of any preceding claim, wherein, when the neighborhood searching unit (54) searches the neighborhood of the found cell, the neighborhood searching unit (54) performs a search in a diagonal direction from the found cell until a top and a bottom of the spotting table are encountered.
- 8The apparatus (100) of any preceding claim, wherein, when the neighborhood searching unit (54) searches the neighborhood of the found cell, the neighborhood searching unit (54) performs a search in a diagonal direction from the found cell, determines candidates for a node to be subsequently selected using horizontal expansion and vertical expansion, and expands the search from a node indicating a highest similarity among the candidates according to a best first search method, until a top and a bottom of the spotting table are encountered.
- 13The apparatus (100) of any preceding claim, wherein, when the input query phrase and the input memo are divided into characters, the search order is determined only with respect to segments corresponding to one of start portions and end portions of characters in the input query phrase.
- 15A method of searching for a digital ink query, comprising:removing a first information amount from digital ink data of an input memo;extracting a feature vector from memo data having the first reduced information amount and storing the feature vector in a memo database;removing a second information amount from digital ink data of an input query phrase;extracting a feature vector from query phrase data having the second reduced information amount;and searching the memo for a portion matched with the query phrase in units of segments;wherein the searching comprises: dividing a character expressed by the feature vector into segments using temporal information related to a temporal order in which the character is input and spatial separation information;determining an order of searching for the divided segments based on an information amount determined using the number of points of each of the divided segments so that many points indicate a large information amount;comparing a query phrase segment having a highest search order according to the determined search order with memo segments using a spotting table to find a cell indicating a degree of segment similarity exceeding a predetermined threshold value;and searching a neighborhood of the found cell and checking whether an entire query phrase includes a portion matched with a portion of the input memo.
- 20A computer-readable recording medium having a program recorded thereon for performing a method of searching for a digital ink query, said method comprising:removing unnecessary portions from digital ink data of an input memo to reduce a first information amount;extracting a feature vector from memo data having the first reduced information amount and storing the feature vector in a memo database;removing unnecessary portions from digital ink data of an input query phrase to reduce a second information amount;extracting a feature vector from query phrase data having the second reduced information amount;and searching the memo for a portion matched with the query phrase in units of segments;wherein the searching comprises: dividing a character expressed by the feature vector into segments using temporal information related to a temporal order in which the character is input and spatial separation information;determining an order of searching for the divided segments based on an information amount determined using the number of points of each of the divided segments so that many points indicate a large information amount;comparing a query phrase segment having a highest search order according to the determined search order with memo segments using a spotting table to find a cell indicating a degree of segment similarity exceeding a predetermined threshold value;and searching a neighborhood of the found cell and checking whether an entire query phrase includes a portion matched with a portion of the input memo.
Independent claims7
103 paragraphs, as filed
0001The present invention relates to apparatus for inputting a character, and more particularly, though not exclusively, to apparatus and methods for searching a handwritten memo, which is input by a user using a digital pen interface, for a word corresponding to the user's query. The digital pen interface is an interface in which a traditional method of writing down on paper with a pen is implemented in a digital form using an apparatus such as a touch screen which senses a pressure or an electrical signal of a pen-type device contacting a screen and detects a motion trace of the pen-type device in an electronic form.
0002In recent years, development of digital technology has brought a rapid prevalence of digital devices. One consequence of such development is that attempts at development of advanced devices are being made in various aspects, including miniaturization and reduced weight. In particular, increased portability of a keyboard and mouse interface, which has been in widespread use as an interface for digital devices over the several decades, together with the miniaturized digital devices, has become a critical issue. A need for substitute interfaces to solve this problem has been growing with each passing year, and a substitute interface using a voice, a pen, a gesture, and video has been continuously researched and developed. Particularly, it has been common to use pen or voice as a communication interface in society for several thousands of years due to spontaneity and great potential in expression.
0003A digital pen interface is an approach of applying a communicative habit of writing down characters, figures, symbols, etc. on paper with a pen, to a digital device. To digitize a pen interface, character recognition technology has been continuously researched. Character recognition technology is a technique of recognizing character information (hereinafter, referred to as "ink") input with a digital pen using a pattern recognition technique and converting the ink into an ASCII code used to express characters in a computer.
0004However, the character recognition technology is not widely spread as compared to the amount of research due to two major reasons. One reason is that character recognition speed is very slow. In order to allow a user to naturally perform writing (e.g., note-taking), recognition and processing need to be performed without a time delay while the user is writing. However, actually, a time delay of about 0.5 seconds occurs, so the user may feel irritated while writing.
0005The other reason is associated with a character recognition error. According to conventional character recognition technology, characters are recognized at an accuracy of about 90% in an actual situation. Even this accuracy can be accomplished only when various interface assistant devices for easily distinguishing characters are provided. When an error occurs while a user's writing is continuously recognized and processed, the user acts to correct the error, which disturbs continuity.
0006To overcome these problems of the character recognition technology in the field of pen interface, an approach which uses digital ink, i.e., a trace of a digital pen, without a character recognition procedure for determining an ASCII code corresponding to input digital ink has been proposed. As shown in <figref idref="f0001">FIG. 1</figref>, a detected pen's trace is stored in a digital form and displayed as it is so that a user can obtain information that he/she recorded. This method does not disturb the user's natural hand motion in writing down since character recognition is not performed. As a result, problems of the character recognition technology can be overcome.
0007However, in the above-described approach, since coded characters that can be recognized by a computer are not stored, the user needs to personally check all recorded information to search for desired information. To overcome this problem, a technique of searching for a medium recorded in the form of digital ink is required. According to such technique (hereinafter, referred to as a "digital ink search technique), when a search query in the form of digital ink (hereinafter, referred to as a "query phrase") is input as shown in <figref idref="f0001">FIG. 2</figref> in a situation where a plurality of memos recorded in the form of digital ink as shown in <figref idref="f0001">FIG. 1</figref> (hereinafter, referred to as "memos") are present, memos including the content of the query phrase are displayed as a search result.
0008Conventional methods for digital ink search premise that a search unit is a word separated from other characters or that a gap between recorded words is sufficient to divide characters in word units.
0009When words are distinctly separated from each other in a query phrase and memos, a search can be easily processed by comparing similarities between the query phrase and memos using a method such as elastic matching disclosed in various existing documents. In this situation, since an object to be searched for is distinct, there is no problem in dividing characters into words, and speed does not matter. The elastic matching is well introduced by <nplcit id="ncit0001" npl-type="s"><text>C.C. Tappert ["Cursive Script Recognition by Elastic Matching", IBM J. Research Development, V. 26, No. 6, pp. 765-771, 1982</text></nplcit>]. In this method, two objects are compared with each other, and a degree of similarity between the two objects is expressed by a numerical value.
0010However, actually, in most digital devices having a small input screen, characters and words are not sufficiently spaced to be easily separated from each other since a user usually inputs characters without spacing words due to restriction in space. Even when space is sufficient to input desired information, some users do not strictly space words. In such a situation where a search object cannot be easily identified, there exists a problem of determining a part of a memo to be compared with a query phrase.
0011<patcit id="pcit0001" dnum="US5757959A"><text>US5757959</text></patcit> discloses apparatus and a method for comparing an electronic handwritten pattern to a stored string. The string includes a group of portions, each having at least one stroke. Movement of a stylus forms the pattern, and a sequence of strokes is generated. Each stroke represents a stylus movement within a predetermined alphabet. <patcit id="pcit0002" dnum="US6018591A"><text>US 6018591</text></patcit> discloses similar apparatus and method and teaches to preprocess ink by way of dehooking.
0012Preferred embodiments of the present invention provide a method of searching for a query phrase in memos generated using a digital pen.
0013Preferred embodiments of the present invention also provide a spotting method using a particular portion of a query phrase to implement the above-described search method.
0014Preferred embodiments of the present invention also provide a method using additional meta information to implement the above-described search method.
0015According to an aspect of the present invention, there is provided an apparatus for searching for a digital ink query, the apparatus comprising a preprocessing unit operable to dehook digital ink data of an input query phrase and an input memo; wherein dehooking is a process of removing a hook from the digital ink data, a feature extraction unit which extracts a feature vector from the preprocessed digital ink data of an input query phrase and an input memo, a memo database which when an input stroke is memo data, stores the memo data in the form of the feature vector extracted by the feature extraction unit, and when the query phrase is searched for, provides the stored memo data to the query searching unit and a query searching unit which searches the feature vector of the memo for a portion matched with the feature vector of the query phrase in units of segments; wherein the query searching unit comprises: <ul id="ul0001" list-style="none" compact="compact"><li>a segment divider which divides a character expressed by the feature vector into divided segments using temporal information related to a temporal order in which the character is input and spatial separation information;</li><li>a search order determiner which determines an order of searching for the divided, wherein the search order is determined based on an information amount determined using the number of points of each of the divided segments so that many points indicate a large information amount;</li><li>a spotting unit which compares a query phrase segment having a highest search order according to the determined search order with memo segments using a spotting table to find a cell indicating a first degree of segment similarity exceeding a first predetermined threshold value; and</li><li>a neighborhood searching unit which searches a neighborhood of the found cell and checks whether an entire query phrase includes a portion matched with a portion of the input memo.</li></ul> The apparatus wherein the preprocessing unit may be operable to resample the digital ink data; wherein resampling is a process of removing information from the digital ink data to reduce the information amount of the digital ink data with minimized distortion of information.
0016The apparatus may further comprise a digitizer which receives a user's stroke, recognizes the stroke as the digital ink data, and transmits the digital ink data to the preprocessing unit.
0017Also, the apparatus may further comprise a display unit which highlights the portion matched with the query phrase when displaying a memo including the portion matched with the query phrase, and if no memo including the portion matched with the query phrase is present, informs a user that no memo including the query phrase exists using a message.
0018The spotting table may comprise a plurality of cells having a plurality of levels of darkness, and a cell at an intersection between an i-th row and a j-th column stores a degree of similarity between an i-th segment of a query phrase and a j-th segment of an input memo.
0019The degree of similarity is preferably obtained using an elastic matching method.
0020When the neighborhood searching unit searches the neighborhood of the found cell, the neighborhood searching unit may perform a search in a diagonal direction of the found cell until a top and a bottom of the spotting table are encountered.
0021Also, when the neighborhood searching unit searches the neighborhood of the found cell, the neighborhood searching unit may perform a search in a diagonal direction of the found cell, determines candidates for a node to be subsequently selected using horizontal expansion and vertical expansion, and expands the search from a node indicating a highest similarity among the candidates according to a best first search method, until a top and a bottom of the spotting table are encountered.
0022Preferably, but not necessarily, the matched portion indicates a portion in the memo corresponding to a path of a search performed until the top and the bottom of the spotting table are encountered when a degree of accumulated similarity obtained from the path exceeds a second predetermined threshold value.
0023When a cell located in the diagonal direction among the candidates is selected as the subsequent node without expansion, a degree of accumulated similarity at the subsequent node is preferably, but not necessarily, expressed by: <maths id="math0001"><math display="block"><mfrac><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mi>i</mi></msub><mo>,</mo><msub><mi>T</mi><msub><mi mathvariant="italic">j</mi><mi>i</mi></msub></msub></mrow></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>,</mo><msub><mi>T</mi><msub><mi>j</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub></msub></mrow></msub></mrow><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub></mrow></mfrac></math><img file="EP1564675B1_D0001.tif" /></maths> where <i>l<sub>i</sub></i> indicates a length of a query phrase segment used at a current node, <i>l</i><sub><i>i</i>+1</sub> indicates a length of an expanded query phrase segment at the subsequent node, <maths id="math0002"><math display="inline"><msub><mi mathvariant="italic">C</mi><mrow><msub><mi mathvariant="italic">S</mi><mi mathvariant="italic">i</mi></msub><mo mathvariant="italic">,</mo><msub><mi mathvariant="italic">T</mi><msub><mi mathvariant="italic">j</mi><mi mathvariant="italic">i</mi></msub></msub></mrow></msub></math><img file="EP1564675B1_D0002.tif" /></maths> indicates a degree of similarity between an i-th segment in the query phrase and a <i>j<sub>i</sub></i>-th segment in the memo, and <maths id="math0003"><math display="inline"><msub><mi mathvariant="italic">C</mi><mrow><msub><mi mathvariant="italic">S</mi><mrow><mi mathvariant="italic">i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo mathvariant="italic">,</mo><msub><mi mathvariant="italic">T</mi><mrow><msub><mi mathvariant="italic">j</mi><mi mathvariant="italic">i</mi></msub><mo>+</mo><mn>1</mn></mrow></msub></mrow></msub></math><img file="EP1564675B1_D0003.tif" /></maths> indicates a degree of similarity between an (i+1)-th segment in the query phrase and a <i>j</i><sub><i>i</i>+1</sub>-th segment in the memo.
0024In a case of vertical expansion using two segments, a degree of accumulated similarity may be expressed by: <maths id="math0004"><math display="block"><mfrac><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mi>i</mi></msub><mo>,</mo><msub><mi>T</mi><msub><mi mathvariant="italic">j</mi><mi>i</mi></msub></msub></mrow></msub><mo>+</mo><mfenced><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>2</mn></mrow></msub></mfenced><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn><mo>∼</mo><mi>i</mi><mo>+</mo><mn>2</mn></mrow></msub><mo>,</mo><msub><mi>T</mi><msub><mi>j</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub></msub></mrow></msub></mrow><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>2</mn></mrow></msub></mrow></mfrac><mo>,</mo></math><img file="EP1564675B1_D0004.tif" /></maths> where <i>l<sub>i</sub></i> indicates a length of a query phrase segment used at a current node, <i>l</i><sub><i>i</i>+1</sub> indicates a length of an expanded query phrase segment at a first subsequent node, <i>l</i><sub><i>i</i>+2</sub> indicates a length of an expanded query phrase segment at a second subsequent node, <maths id="math0005"><math display="inline"><msub><mi mathvariant="italic">C</mi><mrow><msub><mi mathvariant="italic">S</mi><mi mathvariant="italic">i</mi></msub><mo mathvariant="italic">,</mo><msub><mi mathvariant="italic">T</mi><msub><mi mathvariant="italic">j</mi><mi mathvariant="italic">i</mi></msub></msub></mrow></msub></math><img file="EP1564675B1_D0005.tif" /></maths> indicates a degree of similarity between an <i>i</i>-th segment in the query phrase and a <i>j<sub>i</sub></i>-th segment in the memo, and <maths id="math0006"><math display="inline"><msub><mi mathvariant="italic">C</mi><mrow><msub><mi mathvariant="italic">S</mi><mrow><mi mathvariant="italic">i</mi><mo>+</mo><mn>1</mn><mo>∼</mo><mi mathvariant="italic">i</mi><mo>+</mo><mn>2</mn></mrow></msub><mo mathvariant="italic">,</mo><msub><mi mathvariant="italic">T</mi><msub><mi mathvariant="italic">j</mi><mrow><mi mathvariant="italic">i</mi><mo>+</mo><mn>1</mn></mrow></msub></msub></mrow></msub></math><img file="EP1564675B1_D0006.tif" /></maths> indicates a degree of similarity between a combination of an (i+1)-th segment and an (<i>i</i>+2)-th segment in the query phrase and a <i>j<sub>i+1</sub>-</i>th segment in the memo.
0025In a case of horizontal expansion using two segments, a degree of accumulated similarity may be expressed by: <maths id="math0007"><math display="block"><mfrac><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mi>i</mi></msub><mo>,</mo><msub><mi>T</mi><msub><mi mathvariant="italic">j</mi><mi>i</mi></msub></msub></mrow></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>,</mo><msub><mi>T</mi><mrow><mfenced><msub><mi>j</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub></mfenced><mo>∼</mo><mo>(</mo><msub><mi>j</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>+</mo><mn>1</mn><mo>)</mo></mrow></msub></mrow></msub></mrow><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub></mrow></mfrac><mo>,</mo></math><img file="EP1564675B1_D0007.tif" /></maths> where <i>l<sub>i</sub></i> indicates a length of a query phrase segment used at a current node, <i>l</i><sub><i>i</i>+1</sub> indicates a length of an expanded query phrase segment at a first subsequent node, <i>l</i><sub><i>i</i>+2</sub> indicates a length of an expanded query phrase segment at a second subsequent node, <maths id="math0008"><math display="inline"><msub><mi mathvariant="italic">C</mi><mrow><msub><mi mathvariant="italic">S</mi><mi mathvariant="italic">i</mi></msub><mo mathvariant="italic">,</mo><msub><mi mathvariant="italic">T</mi><msub><mi mathvariant="italic">j</mi><mi mathvariant="italic">i</mi></msub></msub></mrow></msub></math><img file="EP1564675B1_D0008.tif" /></maths> indicates a degree of similarity between an <i>i</i>-th segment in the query phrase and a <i>j<sub>i+1</sub></i>-th segment in the memo, and <maths id="math0009"><math display="inline"><msub><mi mathvariant="italic">C</mi><mrow><msub><mi mathvariant="italic">S</mi><mrow><mi mathvariant="italic">i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo mathvariant="italic">,</mo><msub><mi mathvariant="italic">T</mi><mrow><mo>(</mo><msub><mi mathvariant="italic">j</mi><mi mathvariant="italic">i</mi></msub><mo>+</mo><mn>1</mn><mo>)</mo><mo>∼</mo><mfenced><msub><mi mathvariant="italic">j</mi><mrow><mi mathvariant="italic">i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>+</mo><mn>1</mn></mfenced></mrow></msub></mrow></msub></math><img file="EP1564675B1_D0009.tif" /></maths> indicates a degree of similarity between the (<i>i</i>+1)-th segment in the query phrase and a combination of the <i>j<sub>i</sub></i>-th segment and a (<i>j</i><sub><i>i</i>+1</sub>+1)-th segment in the memo.
0026When the query phrase and the memo are divided into characters, the search order is preferably, but not necessarily, determined only with respect to segments corresponding to start portions or end portions of characters in the query phrase.
0027According to whether the segment having the highest search order corresponds to a start or an end portion of a character in the query phrase, the segment having the highest search order is preferably, but not necessarily, compared with only segments corresponding to start or end portions of characters in the memo.
0028According to another aspect of the present invention, there is provided a method of searching for a digital ink query. The method comprises removing a first information amount from digital ink data of an input memo, extracting a feature vector from memo data having the reduced information amount and storing the feature vector in a memo database, removing a second information amount from digital ink data of an input query phrase, extracting a feature vector from query phrase data having reduced information amount, and searching the memo for a portion matched with the query phrase in units of segments; wherein the searching comprises: <ul id="ul0002" list-style="none" compact="compact"><li>dividing a character expressed by the feature vector into segments using temporal information related to a temporal order in which the character is input and spatial separation information; characterised by</li><li>determining an order of searching for the divided segments based on an information amount determined using the number of points of each of the divided segments so that many points indicate a large information amount;</li><li>comparing a query phrase segment having a highest search order according to the determined search order with memo segments using a spotting table to find a cell indicating a degree of segment similarity exceeding a predetermined threshold value; and</li><li>searching a neighborhood of the found cell and checking whether an entire query phrase includes a portion matched with a portion of the input memo.</li></ul>
0029In the above-described method, the searching may comprise dividing a character expressed by the feature vector into segments using temporal information regarding a temporal order in which the character is input and spatial separation information, determining an order of searching for the divided segments, comparing a query phrase segment having a highest search order according to the determined search order with memo segments using a spotting table to find a cell indicating a degree of similarity exceeding a predetermined threshold value, and searching a neighborhood of the found cell and checking whether an entire query phrase includes a portion matched with a portion of the current memo. Further features of the present invention are set out in the appended claims.
0030The present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
0031<figref idref="f0001">FIG. 1</figref> illustrates an example of a digital ink memo;
0032<figref idref="f0001">FIG. 2</figref> illustrates an example of a digital ink query phrase;
0033<figref idref="f0002">FIG. 3</figref> is a block diagram of a digital ink search apparatus according to an embodiment of the present invention;
0034<figref idref="f0003">FIG. 4</figref> illustrates an example of a memo displayed to a user according to the present invention;
0035<figref idref="f0004">FIG. 5</figref> is a block diagram of a query phrase searching unit shown in <figref idref="f0002">FIG. 3</figref> ;
0036<figref idref="f0005">FIG. 6</figref> illustrates an example in which a query phrase is divided into segments;
0037<figref idref="f0006">FIG. 7</figref> illustrates an example of a spotting table according the present invention;
0038<figref idref="f0007">FIG. 8</figref> illustrates a method of determining the priority order of segments according to the information amount of each segment, according to the present invention;
0039<figref idref="f0007">FIG. 9</figref> illustrates an example in which similarities between a particular segment of a query phrase and segments of a memo are compared, according to the present invention;
0040<figref idref="f0008">FIG. 10A</figref> illustrates a neighborhood search procedure according to the present invention;
0041<figref idref="f0008">FIG. 10B</figref> illustrates an expansion neighborhood search procedure according to the present invention;
0042<figref idref="f0009">FIG. 11</figref> is a diagram in which the expansion neighborhood search procedure is expressed in a tree form; and
0043<figref idref="f0009">FIG. 12</figref> illustrates a spotting method using character division information as meta information according to the present invention.
0044The present invention will now be described more fully with reference to the accompanying drawings, in which exemplary embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. In the drawings, the same reference numerals represent the same elements.
0045<figref idref="f0002">FIG. 3</figref> is a block diagram of a digital ink search apparatus according to an embodiment of the present invention. A digital ink search apparatus 100 includes a digitizer 10, a preprocessing unit 20, a feature extraction unit 30, a memo database (DB) 40, a query searching unit 50, and a display unit 60.
0046The digitizer 10 receives and converts a user's stroke into binary pixel data, i.e., digital ink data, and transmits the digital ink data to the preprocessing unit 20. The stroke is a unit in which a user writes something without lifting up a pen. The digitizer 10 may have a resolution of 150 points per inch and transmit the digital ink data to the preprocessing unit 20 at a speed of 50 points per second.
0047The preprocessing unit 20 removes unnecessary portions from the digital ink data to reduce information amount. The unnecessary portions are produced due to an imperfection of a user's stroke input, diversity of a character size, diversity of writing speed, etc. Such preprocessing may include De-hooking, resampling, etc. De-hooking is a process of removing a hook appearing at the start and the end of a stroke during pen input. Resampling is a process of removing points from a portion other than a portion having a great change to reduce information amount with minimized distortion of information.
0048The feature extraction unit 30 extracts a feature vector from data filtered through preprocessing. The feature vector may include information such as an angle of a line connected between points, the length of the line, etc. Other various types of information may be used as feature information. Feature extraction may be performed using one of various conventional methods, for example, a feature extraction method suggested by <nplcit id="ncit0002" npl-type="s"><text>B.K. Shin, J.Y. Ha, S.C. Oh, and Kim J.H ["Network-Based Approach to Online Cursive Script Recognition", IEEE Trans. On Systems, Man and Cybernetics, Part B, V. 29, Issue 2, 1999</text></nplcit>].
0049A stroke input by a user may be "memo data" or a "query phrase" which is used to search for a match in the memo data. When the input stroke is memo data, the memo DB 40 stores the memo data in the form of the feature vector extracted by the feature extraction unit 30.
0050However, when the input stroke is a query phrase, the feature vector extracted by the feature extraction unit 30 is input to the query searching unit 50 without being stored in the memo DB 40.
0051The query searching unit 50 searches memo data stored in the memo DB for a portion matched with the query phrase in units of segments using a predetermined matching algorithm and transmits a search result to the display unit 60.
0052The display unit 60 displays a memo including the portion matched with the query phrase and highlights the portion matched with the query phrase. If no memo including the portion matched with the query phrase is present, the display unit 60 displays a message informing the user of the fact that no memo including the query phrase exists. <figref idref="f0003">FIG. 4</figref> illustrates an example of a memo displayed to the user.
0053<figref idref="f0004">FIG. 5</figref> is a block diagram of the query searching unit 50. The query searching unit 50 includes a segment divider 51, a search order determiner 52, a spotting unit 53, and a neighborhood searching unit 54.
0054The segment divider 51 divides a character expressed by the feature vector into segments using temporal information regarding the temporal order in which the character is input and spatial information regarding spatial separation. A segment may be defined as a portion separated without continuity from other portions in a character input by a user. Accordingly, the segment may be a phoneme such as a consonant or a vowel in Korean and may be an alphabet letter in English. However, according to a user's handwriting, two phonemes may be recognized as a single segment, and a single phoneme may be recognized as two segments. Accordingly, even when the same characters are input, results of division may be different according to a user's handwriting.
0055Here, it will be noticed that a portion is separated from other portions in defining the segment means that the portion is separated temporally as well as spatially. For example, referring to <figref idref="f0001">FIG. 2</figref>, "<img file="EP1564675B1_D0010.tif" />" in "<img file="EP1564675B1_D0011.tif" />" is spatially connected to "<img file="EP1564675B1_D0012.tif" />" in "<img file="EP1564675B1_D0013.tif" />", but they are separated temporally. When a user inputs a memo or a query phrase through the digitizer 10, the digitizer 10 can get information regarding an order in which a stroke is input as well as information regarding a final input shape of the memo or the query phrase. When these two types of information are used, since "<img file="EP1564675B1_D0014.tif" />" is separately input after "<img file="EP1564675B1_D0015.tif" />" is input, "<img file="EP1564675B1_D0016.tif" />" and "<img file="EP1564675B1_D0017.tif" />" are not combined into a single segment.
0056Various references may be used for segmental division. For example, when a pen device is detached from a surface of the digitizer 10, it may be recognized that a single segment is completed, and a next segment will start. In English, division may be performed on the basis of a local maximum point and a local minimum point or on the basis of a position of a ligature through ligature analysis. One among various conventional methods may be used to recognize a segment in the present invention.
0057<figref idref="f0005">FIG. 6</figref> illustrates an example in which the query phrase shown in <figref idref="f0001">FIG. 2</figref> is divided into segments. The segments are arranged in temporal order in which a user inputs the segments to the digitizer 10. A value of "i" indicates the arranged sequence of each segment. It will be noticed that the arranged sequence is just a temporal input sequence not a search sequence.
0058Alternatively, a single stroke may be defined as a segment. In this case, characters may be divided into too many segments, thereby deteriorating search performance. However, when many instances of spacing are not required in a writing method, for example, when English characters are written in an italic style, it will be more efficient to define a single stroke as a segment.
0059The search order determiner 52 determines the order of searching for the segments divided by the segment divider 51. To derive a significant result from a spotting procedure performed by the spotting unit 53, two basic conditions need to be satisfied. Firstly, complexity must be able to be reduced satisfactorily. Secondly, a spotting result must be meaningful. To satisfy these two conditions, when the order of performing spotting on the segments divided by the segment divider 51 is determined, priority is given to segments that can satisfy the two conditions among the divided segments. To satisfy the first condition, a portion corresponding to a segment needs to be significantly small for the entire query phrase. To satisfy the second condition, a portion corresponding to a segment must not be a simple pattern but is preferably a pattern that does not frequently appear.
0060Referring to <figref idref="f0006">FIG. 7</figref>, which will be described in more detail later, a total of 3 cells are spotted when spotting is performed using a line 1) while a total of 8 cells are spotted when spotting is performed using a line 2). More specifically, false positives more frequently occur when spotting is performed using the line 2) than when spotting is performed using the line 1). However, when spotting is performed using the line 1), a probability of overlooked cells increases. Accordingly, it is necessary to divide the query phrase and determine the spotting order such that a compromise is made between the two conditions.
0061<figref idref="f0007">FIG. 8</figref> illustrates a method of determining the priority order of segments according to the information amount of each segment, according to the present invention. The information amount of each segment is determined using the number of points obtained after preprocessing performed by the preprocessing unit 20. In other words, when a segment comprises many points, the segment is determined as having a large information amount and is given priority of search.
0062In a query phrase shown in <figref idref="f0007">FIG. 8</figref>, a total of 4 segments comprise 5 points and have the same priority. The order of using the 4 segments in a spotting procedure may be determined using random selection.
0063The spotting unit 53 compares a segment having the highest search order in the query phrase with memo segments using the spotting table to find cells exceeding a threshold value.
0064Spotting is a process of scanning a search object in units of segments of a query phrase and is used to avoid the complexity of comparing a search object in its entirety.
0065The biggest problem in searching for digital ink is that it is not easy to divide a memo, i.e., a search object, into particular units for a search. For example, to determine whether the query phrase, <img file="EP1564675B1_D0018.tif" />"", shown in <figref idref="f0001">FIG. 2</figref> is present in the memo shown in <figref idref="f0001">FIG. 1</figref>, it is needed to extract sequential combinations of all of available strokes from the memo and compare the query phrase with the extracted sequential combinations. In other words, the query phrase "<img file="EP1564675B1_D0019.tif" />" may need to be compared with "<img file="EP1564675B1_D0020.tif" /><img file="EP1564675B1_D0021.tif" />", "<img file="EP1564675B1_D0022.tif" /><img file="EP1564675B1_D0023.tif" />", "<img file="EP1564675B1_D0024.tif" />" "<img file="EP1564675B1_D0025.tif" />", and even "<img file="EP1564675B1_D0026.tif" />" including only a part of a complete character since a border between characters is difficult to be accurately identified. Such comparison method incurs too high complexity to be actually used.
0066Accordingly, a method of determining whether a query phrase is present in a memo and detecting a portion corresponding to the query phrase in the memo with a small number of comparisons is desired.
0067In an embodiment of the present invention, to realize a high-speed search, only a particular portion of a query phrase instead of all of available candidates is extracted and searched for, and when the particular portion has a high similarity as a result of comparison, more detailed search is further performed. The following description concerns such method of realizing a high-speed search.
0068As shown in <figref idref="f0006">FIG. 7</figref>, search is performed with only a part of a query phrase using a spotting method so that a comparison unit is remarkably reduced, thereby greatly decreasing a search time. In addition, the number of comparisons between the query phrase and a search object can be reduced.
0069For example, as shown in <figref idref="f0007">FIG. 9</figref>, a particular segment (e.g., a final consonant "O") of a query phrase is compared with all segments of an entire memo. As a result of the comparison, final consonants in characters "<img file="EP1564675B1_D0027.tif" />", "<img file="EP1564675B1_D0028.tif" />", "<img file="EP1564675B1_D0029.tif" />", and "<img file="EP1564675B1_D0030.tif" />" may be detected as being similar to the particular portion "O" of the query phrase. Thereafter, around these spotted points, comparison of other segments, i.e., candidate expansion, is performed so that the entire query phrase can be compared with the search object.
0070<figref idref="f0006">FIG. 7</figref> illustrates an example of a spotting table used to easily perform a spotting procedure. The spotting table includes a plurality of rectangular cells having a plurality of levels of darkness. Each of the cells is defined by a row and a column. The row indicates segments into which a query phrase is divided according to a predetermined reference, and the column indicates segments into which a search object, i.e., a memo, is divided into according to a predetermined reference. In other words, a cell at an intersection between an i-th row and a j-th column indicates a degree of similarity between an i-th segment of the query phrase and a j-th segment of the memo.
0071The darkness of each cell indicates a degree of similarity between a segment of the query phrase and a segment of the memo. High darkness indicates a high similarity between corresponding two segments.
0072In a more specific spotting procedure, memo segments matched with a query phrase segment having a highest search priority determined by the search order determiner 52 are searched for in a horizontal direction (i.e., in a direction in which "j" increases). If no memo segments are matched with the query phrase segment, memo segments matched with a query phrase segment having a second highest search priority are searched for in the same manner.
0073To determine whether two segments are matched with each other, a degree of similarity between a segment of a query phrase currently subjected to a spotting procedure and a segment of a memo is normalized using a value [Min, Max]. When a similarity value obtained through the normalization exceeds a predetermined threshold value, the two segments are determined as being matched with each other. Such a cell indicating matching between two segments is referred to as a spotted cell.
0074When the similarity value is less than the predetermined threshold value, a next memo segment is selected, and the same operation is repeated. A similarity value can be obtained using various ways of normalizing a result of comparing two segments according to the elastic matching method, for example. Similarity values calculated during the spotting procedure are stored in the form of a similarity table so that redundant calculation is prevented.
0075The neighborhood searching unit 54 searches the neighborhood of the spotted cell to check whether the entire query phrase includes a portion matched with a portion of the current memo. When it is determined that a memo segment matched with a query phrase segment exists as a result of the spotting procedure performed by the spotting unit 53, that is, when a spotted cell is found in the spotting table, similarity values are calculated with respect to cells encountered when moving in diagonal directions from the spotted cell to the top and bottom of the spotting table and are recorded in the corresponding cells, respectively, in the form of color.
0076A diagonal direction indicates an upper left direction or a lower right direction. Moving in the upper left direction indicates a shift from a current cell having a coordinate value, e.g., (i, j), to a cell having a coordinate value (i-1, j-1). In other words, a query phrase segment previous to a current query phrase segment is compared with a memo segment previous to a current memo segment. Moving in the lower right direction indicates moving to a cell having a coordinate value (i+1, j+1) when a current cell has a coordinate value (i, j). That is, a query phrase segment next to the current query phrase segment is compared with a memo segment next to the current memo segment. Such above-described procedure is referred to as a neighborhood search.
0077For example, as shown in <figref idref="f0008">FIG. 10A</figref>, while moving in an upper left direction from a spotted cell (A), a similarity value is calculated at each encountered cell and recorded in the cell. Thereafter, while moving in a lower right direction from the spotted cell (A), a similarity value is calculated at each encountered cell and recorded in the cell.
0078Calculating similarities in a diagonal direction is performed on the premise that query phrase segments one-to-one correspond to memo segments. However, in an actual handwritten character, a single segment may include a plurality of phonemes, or a single phoneme may be recognized as a plurality of segments.
0079To solve these problems, it is preferable to extend a search range from a spotted cell based on similarity information and length information of each segment.
0080<figref idref="f0008">FIG. 10B</figref> illustrates an expansion search from a spotted cell. In a range framed in dotted-line, query phrase segments correspond to memo segments. Moving in a direction (a) from a spotted cell (B), that is, no expansion, indicates comparing a single query phrase segment with a single memo segment. Moving in a direction (b) from the spotted cell (B), i.e., horizontal expansion indicates comparing a single query phrase segment with a combination of two memo segments. Moving in a direction (c) from the spotted cell (B), i.e., vertical expansion indicates comparing a combination of two query phrase segments with a single memo segment.
0081Horizontal expansion is provided for a case where two phonemes in a query phrase are recognized as a single segment and a single phoneme in a memo is recognized as a single segment. Vertical expansion is provided for a case where a single phoneme in a query phrase is recognized as a single segment and two phonemes in a memo are recognized as a single segment.
0082In order to appropriately handle merged phonemes in handwriting, during a single-step expansion, possible cases of merged phonemes are tested. Among possible expansion results, a result having a highest similarity is detected and expansion is continued from the detected result using a best first search algorithm. The above-described operation is referred to as an expansion neighborhood search. When a two-step expansion (two expansions in the horizontal direction and two expansions in the vertical direction) is used as shown in <figref idref="f0008">FIG. 10B</figref>, three node candidates are present, and one node candidate having a highest similarity of the three node candidates is selected. When a three-step expansion is used, five node candidates may be present.
0083An algorithm shown in <figref idref="f0008">FIG. 10B</figref> can be expressed in the form of a tree as shown in <figref idref="f0009">FIG. 11</figref>. This search procedure is continued in the upper left direction and the lower right direction before the boundary of the spotting table is encountered. <figref idref="f0009">FIG. 11</figref> illustrates an example in which a search is performed in a lower right direction from a spotted cell. In <figref idref="f0009">FIG. 11</figref>, a single dotted quadrangle corresponds to a single elastic matching operation and is defined as a node. A single node may include one or more cells.
0084During such expansion neighborhood search, a degree of similarity may be calculated as follows. When a degree of similarity at a node (C) shown in <figref idref="f0009">FIG. 11</figref> is expressed as <maths id="math0010"><math display="inline"><msub><mi mathvariant="italic">C</mi><mrow><msub><mi mathvariant="italic">S</mi><mi mathvariant="italic">i</mi></msub><mo mathvariant="italic">,</mo><msub><mi mathvariant="italic">T</mi><msub><mi mathvariant="italic">j</mi><mi mathvariant="italic">i</mi></msub></msub></mrow></msub></math><img file="EP1564675B1_D0031.tif" /></maths> if a single segment of a query phrase is expanded as illustrated by (1), a degree of accumulated similarity can be calculated in a normalized form in proportional to a length of each segment as shown in Formula [1]. <maths id="math0011" num="[1]"><math display="block"><mfrac><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mi>i</mi></msub><mo>,</mo><msub><mi>T</mi><msub><mi mathvariant="italic">j</mi><mi>i</mi></msub></msub></mrow></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>,</mo><msub><mi>T</mi><msub><mi>j</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub></msub></mrow></msub></mrow><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub></mrow></mfrac></math><img file="EP1564675B1_D0032.tif" /></maths>
0085Here, <i>l<sub>i</sub></i> and <i>l</i><sub><i>i+</i>1</sub> respectively indicate a length of a query phrase segment used at a current node and a length of an expanded query phrase segment at a subsequent node, <maths id="math0012"><math display="inline"><msub><mi mathvariant="italic">C</mi><mrow><msub><mi mathvariant="italic">S</mi><mi mathvariant="italic">i</mi></msub><mo mathvariant="italic">,</mo><msub><mi mathvariant="italic">T</mi><msub><mi mathvariant="italic">j</mi><mi mathvariant="italic">i</mi></msub></msub></mrow></msub></math><img file="EP1564675B1_D0033.tif" /></maths> indicates a degree of similarity between an <i>i</i>-th segment in a query phrase and a <i>j<sub>i</sub></i>-th segment in a search object, i.e., a memo, and <maths id="math0013"><math display="inline"><msub><mi mathvariant="italic">C</mi><mrow><msub><mi mathvariant="italic">S</mi><mrow><mi mathvariant="italic">i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo mathvariant="italic">,</mo><msub><mi mathvariant="italic">T</mi><mrow><msub><mi mathvariant="italic">j</mi><mi mathvariant="italic">i</mi></msub><mo>+</mo><mn>1</mn></mrow></msub></mrow></msub></math><img file="EP1564675B1_D0034.tif" /></maths> indicates a degree of similarity between an (<i>i</i>+1)-th segment in the query phrase and a <i>j</i><sub><i>l</i>+1</sub>-th segment in the memo.
0086Similarly, when expansion is performed using two segments of the query phrase as illustrated by (2), a degree of accumulated similarity is calculated according to Formula [2]. <maths id="math0014" num="[2]"><math display="block"><mfrac><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mi>i</mi></msub><mo>,</mo><msub><mi>T</mi><msub><mi mathvariant="italic">j</mi><mi>i</mi></msub></msub></mrow></msub><mo>+</mo><mfenced><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>2</mn></mrow></msub></mfenced><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn><mo>∼</mo><mi>i</mi><mo>+</mo><mn>2</mn></mrow></msub><mo>,</mo><msub><mi>T</mi><msub><mi>j</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub></msub></mrow></msub></mrow><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>2</mn></mrow></msub></mrow></mfrac></math><img file="EP1564675B1_D0035.tif" /></maths>
0087Here, <i>l</i><sub><i>i</i>+2</sub> indicates a length of an expanded query phrase segment at a second subsequent node, and <maths id="math0015"><math display="inline"><msub><mi mathvariant="italic">C</mi><mrow><msub><mi mathvariant="italic">S</mi><mrow><mi mathvariant="italic">i</mi><mo>+</mo><mn>1</mn><mo>∼</mo><mi mathvariant="italic">i</mi><mo>+</mo><mn>2</mn></mrow></msub><mo mathvariant="italic">,</mo><msub><mi mathvariant="italic">T</mi><mrow><msub><mi mathvariant="italic">j</mi><mi mathvariant="italic">i</mi></msub><mo>+</mo><mn>1</mn></mrow></msub></mrow></msub></math><img file="EP1564675B1_D0036.tif" /></maths> indicates a degree of similarity between a combination of the (<i>i</i>+1)-th segment and an (<i>i</i>+2)-th segment in the query phrase and the <i>j</i><sub><i>i</i>+1</sub>-th segment in the memo.
0088Similarly, when expansion is performed using two segments of the query phrase as illustrated by (3), a degree of accumulated similarity is calculated according to Formula [3]. <maths id="math0016" num="[3]"><math display="block"><mfrac><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mi>i</mi></msub><mo>,</mo><msub><mi>T</mi><msub><mi mathvariant="italic">j</mi><mi>i</mi></msub></msub></mrow></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>⋅</mo><msub><mi>C</mi><mrow><msub><mi>S</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>,</mo><msub><mi>T</mi><mrow><mfenced><msub><mi>j</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub></mfenced><mo>∼</mo><mo>(</mo><msub><mi>j</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>+</mo><mn>1</mn><mo>)</mo></mrow></msub></mrow></msub></mrow><mrow><msub><mi>l</mi><mi>i</mi></msub><mo>+</mo><msub><mi>l</mi><mrow><mi>i</mi><mo>+</mo><mn>1</mn></mrow></msub></mrow></mfrac></math><img file="EP1564675B1_D0037.tif" /></maths>
0089Here, <maths id="math0017"><math display="inline"><msub><mi mathvariant="italic">C</mi><mrow><msub><mi mathvariant="italic">S</mi><mrow><mi mathvariant="italic">i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo mathvariant="italic">,</mo><msub><mi mathvariant="italic">T</mi><mfenced><msub><mi mathvariant="italic">j</mi><mrow><mi mathvariant="italic">i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>)</mo><mo>∼</mo><mo>(</mo><msub><mi mathvariant="italic">j</mi><mrow><mi mathvariant="italic">i</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>+</mo><mn>1</mn></mfenced></msub></mrow></msub></math><img file="EP1564675B1_D0038.tif" /></maths> indicates a degree of similarity between the (<i>i</i>+1)-th segment in the query phrase and a combination of the <i>j</i><sub><i>i</i>+1</sub>-th segment and a (<i>j</i><sub><i>l</i>+1</sub>+1)-th segment in the memo.
0090As such, among several possibilities for expansion results, a result having a highest similarity is detected and expansion is continued from the detected result using a best first search algorithm. For example, when searches are performed in directions (1), (2), and (3) as shown in <figref idref="f0009">FIG. 11</figref>, if the degree of accumulated similarity obtained in the search performed in the direction (1) is highest among results of performing searches up to the current point, a single-step expansion search from the search result obtained in the direction (1) is performed. When the accumulation similarity exceeds a predetermined threshold value, a search is not continued, but a search path is pruned, as illustrated by (3).
0091When a degree of accumulated similarity obtained after an expansion search procedure is performed until ends in search directions (i.e., the top and the bottom of the spotting table) are encountered, exceeds the threshold value, the search is stopped, and a portion corresponding to the path of the expansion search in the memo is selected as an optimal match portion.
0092However, when no path giving a degree of accumulated similarity exceeding the threshold value is found after the spotting procedure and the neighborhood search procedure, it may be concluded that a portion similar to the query phrase does not exist in the memo, or a path giving a greatest accumulated similarity among paths of neighborhood searches may be provided as a candidate.
0093When the above-described spotting method is used, a portion of a query phrase is sequentially compared with all portions of an entire memo. However, if additional information (hereinafter, referred to as meta information) that can be derived from actual handwriting information can be obtained, a search can be performed more quickly by comparing a portion of a query phrase with only a portion of a memo, i.e., a search object, that has characteristics agreeing with characteristics of a query phrase.
0094For example, character division information may be used as meta information. When input digital ink is to be divided into characters, result of the character division may not be 100% accurate, but highly accurate character division may be obtained using various types of information. Since this character division information is not exact, it cannot be used in a subsequent process but may be used to avoid insignificant comparison during the spotting procedure in an embodiment of the present invention.
0095<figref idref="f0009">FIG. 12</figref> illustrates a spotting method using character division information as meta information according to an embodiment of the present invention. As described above, in <figref idref="f0009">FIG. 12</figref>, each quadrangle defined by a row and a column indicates a degree of similarity between a portion of a query phrase and a portion of a memo.
0096When character division information is given as meta information, borders among characters can be marked like dashed dot line lines shown in <figref idref="f0009">FIG. 12</figref>. If the character division information is given as meta information, the operation (i.e., segment division) of the segment divider 51, the operation (i.e., search order determination) of the search order determiner 52, and the operation (i.e., spotting) of the spotting unit 53 will be changed.
0097More specifically, only segments corresponding to a start or an end portion of each character based on the character division information are used for spotting. For example, referring to <figref idref="f0009">FIG. 12</figref>, when a query phrase is divided into two characters, a total of start and end segments of the characters is 4. Accordingly, the search order of the four segments is determined based on information amount.
0098Next, a selective search is performed using the character division information. For example, when a current segment under spotting corresponds to a start portion of a character in the query phrase, the segment of the query phrase is compared with only segments corresponding to a start portion of each character in the memo. Similarly, when a current segment of the query phrase corresponds to an end portion of a character, the current segment of the query phrase is compared with only segments corresponding to an end portion of each character in the memo. Such comparison is illustrated by arrows in <figref idref="f0009">FIG. 12</figref>.
0099In another embodiment of the present invention, a character may be provisionally divided into segments, and based on topology information of a feature segment, only segments approximately located at a portion corresponding to the topology information of the feature segment may be compared with the feature segment. In case of English, a query phrase is provisionally divided into words, and division information may be used as meta information.
0100When a method using meta information is employed, search performance may be decreased. However, when this method is applied to users' various handwriting patterns, a search speed is remarkably increased compared to a slight decrease in search performance.
0101While exemplary embodiments of the present invention have been described above, it should be understood that they have been provided as examples only. Thus, those skilled in the art will recognize that the invention can be practiced with modification within the spirit and scope of the appended claims.
0102According to preferred embodiments of the present invention, when desired content is searched for in an existing memo or document by inputting a query phrase using a digital pen, an accurate result can be obtained quickly.
0103In addition, preferred embodiments of the present invention allow a user to quickly input information without a delay caused by a character recognition operation, thereby satisfying a user.
71 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10 Sheet 11 Sheet 12 Sheet 13 Sheet 14 Sheet 15 Sheet 16 Sheet 17 Sheet 18 Sheet 19 Sheet 20 Sheet 21 Sheet 22 Sheet 23 Sheet 24 Sheet 25 Sheet 26 Sheet 27 Sheet 28 Sheet 29 Sheet 30 Sheet 31 Sheet 32 Sheet 33 Sheet 34 Sheet 35 Sheet 36 Sheet 37 Sheet 38 Sheet 39 Sheet 40 Sheet 41 Sheet 42 Sheet 43 Sheet 44 Sheet 45 Sheet 46 Sheet 47 Sheet 48 Sheet 49 Sheet 50 Sheet 51 Sheet 52 Sheet 53 Sheet 54 Sheet 55 Sheet 56 Sheet 57 Sheet 58 Sheet 59 Sheet 60 Sheet 61 Sheet 62 Sheet 63 Sheet 64 Sheet 65 Sheet 66 Sheet 67 Sheet 68 Sheet 69 Sheet 70 Sheet 71
Every citation, both ways
| Document | Relation | Office |
|---|---|---|
| US5757959A | Cites | United States of America |
| US6275611B1 | Cites | United States of America |
| US6560360B1 | Cites | United States of America |
| Pattern Analysis and Applications Springer-Verlag UK, vol. 6, no. 2, 2003, pages 97-121, XP002325286 ISSN: 1433-7541 | Non-patent | – |
| IEEE Transactions on Pattern Analysis and Machine Intelligence IEEE Comput. Soc USA, vol. 19, no. 6, 1997, pages 623-633, XP002325287 ISSN: 0162-8828 | Non-patent | – |
11 members in 6 offices; this record represents the family
Priority claims2
| Document | Office | Kind | Date |
|---|---|---|---|
| 2004009862 | Republic of Korea | – | |
| 20040009862 | Republic of Korea | A |
Members11
| Document | Office | Kind | |
|---|---|---|---|
| CN1655147A | China | A | |
| EP1564675A1 | European Patent Office (EPO) | A1 | |
| US2005182760A1 | United States of America | A1 | |
| KR20050081555A | Republic of Korea | A | |
| JP2005228328A | Japan | A | |
| KR100587540B1 | Republic of Korea | B1 | |
| EP1564675B1This record | European Patent Office (EPO) | B1 | |
| CN100412861C | China | C | |
| DE602005008121D1 | Germany | D1 | |
| JP4308785B2 | Japan | B2 | |
| US7778464B2 | United States of America | B2 |
34 legal events, as 5 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Notification of lapseLapsedST | ST | FR | |
| Lapsed because of non-payment of the annual feeLapsedMM | MM | NL | |
| Gb: european patent ceased through non-payment of renewal feeCeasedGBPC | GBPC | EP | |
| Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal feeWithdrawnR119 | R119 | DE | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Fee paymentPLFP | PLFP | FR | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| No opposition filedOpposition26N | 26N | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Corresponds to:REF | REF | EP | |
| Designated contracting statesAK | AK | EP | |
| European patent grantedGrantedFG4D | FG4D | GB | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| Grant fee paidORIGINAL CODE: EPIDOSNIGR3GRAS | GRAS | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOSNIGR1GRAP | GRAP | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| First examination report despatched17Q | 17Q | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Designation fees paidAKX | AKX | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 1564675
- Application
- 52507936
Titles3
- German
- Anordnung und Verfahren zur Suche nach einer Anfrage in digitaler Tinte
- English
- Apparatus and method for searching for digital ink query
- French
- Appareil et procédé de recherche d'une requête en encre numérique
Classification
- CPC, 4
- G06F16/334
- G06V30/1423
- G06V30/333
- G06V30/148
- IPC, 5
- G06K9 22
- G06F17 30
- G06F3 041
- G06V30 224
- G06T7 00
Designated states6
- Contracting states, 6
- Germany
- Finland
- France
- United Kingdom
- Italy
- Netherlands (Kingdom of the)
