Text clustering method, apparatus and computer device

A text clustering method is used for replacing a number in the text to be clustered with a first identifier (602) after a text clustering device (202) acquires a text to be clustered; combining adjacent first identifiers in the text to be clustered and acquiring a preprocessing text of the text to be clustered (604); and clustering the preprocessing text of the text to be clustered (610). A text to be clustered is preprocessed to extract a format of the text to be clustered, the text to be clustered is clustered according to the format of the text to be clustered, and text clustering precision is improved.