1. Field of the Invention
The present disclosure relates to computerized analysis of documents, and in particular, to identifying clusters of similar documents from among a set of documents.
2. Background Information
Rapid growth in the quantity of unstructured electronic text has increased the importance of efficient and accurate document clustering. By clustering similar documents, users can explore topics in a collection without reading large numbers of documents. Organizing search results into meaningful flat or hierarchical structures can help users navigate, visualize, and summarize what would otherwise be an impenetrable mountain of data.
Hierarchical (agglomerative and divisive) clustering methods are known. Hierarchical agglomerative clustering (HAC) starts with the documents as individual clusters and successively merges the most similar pair of clusters. Hierarchical divisive clustering (HDC) starts with one cluster of all documents and successively splits the least uniform clusters. A problem for all HAC and HDC methods is their high computational complexity (O(n2) or even O(n3)), which makes them unscaleable in practice.
Partitional clustering methods based on iterative relocation are also known. To construct K clusters, a partitional method creates all K groups at once and then iteratively improves the partitioning by moving documents from one group to another in order to optimize a selected criterion function. Major disadvantages of such methods include the need to specify the number of clusters in advance, assumption of uniform cluster size, and sensitivity to noise.
Density-based partitioning methods for clustering are also known. Such methods define clusters as densely populated areas in a space of attributes, surrounded by noise, i.e., data points not contained in any cluster. These methods are targeted at primarily low-dimensional data.
Despite these and other clustering approaches known from the literature, efficient and accurate document clustering of large collections of documents remains a challenging task.
It is an object of the invention to produce precise, meaningful clusters of similar documents.
It is another object of the invention to be able to cluster large collections of documents in a reasonable time.
It is another object of the invention to be able to generate a meaningful label, summary or other type of cluster content identifier that describes the content of a cluster.
According to one aspect, an exemplary method for identifying clusters of similar documents from among a set of documents comprises: (a) selecting a particular document from among available documents of the set of documents; (b) generating a probe based on the particular document, the probe comprising one or more features; (c) finding documents that satisfy a similarity condition using the probe from among the available documents; and (d) associating the documents that satisfy the similarity condition with a particular cluster of documents. The method also comprises repeating steps (a)-(d) using another probe as the probe and using another similarity condition as the similarity condition until a halting condition is satisfied to identify at least one other cluster of documents. Documents of the set of documents previously associated with a cluster of documents are not included among the available documents.
According to another aspect an apparatus comprises a memory and a processor coupled to the memory, wherein the processor is configured to execute the above-noted method.
According to another aspect, a computer readable carrier comprises processing instructions adapted to cause a processor to execute the above-noted method.
A document as referred to herein includes text containing one or more strings of characters and/or other distinct features embodied in objects such as, but not limited to, images, graphics, hyperlinks, tables, charts, spreadsheets, or other types of visual, numeric or textual information. For example, strings of characters may form words, phrases, sentences, and paragraphs. The constructs contained in the documents are not limited to constructs or forms associated with any particular language. Exemplary features can include structural features, such as the number of fields or sections or paragraphs or tables in the document; physical features, such as the ratio of “white” to “dark” areas or the color patterns in an image of the document; annotation features, the presence or absence or the value of annotations recorded on the document in specific fields or as the result of human or machine processing; derived features, such as those resulting from transformation functions such as latent semantic analysis and combinations of other features; and many other features that may be apparent to ordinary practitioners in the art.
Also, a document for purposes of processing can be defined as a literal document (e.g., a full document) as made available to the system as a source document; sub-documents of arbitrary size; collections of sub-documents, whether derived from a single source document or many source documents, that are processed as a single entity (document); and collections or groups of documents, possibly mixed with sub-documents, that are processed as a single entity (document); and combinations of any of the above. A sub-document can be, for example, an individual paragraph, a predetermined number of lines of text, or other suitable portion of a full document. Discussions relating to sub-documents may be found, for example, in U.S. Pat. Nos. 5,907,840 and 5,999,925, the entire contents of each of which are incorporated herein by reference.
In the example of
At step 104, a probe P is generated based on the particular document S. The probe can comprise one or more features and can be generated in any suitable manner. For example, the probe can comprise the document S itself, e.g., the terms from the text of the document S, possibly combined with any other features of the document S such as described elsewhere herein. As another example, the probe can comprise a subset of features selected from the particular document S, such as a weighted (or non-weighted) combination of features (e.g., terms) of the particular document S. As another example, the probe can comprise a subset of features selected from multiple documents (including the particular document S), such as a weighted (or non-weighted) combination of features (e.g., terms) of the multiple documents.
As a general matter forming a suitable probe based on one or more documents can be accomplished by identifying features of the document(s), scoring the features, and selecting certain features (possibly all) based on the scores. Stated differently, probe formation can be viewed as a process that creates a probe P from a document set {D} (one or more documents) using a method M that specifies how to identify or features in documents and how to score or weight such terms or features, wherein the probe satisfies a test T that determines whether the probe should be formed at all and, if so, which features or terms the probe should include. Identifying distinct features of a document (or documents) and selecting all or a subset of such features for forming a probe is within the purview of ordinary practitioners in the art. For example, parsing document text to identify phrases of specified linguistic type (e.g., noun phrases), identifying structural features (such as the number of fields or sections or paragraphs or tables in the document), identifying physical features (such as the ratio of “white” to “dark” areas or the color patterns in an image of the document), identifying annotation features, including the presence or absence or the value of annotations, are all known in the art. Once such features are identified they can be scored using methods known in the art. One example is simply to count the number occurrences of a given identified feature, and to normalize each number of occurrences to the total number of occurrences of all identified features, and to set the normalized value to be the score of that feature. Depending upon the scores of the identified features, it may be decided not to form the probe at all based upon a given document or documents (e.g., because all of the scores or a combination of the scores fall below a threshold). Selection of a subset of features can be done, for example, by selecting those features that score above a given threshold (e.g., above the average score of the identified features) or by selecting a predetermined number (e.g., 10, 20, 50, 100, etc.) of highest scoring features. Other examples could be used as will be appreciated by ordinary practitioners in the art. Once the subset of features is selected, those features can be weighted, if desired, by renormalizing the number of occurrences a given feature to the total number of occurrences for the features of the subset, thereby providing a probe.
As suggested above, one exemplary subset of features (from one document or from multiple documents) to use as a probe can be a term profile of textual terms, such as described, for example, in U.S. Patent Application Publication No. 2004/0158569 to Evans et al., filed Nov. 14, 2003, the entire contents of which are incorporated herein by reference. One exemplary approach for generating a term profile is to parse the text and treat any phrase or word in a phrase of a specified linguistic type (e.g., noun phrase) as a feature. Such features or index terms can be assigned a weight by one of various alternative methods known to ordinary practitioners in the art. As an example, one method assigns to a term “t” a weight that reflects the observed frequency of t in a unit of text (“TF”) that was processed times the log of the inverse of the distribution count of t across all the available units that have been processed (“IDF”). Such a “TF-IDF” score can be computed using a document as a processing unit and the count of distribution based on the number of documents in a database in which term t occurs at least once. For any set of text (e.g., from one document or multiple documents) that might be used to provide features for a profile, the extracted features may derive their weights by using the observed statistics (e.g., frequency and distribution) in the given text itself. Alternatively, the weights on terms of the set of text may be based on statistics from a reference corpus of documents. In other words, instead of using the observed frequency and distribution counts from the given text, each feature in the set of text may have its frequency set to the frequency of the same feature in the reference corpus and its distribution count set to the distribution count of the same feature in the reference corpus. Alternatively, the statistics observed in the set of text may be used along with the statistics from the reference corpus in various combinations, such as using the observed frequency in the set of text, but taking the distribution count from the reference corpus. The final selection of features from example documents may be determined by a feature-scoring function that ranks the terms. Many possible scoring or term-selection functions might be used and are known to ordinary practitioners of the art. In one example, the following scoring function, derived from the familiar “Rocchio” scoring approach, can be used:
Here the score W(t) of a term “t” in a document set is a function of the inverse document frequency (IDF) of the term t in the set of documents (or sub-documents), or in a reference corpus, the frequency count TFD of t in a given document D chosen for probe formation, and the total number of documents (or sub-documents) Np chosen to form the probe, where the sum is over all the documents (or sub-documents) chosen to form the probe. IDF is defined as
IDF(t)=log2(N/nt)+1
where N is the count of documents in the set and nt is the count of the documents (or sub-documents) in which t occurs.
Once scores have been assigned to features in the document set, the features can be ranked and all or a subset of the features can be chosen to use in the feature profile for the set. For example, a predetermined number (e.g., 10, 20, 50, 100, etc.) of features for the feature profile can be chosen in descending order of score such that the top-ranked terms are used for the feature profile.
At step 106, documents are found that satisfy a similarity condition using the probe P from among the available documents. These documents can be referred to as “similar documents” for convenience. In this regard, a measure of the closeness or similarity between the probe and another document(s) (similarity score) can be generated using a suitable process (referred to as a similarity process for convenience), and the measure of closeness can be evaluated to determine whether it satisfies a similarity condition, e.g., meets or exceeds a predetermined threshold value. The threshold could be set at zero, if desired, i.e., such that documents that provide any non-zero similarity score are considered similar, or the threshold can be set at a higher value. As with other thresholds described herein generally, determining an appropriate threshold for a similarity score is within the purview of ordinary practitioners in the art and can be done, for example, by running the similarity process on sample or reference document sets to evaluate which thresholds produce acceptable results, by evaluating results obtained during execution of the similarity and making any needed adjustments (e.g., using feedback based on the number of similar documents identified is considered sufficient), or based on experience. As referred to herein, similarity can be viewed as a measure of the closeness or similarity between a reference document or probe and another document or probe. A similarity process can be viewed as a process that measures similarity of two vectors. In addition, the similarity scores of the responding documents can be normalized, e.g., to the similarity score of the highest scoring documents of the responding documents, and by other suitable methods that will be apparent to those of ordinary practitioners in the art.
It will be appreciated that the document S can be one of the available documents such that the document S is among those “searched” using the probe at step 106. Alternatively, since the probe is based, at least in part, on the document S, it is not necessary to include document S in a search using the probe, since it can be assumed that document S will be one of the documents in the particular cluster that is formed. Both of these possibilities are intended to be embraced by the language herein “finding documents that satisfy a similarity condition using the probe from among the available documents” or similar language.
Various methods for evaluating similarity between two vectors (e.g., a probe and a document) are known to ordinary practitioners in the art. In one example, described in U.S. Patent Application Publication No. 2004/0158569, a vector-space-type scoring approach may be used. In a vector-space-type scoring approach, a score is generated by comparing the similarity between a profile (or query) Q and the document D and evaluating their shared and disjoint terms over an orthogonal space of all terms. Such a profile is analogous to a probe referred to above. For example, the similarities score can be computed by the following formula (though many alternative similarity functions might also be used, which are known in the art):
where Qi refers to terms in the profile and Dj refers to terms in the document. Evaluating the expression above (or like expressions known in the art) provides a numerical measure of similarity (e.g., expressed as a decimal fraction). Then, as noted above, such a measure of similarity can be evaluated to determine whether it satisfies a similarity condition, e.g., meets or exceeds a predetermined threshold value. Thus, it will be appreciated that the similar documents found at step 206 can have scores that allow them to be ranked in terms of similarity to the probe P.
At step 108, some or all of the documents that satisfy the similarity condition (similar documents) are associated with a particular cluster of documents. The association can be done, for example, by recording the status of the documents that satisfy the similarity condition in the same database that stores the set of documents, or in a different database, using, for example, appropriate pointers, marks, flags or other suitable indicators. For example, a list of the titles and/or suitable identification codes for the set documents can be stored in any suitable manner (e.g., a list), and an appropriate field in the database can be marked for a given document identifying the cluster to which it belongs, e.g., identified by cluster number and/or a suitable descriptive title or label for the cluster. The documents of the cluster could also be recorded in their own list in the database, if desired. It will be appreciated that it is not necessary to record or store all of the contents of the documents themselves for purposes of association with the cluster; rather, the information used to associate certain documents with certain clusters can contain a suitable identifier that identifies a given document itself as well as the cluster to which it is associated, for example. It is possible that the particular cluster may contain only the similar documents, or it is possible that the particular cluster may also contain additional documents beyond the similar documents (e.g., if it was known that at least some other documents should be associated with the cluster prior to initiating the method 100). This aspect is applicable for clusters identified by any of the exemplary approaches disclosed herein.
As noted above, just some as opposed to all of the similar documents identified at step 106 can be associated with a cluster. Identifying some, as opposed to all of the similar documents, can be accomplished using a variety of approaches. For example, a predetermined percentage of the top scoring similar documents may be identified (e.g., top 80%, top 70%, top 60%, top 50%, top 40%, top 30%, top 20%, etc.), wherein it will be appreciated that the scores of the similar documents can be determined at step 106. It will be appreciated that other approaches for identifying a subset of the similar document for association with a cluster can also be used.
At step 110, it is determined whether a halting condition is satisfied. For example, the method 100 could be halted after the entire set of documents is clustered, after a predetermined number of clusters has been created, after a predetermined percentage of the documents in the set of documents has been clustered, after a predetermined number of clusters of a minimum predetermined size has been created, or after a predetermined time interval has been exceeded. Other conditions can also be used as will be appreciated by ordinary practitioners in the art. If the halting condition is not satisfied (i.e., clustering should continue), steps 102-108 are repeated to form at least one other cluster. In this regard, another probe is generated from a different document S, and another similarity condition is utilized to find similar documents for a new cluster. The other similarity condition of the next iteration can be the same as the previous similarity condition, or it can be different from the previous similarity condition. It can be desirable to change (e.g., raise or lower) the similarity condition as iterations proceed to compensate for the removal of documents associated with previous iterations of clustering. Also, at each iteration of cluster formation, the status of which documents are “available” can be updated so that documents associated with a cluster are no longer considered available documents.
If desired, similar documents of a given cluster can be ranked (e.g., listed in ranked order in a database) as the given cluster is identified. Finding the similar documents using methods that generate scores or weights, such as discussed above, can automatically provide ranking information. Also, the method 100 can comprise providing an identifier (referred to as a “content identifier” for convenience) that describes the content of a given cluster. For example, the title of the highest ranking document of a given cluster could be used as the content identifier. As another example, all or some terms (or description of features) of the probe could be used as the content identifier, or all or some terms of a new probe generated from multiple close documents that satisfy another similarity condition could be used as the content identifier. These aspects apply to the other exemplary methods disclosed herein as well.
Also, as noted above, the document S can be selected from a list of candidate documents (e.g., a ranked list). Another exemplary method for generating such a ranked list can be based upon multiple queries over the set of documents. In particular, for all or some of the documents in the set of documents, a query can be executed using a probe formed from that document over the set of documents, yielding a list of responsive documents ranked according to their similarity scores. For each set of responsive documents, a collective score of the responsive documents can be generated, e.g., by summing the scores of each responsive document, or by calculating the average response score, etc. This collective score can then be associated with the particular document whose probe produced a given set of responsive documents. Those collective scores can then be ranked and normalized against the highest collective score. Then, those documents with associated collective scores above a predetermined threshold can be selected as a set of candidate documents from which to form clusters of documents, wherein individual documents S can be selected from the candidate documents beginning with the highest ranking of the candidate documents and proceeding to lower ranking candidate documents.
According to another aspect of the invention,
At step 208, the document S is scored. The scoring of S can be labeled a “seed score” for convenience and is a measure of an object density in the neighborhood of the probe P, which is based, at least in part, on the document S. The seed score can be determined in variety of ways. As one example, the seed score can be the normalized sum of the similarity scores of all of the similar documents. As another example, the seed score can be the normalized sum of the similarity scores of a certain top-ranking number or percentage of the similar documents. As a further example, the seed score can be the number of documents that are “close” to the probe based on another more stringent similarity condition (“closeness condition”). For example, if the similar documents were considered to be those documents with similarity scores relative to the probe P above a predetermined threshold t1, the close documents could be those with similarity scores above a predetermined threshold t2, where t2>t1 . As another example, if the similar documents were considered to be those documents with similarity scores above the mean similarity score of the similar documents, the close documents could be those with similarity scores above a threshold that is a predetermined amount or predetermined percentage above the mean similarity score of the similar documents. As mentioned previously herein, determining appropriate thresholds is within the purview of an ordinary practitioner in the art. Of course any other suitable closeness condition can be used to place a greater similarity requirement on the close documents relative to the probe as compared to the similar documents, as will be appreciated by ordinary practitioners in the art. In any event, as one example, the number of close documents—those that meet or exceed a closeness condition (or that number divided by the number of similar documents)—can be used as the seed score. Other types of seed scores can also be used as will be appreciated by ordinary practitioners in the art. Since the similar documents found at step 206 of
At step 210, the document S is marked as “used” or is flagged in any other suitable manner to indicate that the document S is being evaluated as a potential seed document so that it need not be evaluated later as a potential seed document, regardless of whether it is accepted or rejected as a seed document (step 210 could occur at a different location in the ordering of steps). At step 212, the document S is tested to see whether a selection condition (referred to as a “seed selection condition” for convenience) is satisfied. A document is considered a good seed document if it is situated in a dense enough area of the set of documents under consideration and, hence, can be successfully used to initiate cluster formation. As examples, the seed selection condition can be that the potential seed has at least a predetermined number of close documents (described above), or that the seed score for the potential seed is above a given threshold, or that the seed score is above the average seed score of all seeds in a list of other seed documents (referred to as a “seed list” for convenience, which will be described later). Other suitable seed selection conditions could also be used as will be appreciated by ordinary practitioners in the art. If the seed selection condition is not satisfied, the process proceeds again to step 202, where another document S is selected, and the remaining steps are repeated. If the seed selection condition is satisfied, the document S is considered a “good seed,” and the process proceeds to “Step B” of either FIGS. 4 or 6, which describe exemplary approaches for cluster identification (also referred to herein as “cluster formation”).
At step 216, a determination is made as to whether a halting condition is satisfied. This step is analogous to step 110 of
As indicated above, the seed document identified in
At step 606, documents are found using the new P that satisfy a similarity condition from among the available documents. These documents can be referred to as “new similar documents” for convenience to avoid confusion with the “similar documents” found at step 206 of
As is true with the other exemplary methods described herein, the similarity condition at step 606 can change as iterations of cluster formation proceed. For example, an initial value of the similarity condition at step 606 can be a function of the object density in the neighborhood of the seed document S and, optionally, a function of a specified minimum cluster size. The effect is to select a number of documents close to the probe. For example, the threshold of the similarity condition can be adjusted based on feedback (e.g., whether cluster formation is meeting expectations) or changed by predetermined amounts as a function of iteration. For example, as iterations proceed, it is possible to either raise or lower the similarity condition to compensate for the removal of similar documents as clustering proceeds. Raising the similarity condition might be done to achieve more precise clusters as clustering proceeds; lowering the similarity condition might be done to speed the process to completion after a certain number of clusters have been obtained or after a certain percentage of the set of documents has been clustered. It will also be appreciated that, although steps 206 and 606 each refer to a similarity condition, these similarity conditions may or may not be the same. These comments are applicable to other exemplary methods illustrated herein as well.
As described previously, exemplary processes for finding similar documents can produce similarity scores for those documents relative to the probe. At step 608, the similarity scores of the new similar documents are recorded (e.g., saved in a database, which can be the same database that maintains the clustering information relating to the set of documents, or a different database). These documents can then be referred to as “scored documents” for convenience, but it will be apparent that they are also considered the new similar documents, as discussed above.
At step 610, some or all of the scored documents are associated with a cluster. Step 610 is analogous to step 214 of
At step 612 it is determined whether a halting condition is satisfied. This step is analogous to steps 110 and 216 of
At step 316, it is determined whether or not to find more seed documents. In this regard, any suitable seed list condition can be used to determine whether more seeds should be found. For example, the seed list condition can be whether or not a predetermined number of seed documents has been found, or whether the number of seed documents as function of the number of documents of the set of documents (e.g., a predetermined percentage of the number of documents of the database) has been found. As another example, the seed list condition can be whether the number of seed documents as a function of the number of documents of the set of documents has been found AND whether a predefined condition on the completeness of the search for seed documents has been satisfied. Other approaches can also be used as will be appreciated by ordinary practitioners in the art. If the answer at step 316 is yes, the process proceeds back to step 302 to find more seed documents; if not, the process proceeds to Step B of any of
At step 506, a decision is made on whether a halting condition has been satisfied (i.e., whether or not to form more clusters). The exemplary approaches previously described in connections with steps 216 of
While
The process now proceeds to step 710. At step 710 a new probe P is formed based on “close documents” of the similar documents, which will typically include the document S. Any of the exemplary approaches previously described herein for forming probes (or other suitable approach) can be used at step 710. The “close documents” used in forming the new probe P can be those documents of the similar documents (found at step 206 of
As discussed in connection with step 606 of
The process now proceeds to step 704 (analogous to step 504 of
At step 706 (analogous to step 506 of
At step 814, the similarity scores of the new similar documents are recorded or updated as appropriate (e.g., saved/updated in a database, which can be the same database that maintains the clustering information relating to the set of documents, or a different database). These similarity scores can be provided by exemplary processes for finding the similar documents as previously discussed. Optionally, the new similar documents can be sorted according to their similarity scores. These documents can be referred to as “scored documents” for convenience, but it will be apparent that they are also considered the new similar documents, as discussed above. Considering the loop between steps 810 and 824, a given document found as a similar document (or new similar document) could be scored multiple times. If a given document has already been scored and receives a new score in any iteration of the loop, the new score can be added or otherwise accumulated to the old score for that document, and the accumulated score associated with that document can be updated by recording the accumulated score.
At step 816, the document S is marked as “used” or is flagged in any other suitable manner to indicate that the document S has been previously used to form a probe so that it is not used again in a probe refinement/cluster refinement variation to be described below (step 816 could occur at a different location in the ordering of steps). At step 818, it is determined whether a given set of scored documents, which are essentially a candidate cluster at this stage, satisfies a cluster condition. If the cluster condition is satisfied, the process proceeds to step 804 where some or all of the scored documents are associated with a cluster, such as has been described previously herein. The process then continues step 806 to determine whether to halt clustering.
If the cluster condition at step 818 is not satisfied, the process proceeds from step 818 to step 820. At step 820 a new document S is selected from the new similar documents identified at step 812 (e.g., the new document S can be the highest ranking of the new similar documents, or a document that satisfies another condition such as described elsewhere herein). At step 822, a new probe P is formed based on the new document S. At step 824, documents that satisfy a similarity condition are found using P from among the available documents, such as described elsewhere herein. These resulting similar documents are then used as input to step 810, i.e., they can be used as the “close docs” referred to at step 810, or a subset of the similar documents found at step 824 can be used as the “close docs” in step 810. At step 810, a further new probe P is formed based upon the newly found similar or close documents from step 824. Steps 812-818 are then executed as described above, and if the cluster condition is still not satisfied, the process will proceed again to steps 820-824 to provide input again to step 810. The looping between steps 810-824 can be viewed as a process where the probe is iteratively refined using at least one new document (typically more than one) for forming the refined probe and where the emerging cluster is refined.
Any of a variety of cluster conditions can be utilized at step 818 in this process. For example, one cluster condition can be whether all of the documents of the emerging cluster (i.e., those found at step 812) have been used as the new document S at step 820. If yes, the process proceeds to step 804, and the looping through steps 810-824 terminates. As another example, the cluster condition can be whether the size of the emerging cluster has saturated after a predetermined number of iterations through the loop of steps 810-824 (e.g., N consecutive loops do not find new documents at step 812). As another example, the cluster condition can be whether a predetermined number of iterations through the loop of steps 810-824 has occurred. Other conditions can also be used as will be appreciated by ordinary practitioners in the art.
In addition, the similarity condition at step 812 can be changed such as described elsewhere herein (e.g., the threshold of the condition can be adjusted based on feedback or changed by predetermined amounts as a function of iteration of clustering operations). In addition, it can also be desirable to further adjust the similarity condition at step 812 in view of the probe/cluster refinement loop of steps 810-824. In particular, it can be desirable to further adjust the similarity condition used at step 812 as a function of score profile of the scored documents in a given iteration of the probe/cluster refinement loop of steps 810-824 (e.g., a threshold for the cluster condition can be incremented by positive or negative amounts depending upon the score profile of the scored documents).
With regard to step 804, it has previously been pointed out that that selecting only some of the scored documents (or similar documents as referred to at step 610 of
Exemplary methods described herein can have notable advantages compared to known clustering approaches. For example, if random selection is used to choose a document from which to generate a probe for clustering, the most coherent and largest clusters tend to be generated first because the randomly selected document is likely a member of one of the larger thematic groups of the set of documents. If a seed list is established, selecting the highest (or a highly ranking) seed document from which to generate a probe also tends to generate the largest and most coherent clusters first. For each cluster, the methods described herein can rank documents according to their importance to the cluster. Meaningful labels or identifiers of cluster content for a given cluster can be generated from terms or descriptions of features from the probe that created the cluster. The exemplary methods do not require processing the entire set of documents to achieve final clusters; rather, final, complete clusters are generated during each iteration of cluster formation. Thus, even if the process is aborted prematurely, final results for what are likely the most important clusters can be obtained. The methods are computationally efficient and fast because each cluster is removed in a single pass, leaving fewer documents to process during the next iteration of cluster formation.
Computer system 1300 may be coupled via bus 1302 to a display 1312 for displaying information to a computer user. An input device 1314, including alphanumeric and other keys, is coupled to bus 1302 for communicating information and command selections to processor 1304. Another type of user input device is cursor control 1315, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 1304 and for controlling cursor movement on display 1312.
The exemplary methods described herein can be implemented with computer system 1300 for carrying out document clustering. The clustering process can be carried out by processor 1304 by executing sequences of instructions and by suitably communicating with one or more memory or storage devices such as memory 1306 and/or storage device 1310 where the set of documents and clustering information relating thereto can be stored and retrieved, e.g., in any suitable database. The processing instructions may be read into main memory 1306 from another computer-readable carrier, such as storage device 1310. However, the computer-readable carrier is not limited to devices such as storage device 1310. For example, the computer-readable carrier may include a floppy disk, a flexible disk, hard disk, magnetic tape, or any other magnetic medium, a CD-ROM, any other optical medium, a RAM, a PROM, and EPROM, a FLASH-EPROM, any other memory chip or cartridge, or any other medium from which a computer can read, including any modulated waves/signals (such as radio frequency, audio frequency, or optical frequency modulated waves/signals) containing an appropriate set of computer instructions that would cause the processor 1304 to carry out the techniques described herein. Execution of the sequences of instructions causes processor 1304 to perform process steps previously described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the exemplary methods described herein. Thus, embodiments of the invention are not limited to any specific combination of hardware circuitry and software.
Computer system 1300 can also include a communication interface 1316 coupled to bus 1302. Communication interface 1316 provides a two-way data communication coupling to a network link 1320 that is connected to a local network 1322 and the Internet 1328. It will be appreciated that the set of documents to be clustered can be communicated between the Internet 1328 and the computer system 1300 via the network link 1320, wherein the documents to be clustered can be obtained from one source or multiples sources. Communication interface 1316 may be an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of telephone line. As another example, communication interface 1316 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links may also be implemented. In any such implementation, communication interface 1316 sends and receives electrical, electromagnetic or optical signals which carry digital data streams representing various types of information.
Network link 1320 typically provides data communication through one or more networks to other data devices. For example, network link 1320 may provide a connection through local network 1322 to a host computer 1324 or to data equipment operated by an Internet Service Provider (ISP) 1326. ISP 1326 in turn provides data communication services through the “Internet” 1328. Local network 1322 and Internet 1328 both use electrical, electromagnetic or optical signals which carry digital data streams. The signals through the various networks and the signals on network link 1320 and through communication interface 1316, which carry the digital data to and from computer system 1300, are exemplary forms of modulated waves transporting the information.
Computer system 1300 can send messages and receive data, including program code, through the network(s), network link 1320 and communication interface 1316. In the Internet 1328 for example, a server 1330 might transmit a requested code for an application program through Internet 1328, ISP 1326, local network 1322 and communication interface 1316. In accordance with the invention, one such downloadable application can provides for carrying out document clustering as described herein. Program code received over a network may be executed by processor 1304 as it is received, and/or stored in storage device 1310, or other non-volatile storage for later execution. In this manner, computer system 1300 may obtain application code in the form of a modulated wave, which is intended to be embraced within the scope of a computer-readable carrier.
Components of the invention may be stored in memory or on disks in a plurality of locations in whole or in part and may be accessed synchronously or asynchronously by an application and, if in constituent form, reconstituted in memory to provide the information required for retrieval or filtering of documents.
While this invention has been particularly described and illustrated with reference to particular embodiments thereof, it will be understood by those skilled in the art that changes in the above description or illustrations may be made with respect to form or detail without departing from the spirit or scope of the invention. For example, while flow diagrams of the figures herein show process steps occurring in exemplary orders, it will be appreciated that all steps do not necessarily need to occur in the orders illustrated.