This paper presents a semantic-based model for text document clustering that incorporates idioms, aiming to enhance the document clustering process by considering the semantic meaning of phrases. It outlines a methodology that includes tagging documents, replacing idioms with their meanings, calculating semantic weights, and using hierarchical clustering algorithms to organize documents into meaningful clusters. The proposed approach addresses limitations of traditional clustering methods that often overlook the semantic structure of text, thereby improving the performance of search engines and information retrieval.