Calculating TF-IDF scores in Neo4j with Cypher

When extracting information from documents using NLP, attempting to separate important terms from noise can be tricky. Calculating a TF-IDF (Term Frequency-Inverse Document Frequency) score allows you to identify the important terms in a document.