Term Frequency-Inverse Document Frequency (TF-IDF) uses algorithms to determine relevant keywords in a document based on frequency.