Newton's Poleless Magnet

    text-rank-tag

    0.0.1 • Public • Published

    What's TextRank? It's an algorithm that adapts Google's PageRank to auto-magically build a tag cloud from a text.

    Usage

    Add text rank to your package.json.

     "dependencies": {
    
        //...
    
        "text-rank": "git://github.com/frankandrobot/text-rank.git#master"
      }
    

    Then just do

    var textrank = require('text-rank'),
    
        rslt = textrank.generateTags("Content ...")
    

    The result will be a JSON object with a tags property containing an array of tags

    Run the tests

    npm install //you may need to do sudo npm install
    
    jasmin-node tests
    

    Credits

    Install

    npm i text-rank-tag

    DownloadsWeekly Downloads

    2

    Version

    0.0.1

    License

    Apache

    Unpacked Size

    33.1 kB

    Total Files

    12

    Last publish

    Collaborators

    • henryboldi