document-based corpus term minimals (faster for smaller corpora)