Separate clustering from DocumentCloud import
Copy lang setting when submitting clustering job
Extract mess into function