Document clustering
Document clustering (or text clustering) is the application of cluster analysis to textual documents.[src] It has applications in automatic document organization, topic extraction and fast information retrieval or filtering.[src]
Document clustering (or text clustering) is the application of cluster analysis to textual documents.[src] It has applications in automatic document organization, topic extraction and fast information retrieval or filtering.[src] ==Overview== Document clustering involves the use of descriptors and descriptor extraction.[src] Descriptors are sets of words that describe the contents within the cluster.[src] Document clustering is generally considered to be a centralized process.[src] Examples of document clustering include web document clustering for search users.[src] The application of document clustering can be categorized to two types, online and offline.[src] Online applications are usually constrained by efficiency problems when compared to offline applications.[src] Text clustering may be used for different tasks, such as grouping similar documents (news, tweets, etc.) and the analysis of customer/employee feedback, discovering meaningful implicit subjects across all documents.[src] In general, there are two common algorithms.[src] The first one is the hierarchical based algorithm, which includes single link, complete linkage, group average and Ward's method.[src] By aggregating or dividing, documents can be clustered into hierarchical structure, which is suitable for browsing.[src] However, such an algorithm usually suffers from efficiency problems.[src] The other algorithm is developed using the K-means algorithm and its variants.[src] Generally hierarchical algorithms produce more in-depth information for detailed analyses, while algorithms based around variants of the K-means algorithm are more efficient and provide sufficient information for most purposes.[src] These algorithms can further be classified as hard or soft clustering algorithms.[src] Hard clustering computes a hard assignment – each document is a member of exactly one cluster.[src] The assignment of soft clustering algorithms is soft – a document's assignment is a distribution over all clusters.[src] In a soft assignment, a document has fractional membership in several clusters.[src] Dimensionality reduction methods can be considered a subtype of soft clustering; for documents, these include latent semantic indexing (truncated singular value decomposition on term histograms) and topic models.[src] Other algorithms involve graph based clustering, ontology supported clustering and order sensitive clustering.[src] Given a clustering, it can be beneficial to automatically derive human-readable labels for the clusters.[src] Various methods exist for this purpose.[src] ==Clustering in search engines== A web search engine often returns thousands of pages in response to a broad query, making it difficult for users to browse or to identify relevant information.[src] Clustering methods can be used to automatically group the retrieved documents into a list of meaningful categories.[src] ==Procedures== In practice, document clustering often takes the following steps: 1.[src] Tokenization Tokenization is the process of parsing text data into smaller units (tokens) such as words and phrases.[src] Commonly used tokenization methods include Bag-of-words model and N-gram model.[src] 2.[src] Stemming and lemmatization Different tokens might carry out similar information (e.g.[src] tokenization and tokenizing).[src] And we can avoid calculating similar information repeatedly by reducing all tokens to its base form using various stemming and lemmatization dictionaries.[src] 3.[src] Removing stop words and punctuation Some tokens are less important than others.[src] For instance, common words such as "the" might not be very helpful for revealing the essential characteristics of a text.[src] So usually it is a good idea to eliminate stop words and punctuation marks before doing further analysis.[src] 4.[src] Computing term frequencies or tf-idf After pre-processing the text data, we can then proceed to generate features.[src] For document clustering, one of the most common ways to generate features for a document is to calculate the term frequencies of all its tokens.[src] Although not perfect, these frequencies can usually provide some clues about the topic of the document.[src] And sometimes it is also useful to weight the term frequencies by the inverse document frequencies.[src] See tf-idf for detailed discussions.[src] 5.[src] Clustering We can then cluster different documents based on the features we have generated.[src] See the algorithm section in cluster analysis for different types of clustering methods.[src] 6.[src] Evaluation and visualization Finally, the clustering models can be assessed by various metrics.[src] And it is sometimes helpful to visualize the results by plotting the clusters into low (two) dimensional space.[src] See multidimensional scaling as a possible approach.[src] ==See also== Cluster Fuzzy clustering[src]
52 sentences · 52 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Document clustering." encyclopegia.org, 2025, https://encyclopegia.org/wiki/document-clustering. Accessed 25 November 2026.
Chicago
"Document clustering." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/document-clustering.
APA
encyclopegia.org. (2025). Document clustering. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/document-clustering
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON