I am using scikit-learn MiniBatchKMeans to do text clustering.
In the fit() function there is a parameter sample_weight described as follows:
sample_weight