The application provides a text clustering method, a text clustering device, an
electronic equipment and a storage medium, and belongs to the technical field of
artificial intelligence. An initial clustering center is selected from a plurality of original
sentence embedding vectors, an initial problem text class is constructed based on the initial clustering center, clustering
processing is performed on all original
sentence embedding vectors based on the initial clustering center, a plurality of intermediate problem text classes are obtained, a clustering center is identified for each intermediate problem text class, a text clustering center is obtained, inter-class dispersion between the intermediate problem text classes and intra-class dispersion of each intermediate problem text class are calculated according to the text clustering center, the intermediate problem text classes are adjusted in text according to the inter-class dispersion and the intra-class dispersion, a target problem text class is obtained, semantic analysis is performed on all original
sentence embedding vectors of the target problem text class, a
standard problem text is obtained, and standard reply content is determined according to the
standard problem text, so that the accuracy of problem answering can be improved.