Text mining is an effective means of acquiring potentially useful knowledge from text document. However, traditional text mining cannot achieve high accuracy, because it cannot effectively make use of the semantic information of the text. Ontology provides theoretical basis and technical support for semantic information representation and organization. This paper introduces and analyzes text mining based on domain ontology.