Probably easiest way to do it is to leverage word2vec, here is example https://github.com/nadbordrozd/blog_stuff/blob/master/classification_w2v/benchmarking.ipynb . I assume there is no difference between paragraph categorization and document (eg. paragraph is effectively short document).