Title of Invention | METHOD AND SYSTEM FOR TEXT SEGMENTATION |
---|---|
Abstract | The present invention relates to methods and systems for text segmentation. In one such method and system, a string of characters is accessed by a means (120), at least one long token from the string of characters is determined by a means (122) wherein the long token is greater than or equal to a predetermined number of characters, contiguous characters in the long token is pinned down by the said means (122), tokens from the string of characters are determined by a means (124) by keeping the pinned down contiguous characters together, a plurality of potential combinations of tokens for the string of characters is determined by the said means (124), wherein number of combinations of tokens is reduced by the pinned down contiguous characters, a likelihood for each of the plurality of potential combinations of tokens is determined by the said means (124) based on frequencies with which tokens in the combinations of tokens occur, and one or more combinations of tokens with the highest likelihoods from the plurality of potential combination of tokens are used by said means (124) for further processing or for presentation to a user. |
Full Text | METHODS AND SYSTEMS FOR TEXT SEGMENTATION FIELD OF THE INVENTION [0001] The present invention relates generally to text segmentation and, more particularly, to segmenting strings of characters. BACKGROUND OF THE INVENTION [0002] Text processing methods and systems exist that attempt to interpret data representing text. Text processing is made more difficult when a string of characters is received that has no breaks indicating words or other tokens. One of the first steps in processing such strings of characters is to segment the string into tokens in order to interpret the string. Such tokens can be words, acronyms, abbreviations, proper names, geographical names, stock market ticker symbols or other tokens. [0003] Depending on the length of the string of characters, the number of possible combinations of tokens can be high. However, it is generally necessary to perform the segmentation process at a fast rate. [0004] An example of a short string of text is a domain name. A domain name can locate an organization or other entity on the Internet. For example, the domain name the World Wide Web. It is desirable to be able to process a domain name into tokens, so that the tokens can be interpreted. The reference Theeramunkong (XP002508135 Thanaruk Theeramunkong & Sasiporn Usanavasin, "Non dictionary based Thai word segmentation using decision trees" Human Language Technology Conference, Proceedings of the First International Conference on Human Language Technology Research, 18th March 2001 - 21st March 2001) is directed to a non-dictionary based Thai word segmentation using decision trees. A word segmentation method that uses a set of rules to combine contiguous characters to an inseparable unit (a Thai character cluster) and then applies a learned decision tree to combine these contiguous units to words. US62'69189 (Chanod) relates to a method of finding selected character strings by performing an automatic search of a text to find character strings that match any of a list of selected strings. The automatic search includes a series of iterations, each with a starting point in the text. Each iteration determines whether its starting point is followed by a character string that matches any of the list of selected strings and that ends at a probable string ending. Each iteration also finds a starting point for the next iteration that is a probable string beginning. SUMMARY OF THE INVENTION [0005] Embodiments of the present invention comprise systems and methods for text segmentation. Embodiments identify tokens in strings of text. One aspect of an embodiment of the present invention comprises accessing a string of characters, determining any long tokens, pinning down contiguous characters in the long token, and determining tokens from the string of characters by keeping the pinned down contiguous characters together, and deterrnining a plurality of combinations of tokens for the string of characters, wherein the number of combinations of tokens is reduced by the pinned down contiguous characters. Multiple long tokens can be determined and contiguous characters are pinned down in each long token. Additional aspects of the present invention are directed to computer systems and to computer-readable media having features relating to the foregoing aspects. BRIEF DESCRIPTION OF THE DRAWINGS [0006] These and other features, aspects, and advantages of the present invention are better understood when the following Detailed Description is read with reference to the accompanying drawings, wherein: [0007] FIG. 1 illustrates a block diagram of a system in accordance with one embodiment of the present invention; [0008] FIG. 2 illustrates a flow diagram of a method in accordance with one embodiment of the present invention; [0009] FIG. 3 illustrates a subroutine of the method shown in FIG. 2. [0010] The present invention comprises methods and systems for text segmentation, including methods and systems for identifying tokens in a string of characters. Reference will now be made in detail to exemplary embodiments of the invention as illustrated in the text and accompanying drawings. Those skilled in the art will recognize that many other implementations are possible, consistent with the present invention. The same reference numbers are used throughout the drawings and the following description to refer to the same or like parts. [0011] Various systems in accordance with the present invention may be constructed. FIG. 1 is a diagram illustrating an exemplary system in which exemplary embodiments of the present invention may operate. The present invention may operate, and be embodied in, other systems as well. [0012] The system 100 shown in FIG. 1 includes multiple client devices 102a-n, a server device 104, and a network 106. The network 106 shown includes the Internet. In other embodiments, other networks, such as an intranet may be used. Moreover, methods according to the present invention may operate in a single computer. The client devices 102a-n shown each include a computer-readable medium, such as a random access memory (RAM) 108 in the embodiment shown, coupled to a processor 110. [0013] The processor 110 executes a set of computer-executable program instructions stored in memory 108. Such processors may include a microprocessor, an ASIC, and state machines. Such processors include, or may be in communication with, media, for example computer-readable media, which stores instructions that, when executed by the processor, cause the processor to perform the steps described herein. [0014] Embodiments of computer-readable media include, but are not limited to, an electronic, optical, magnetic, or other storage or transmission device capable of providing a processor, such as the processor in communication with a touch-sensitive input device, with computer-readable instructions. Other examples of suitable media include, but are not limited to, a floppy disk, CD-ROM, magnetic disk, memory chip, ROM, RAM, an ASIC, a configured processor, all optical media, all magnetic tape or other magnetic media, or any other medium from which a computer processor can read instructions. Also, various other forms of computer-readable media may transmit or carry instructions to a computer, including a router, private or public network, or other transmission device or channel, both wired and wireless. The instructions may comprise code from any computer-programming language, including, for example, C, C++, C#, Visual Basic, Java, and JavaScript. [0015] Client devices 102a-n may also include a number of external or internal devices such as a mouse, a CD-ROM, a keyboard, a display, or other input or output devices. Examples of client devices 102a-n are personal computers, digital assistants, personal digital assistants, mobile phones, smart phones, pagers, digital tablets, laptop computers, a processor-based device and similar types of systems and devices. In general, a client device 102a-n may be any type of processor-based platform connected to a network 106 and that interacts with one or more application programs. The client devices 102a-n shown include personal computers executing a browser application program such as Internet Explorer™, version 6.0 from Microsoft Corporation, Netscape Navigator™, version 7.1 from Netscape Communications Corporation, and Safari™, version 1.0 from Apple Computer. [0016] Through the client devices 102a-n, users 112a-n can communicate over the network 106 with each other and with other systems and devices coupled to the network 106. As shown in FIG. 1, a server device 104 is also coupled to the network 106. [0017] The server device 104 shown includes a server executing a segmentation engine application program located in memory 118. Similar to the client devices 102a- n, the server device 104 shown includes a processor 116 coupled to a computer readable memory 118. Server device 104, depicted as a single computer system, may be implemented as a network of computer processors. Examples of a server device 104 are servers, mainframe computers, networked computers, a processor-based device and similar types of systems and devices. Client processors 110 and the server processor 116 can be any of a number of well known computer processors, such as processors from Intel Corporation of Santa Clara, California and Motorola Corporation of Schaumburg, Illinois. The server device 104 may also be connected to a database 126. [0018] The server device 104, or related device, can access the network 106 to receive strings of characters from other devices or systems connected to the network 106. Characters can include, for example, marks or symbols used in a writing system, including data representing a character, such as ASCII, ANSI, and EBCDIC or any other suitable character set. [0019] In one embodiment, the segmentation engine 120 segments a string of characters into potential combinations of tokens. A token can comprise a word, a proper name, a geographic name, an abbreviation, an acronym, a stock market ticker symbol, or other tokens. The segmentation engine 120 includes a long token processor 122 and a token processor 124. In the embodiment shown, each comprises computer code residing in the memory 118. The long token processor 122 matches known long tokens in a string of characters and pins down contiguous characters contained in the long token. The token processor 124 utilizes the pinned down characters to determine a list of possible combinations of tokens from the string of characters. In one embodiment, the token processor 124 determines a probability for each combination in the list. Other functions and characteristics of the long token processor 122 and the token processor 124 are further described below. [0020] Server device 104 also provides access to other storage elements, such as a token storage element, in the example shown a token database 120. The token database can be used to store tokens. Data storage elements may include any one or combination of methods for storing data, including without limitation, arrays, hashtables, lists, and pairs. Other similar types of data storage devices can be accessed by the server device 104. [0021] It should be noted that the present invention may comprise systems having different architecture than that which is shown in FIG. 1. For example, in some systems according to the present invention, the long token processor 122 may not be part of the segmentation engine 120 or may not be located on the same server device. The system 100 shown in FIG. 1 is merely exemplary, and is used to explain the exemplary method shown in FIGS. 2-3. [0022] Various methods in accordance with the present invention may be carried out One exemplary method according to the present invention comprises accessing a string of characters, determining at least one long token, pinning down contiguous characters in the long token, determining tokens from the string of characters by keeping the pinned down contiguous characters together, and determining a plurality of combinations of tokens for the string of characters, wherein the number of combinations of tokens is reduced by the pinned down contiguous characters. Multiple long tokens can be determined and contiguous characters are pinned down in each long token. The exemplary method can also further comprise deterrnining a likelihood or a probability for each combination and providing the combination with the highest likelihood. Combinations with the highest likelihoods can also be provided to other applications or alternatively a user can be provided with combinations having relative high likelihoods and be allowed to choose the desired combination. [0023] In one embodiment, the long token is greater than seven characters. The pinned down contiguous characters can be a set of characters from a second character of the long token to the next to the last character of the long token. [0024] In one embodiment, determining token comprises accessing adjacent characters until a match between a first group of adjacent characters and a first token is found, and storing the first token if it is determined that the first token contains none of the pinned down characters or if it is determined that the first token contains all of the pinned down contiguous characters for a long token. Determining tokens can also further comprise receiving a next adjacent character to provide a revised first group of adjacent characters, deterrnining if the revised first group matches with a token, if the revised group matches with a second token then storing the second token if it is determined that the second token contains none of the pinned down characters or if it is determined that the second token contains all of the pinned down contiguous characters for a long token, and if the revised group does not match with a token men receiving a second group of adjacent characters. The second group of adjacent characters can begin with a character after a last character of the first stored token or it can begin after a previously determined token break. In one embodiment, these steps in determining tokens are repeated until a plurality of combinations of tokens have been determined. [0025] FIG. 2 illustrates an exemplary method according to an embodiment of the present invention. This exemplary method is provided by way of example, as there are a variety of ways to carry out methods according to the present invention. The method 200 shown in FIG. 2 can be executed or otherwise performed by any of various systems. The method 200 is described below as carried out by the system 100 shown in FIG. 1 by way of example, and various elements of the system 100 are referenced in explaining the example method of FIG. 2. [0026] The method 200 shown provides a method for identifying tokens from a string of characters. Each block shown in FIG. 2 represents one or more steps carried out in the exemplary method 200. Referring to FIG. 2, in block 202, the example method 200 begins. Block 202 is followed by block 204, in which a string of characters is obtained by the segmentation engine 120. The string of characters can be obtained from a device connected to network 106, for example, or from another device. [0027] Block 204 is followed by block 206, in which the long token processor 122 determines any long tokens. A long token can be, for example, any token equal to or greater than eight characters. Any number of characters can be chosen as a long token. The long tokens can be received from token database 126, from a device connected to network 106, or from another device. The long token processor 122 attempts to match long tokens with adjacent characters in the string of characters, m one embodiment, the long token processor 122 may start with the first character of the string and attempt to match the next adjacent seven adjacent characters with a known long token. If no token is found with the first eight characters, the long token processor 122 can move down the string starting with the second character and the next adjacent seven characters and so on until the end of the string is reached. Multiple long tokens can be found for each string of characters. [0028] For example, for the string of characters '%ansformationofprobability', the long token processor 122 can start with the character "t" and the adjacent seven characters "ransfor". The long token processor 122 can determine that the characters "transfor" can potentially be matched to some long tokens, such as "transform" and "transformation". The long token processor 122 continues reading characters and attempting to match the characters. When, for example, the long token processor 122 receives the character "m", the processor would match the characters with the long token "transform". However, when the next character is received, "a", the long token processor 122 continues receiving characters attempting to determine if the characters can be matched to a larger token, such as "transformation". In the example given, the characters could be matched to the token "transformation". When the next character "o" is received, the long token processor 122 would be unable to match the characters "transformationo" with a long token, so it can determine that the first fourteen characters should be matched with the token "transformation" and proceed processing. The long token processor 122 would be unable to match the next two sets of eight characters beginning with "o" and "f to any long tokens. The long token processor 122 can then determine that the next group of characters "probabil" can be matched with a long token and would continue receiving characters. The long token processor 122 can then match the long token "probability" with the remaining characters in the string. [0029] Block 206 is followed by block 208, in which the long token processor pins down characters in the determined long tokens. By pinning the characters down, the long token processor 122 signifies that the characters should be used together in a single token. By pinning down characters of the long tokens of a text string the number of possible combinations of tokens in the text string is reduced, thereby, increasing the speed of the process. The long token processor 122 pins down contiguous characters in the center of a determined long token. In one embodiment, the long token processor 122 pins down all the characters in a determined long token except a character at each end of the token. In the example above, for example, the long token processor can pin down the characters "ransformatio" of the determined long token "transformation" and can pin down the characters "robabilit" of the determined long token "probability". Alternatively, the long token processor 122 can leave two or three characters unpinned at the each end of a determined long token. In the described embodiment, characters are left unpinned at the ends of a token to avoid pinning down characters that appear to be a prefix or suffix of the long token, but are actually part of another token. [0030] Block 208 is followed by block 210, in which the potential combinations of tokens are determined by the token processor 124. The long token processor 122 transfers to the token processor 124 any pinned down characters determined in block 208. The token processor 124 matches the string of characters to multiple tokens while considering any pinned down characters. The subroutine 210 continues until all potential token combinations have been identified and a list of all potential combinations of tokens is created. In one embodiment, the token processor 124 can "cut" one or more adjacent characters that it cannot match to a token in a particular combination. By cutting one or more adjacent characters, the cut characters are removed from consideration for matching with a token for a particular combination of tokens. For example, for the string of characters "formeheart" where the cutting of characters (represented with an "x") is permitted, the list of potential combinations of tokens may comprise: "for the heart", "fort heart", "fort he art", and "for x heart". [0031] FIG. 3 illustrates a subroutine 210 for carrying out the method 200 shown in FIG. 2. The subroutine 210 determines potential combinations of tokens for the string of characters. An example of the subroutine is as follows. [0032] The subroutine begins at block 300. In block 300 a group of adjacent characters is received or accessed by the token processor 124. In one embodiment, at least two characters are received. Alternatively, one character can be received. In one embodiment, the token processor 124 begins at one end of the string of characters and works its way through the multiple potential paths of tokens for the string until all of the multiple possibilities of combinations of tokens for the string have been determined. [0033] Block 300 is followed by block 303, in which the token processor 122 determines if the received characters match to any token paths. In one embodiment, the tokens are stored in a tree-like structure where, for example, each character is at the top of the tree and each step down the tree adds a character of a token. For the token "apple", for example, "a" is at the top of the tree, followed by "p" the next step down, followed by "p" the next step down, followed by "1" the next step down, and followed by "e" the next step down. At each step down, the tree can branch off to other paths that form various other tokens. For example, for the token "applied", the token path is the same as "apple" for the characters "appl" and then branches to "i", then "e", and then "d" for "applied" instead of "e" for apple. One example of such a tree-like structure is a Ternary Tree. If in block 300, for example, the characters "tra" are received, at block 302 the token processor 122 can determine that at least one token path exists that begins with the characters "tra". In one embodiment, if only two characters are received, the token processor 124 attempts to match these two characters with a limited number of two letter tokens and does not attempt to match two characters with a token path. [0034] If the characters processed in block 302 do not match to any token paths, then the token processor returns to block 300 and receives a new set of adjacent characters. For example, if the characters "12d" are received and these characters do not match to any token path, meaning that no tokens begin with the characters "12d," the token processor returns to block 300 and receives a new group of adjacent characters. This can be, for example, the group starting with "2d". Subroutine 210 can be a recursive loop, such that the next set of adjacent characters can begin from any number of places in the string, such as the next character after the end of a found token. All potential token paths can be followed to determine all combinations of tokens that can be formed from the characters in the string. The number of combinations of tokens is reduced by pinning down the characters in long tokens. [0035] If a token path is determined to exist in block 302, then in block 304 the token processor 124 determines if the group of characters match to a token. For example, if the characters "tra" have been received, the token processor determines whether a token exists for "tra". [0036] If a token is not determined to exist in block 304, then in block 306 the next adjacent character is received by the token processor 124 to form a revised group of adjacent characters. The token processor 124, then can determine if the revised group matches any token paths in block 302. For the example, "transformationofprobability" after the characters "tra" are received the next adjacent character is "n" and the token processor 124 determines if "tran" matches a token path or paths. In this example, it does match several paths and the loop continues until a token is determined. For example, the loop continues until all of the characters "transform" are received, because, for example, "transform" is a token. [0037] After a token is determined in block 304, the token processor 124 next determines whether any of the characters are pinned down. If none of the received characters are pinned down, then the token processor 124 notes the potential token break, receives the next adjacent character, and continues at block 302. [0038] If the token processor 124 determines that some of the characters have been pinned down in block 308, the token processor 124 then determines in block 310 whether all pinned down contiguous characters have been received. In the example above for "transformationofprobability" where the characters "transformation" are received, the token processor 124 determines that all of the adjacent pinned down characters have been received. If only the characters "trans" are received, for example, the token processor 124 determines that not all of the adjacent pinned down characters have been received. By not allowing tokens to be formed (or token breaks to occur) within the adjacent pinned down characters, the number of combinations of tokens for the character string can be greatly reduced. [0039] If all adjacent pinned down characters have been received, the token processor 124 stores the token in block 312. The token processor then receives the next adjacent character in block 306 and continues the recursive loop at block 302. [0040] If all adjacent pinned down characters have not been received, the token processor 124 receives the next adjacent character in block 306 and continues the recursive loop at block 302. In one embodiment, the determination of whether all adjacent pinned down characters have been received is not determined until after the next adjacent character is received. For example, if the characters "transform" are received, the token processor can note the potential token break. However, when the next adjacent character "a" is received and it is determined that this character has been pinned down, the potential token break after "transform" can be disregarded. When the remaining characters of "transformation" are received "transformation" is stored as a token. Alternatively, a potential token break after "transformation" can be stored instead of storing the token. [0041]' After a known complete token is stored, the next adjacent character is received in block 306 and the token processor 124 continues with subroutine 210 at block 302. When a match with tokens is not found, the token processor 124 receives a new group of adjacent characters. In one embodiment, for example, the new group of adjacent characters can begin with the character after the last character of the smallest previously identified token. So that all potential token paths are explored and all potential combinations of tokens for the string are identified and a list of all potential token combinations is compiled. [0042] Referring again to FIG. 2, block 210 is followed by block 212, in which the likelihood or probability for each combination in the list is determined by the token processor 124. In one embodiment, the likelihood of each combination is based on the frequency of the tokens in the combination. The frequency of tokens can be predetermined from an analysis of the World Wide Web. The frequency of each token in a combination can be multiplied together and then biased based on the number of words in the combination. Cut characters can be given a low likelihood. [0043] The combination or combinations with the highest likelihood can then be used in further processing or passed on to a user, for example, depending on the application. Alternatively, a plurality of the top combinations based on likelihood can be presented to a user and the user can select the desired combination. [0044] The present invention can be used in a variety of applications where the segmentation of text, such as a domain name, is needed. For example, the present invention can be used with a domain name advertising product on the Internet. If a user enters a domain name for a non-existing website, the segmentation engine can be used to segment the domain name entered, so that a website or advertisement relevant to the entered text can be presented to the user. Similarly, the present invention can be used to segment an entered domain name so that advertising relevant to the domain name can be displayed to the user. The present invention can also be used when a user desires to purchase a domain name, but the domain name is unavailable. The segmentation engine can segment the entered domain name and this information can be used to suggest other similar domain names that are available. [0045] While the above description contains many specifics, these specifics should not be construed as limitations on the scope of the invention, but merely as exemplifications of the disclosed embodiments. Those skilled in the art will envision many other possible variations that are within the spirit and scope of the invention as described above and defined in the following claims. We Claim: 1. A method of text segmentation, said method comprising: accessing by a means (120) a string of characters; determining by a means (122) at least one long token from the string of characters, wherein the long token is greater than or equal to a predetermined number of characters; pinning down by the said means (122) contiguous characters in the long token; determining by a means (124) tokens from the string of characters by keeping the pinned down contiguous characters together; characterized in that: determining by the said means (124) a plurality of potential combinations of tokens for the string of characters, wherein the number of combinations of tokens is reduced by the pinned down contiguous characters; determining by the said means (124) a likelihood for each of the plurality of potential combinations of tokens based on frequencies with which tokens in the combinations of tokens occur; and using by the said means (124) one or more combinations of tokens with the highest likelihoods from the plurality of potential combination of tokens for further processing or for presentation to a user. 2. The method as claimed in claim 1, wherein multiple long tokens are determined, contiguous characters are pinned down in each long token, and determining tokens comprises keeping the pinned down contiguous characters together for each long token. 3. The method as claimed in claim 1, wherein determining tokens comprises: (a) accessing adjacent characters until a match between a first group of adjacent characters and a first token is found; and (b) storing the first token if it is determined that the first token contains none of the pinned down characters or if it is determined that the first token contains all of the pinned down contiguous characters. 4. The method as claimed in claim 3, wherein determining tokens further comprises: (c) accessing a next adjacent character to provide a revised first group of adjacent characters; (d) determining if the revised first group matches with a token; (e) storing a second token if the revised first group matches with the second token and if it is determined that the revised first group contains none of the pinned down characters or if it is determined that the revised first group contains all of the pinned down contiguous characters for the long token; and (f) receiving a second group of adjacent characters if the revised first group does not match with a token. 5. The method as claimed in claim 4, wherein steps (a) through (f) are repeated until the plurality of potential combinations of tokens have been determined. 6. The method as claimed in claim 4, wherein the second group of adjacent characters begins with a character after a last character of the first stored token. 7. The method as claimed in claim 1, wherein the pinned down contiguous characters is a set of contiguous characters from a second character of the long token to the next to the last character of the long token. 8. The method as claimed in claim 1, wherein frequencies with which tokens in the combinations of tokens occur is determined based on analysis of the World Wide Web. 9. The method as claim in claim 1, wherein the plurality of potential combinations of tokens are determined using tokens that are stored in a tree-like structure where each character is at a top of a tree and each step down the tree adds a character of a token. 10. The method as claimed in claim 9, wherein the plurality of potential combinations of tokens are determined based on characters in the string of characters matching to token paths in the tree-like structure. 11. The method as claimed in claim 9, wherein the tree-like structure comprises a ternary tree. 12. A system for text segmentation, said system comprising: a means (120) for accessing a string of characters; a means (122) for determining at least one long token from the string of characters, wherein the long token is greater than or equal to a predetermined number of characters; the said means (122) for pinning down contiguous characters in the long token; a means (124) for determining tokens from the string of characters by keeping the pinned down contiguous characters together; the said means (124) for determining a plurality of potential combinations of tokens for the string of characters, characterized in that: wherein the number of combinations of tokens is reduced by the pinned down contiguous characters; the said means (124) for determining a likelihood for each of the plurality of potential combinations of tokens based on frequencies with which tokens in the combinations of tokens occur; and the said means (124) for using one or more combinations of tokens with the highest likelihoods from the plurality of potential combination of tokens for further processing or for presentation to a user. 13. The system as claimed in claim 12, wherein multiple long tokens are determined, contiguous characters are pinned down in each long token, and determining tokens comprises keeping the pinned down contiguous characters together for each long token. 14. The system as claimed in claim 12, wherein the means for determining tokens is configured to: (a) access adjacent characters until a match between a first group of adjacent characters and a first token is found; and (b) store the first token if it is determined that the first token contains none of the pinned down characters or if it is determined that the first token contains all of the pinned down contiguous characters. 15. The system as claimed in claim 14, wherein the means for determining tokens is further configured to: (c) access a next adjacent character to provide a revised first group of adjacent characters; (d) determine if the revised first group matches with a token; (e) store a second token if the revised first group matches with the second token and if it is determined that the revised first group contains none of the pinned down characters or if it is determined that the revised first group contains all of the pinned down contiguous characters for the long token; and (f) receive a second group of adjacent characters if the revised first group does match with a token. 16. The system as claimed in claim 15, wherein the means for determining tokens is configured to repeat steps (a) through (f) until the plurality of potential combinations of tokens have been determined. 17. The system as claimed in claim 15, wherein the second group of adjacent characters begins with a character after a last character of the first stored token. 18. The system as claimed in claim 12, wherein the pinned down contiguous characters is a set of contiguous characters from a second character of the long token to the next to the last character of the long token. 19. The system as claimed in claim 12, wherein frequencies with which tokens in the combinations of tokens occur is determined based on analysis of the World Wide Web. 20. The system as claim in claim 12, wherein the plurality of potential combinations of tokens are determined using tokens that are stored in a tree-like structure where each character is at a top of a tree and each step down the tree adds a character of a token. 21. The system as claimed in claim 20, wherein the plurality of potential combinations of tokens are determined based on characters in the string of characters matching to token paths in the tree-like structure. 22. The system as claimed in claim 20, wherein the tree-like structure comprises a ternary tree. The present invention relates to methods and systems for text segmentation. In one such method and system, a string of characters is accessed by a means (120), at least one long token from the string of characters is determined by a means (122) wherein the long token is greater than or equal to a predetermined number of characters, contiguous characters in the long token is pinned down by the said means (122), tokens from the string of characters are determined by a means (124) by keeping the pinned down contiguous characters together, a plurality of potential combinations of tokens for the string of characters is determined by the said means (124), wherein number of combinations of tokens is reduced by the pinned down contiguous characters, a likelihood for each of the plurality of potential combinations of tokens is determined by the said means (124) based on frequencies with which tokens in the combinations of tokens occur, and one or more combinations of tokens with the highest likelihoods from the plurality of potential combination of tokens are used by said means (124) for further processing or for presentation to a user. |
---|
Patent Number | 252156 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Indian Patent Application Number | 1402/KOLNP/2006 | ||||||||
PG Journal Number | 18/2012 | ||||||||
Publication Date | 04-May-2012 | ||||||||
Grant Date | 30-Apr-2012 | ||||||||
Date of Filing | 24-May-2006 | ||||||||
Name of Patentee | GOOGLE INC. | ||||||||
Applicant Address | 1600 AMPHITHEATRE PARKWAY, MOUNTAIN VIEW, CALIFORNIA 94043, UNITED STATES OF AMERICA | ||||||||
Inventors:
|
|||||||||
PCT International Classification Number | G06K 9/72 | ||||||||
PCT International Application Number | PCT/US2003/041609 | ||||||||
PCT International Filing date | 2003-12-30 | ||||||||
PCT Conventions:
|