1.0.0 • Published 10 years ago

tf-idf v1.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
10 years ago

tf-idf

This module returns the rank of each test document in a folder according to the tf-idf algorithm for a particular search term.

Installation

$ npm install tf-idf

Usage

var tfidf = require('tf-idf');

tfidf.getRank('path/to/directory', 'search-term', function (err, docRank) { });

docRank = [{'file':, 'tfidf':}

1.0.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago