Neuron Powered Motorization

    open-calais

    0.0.4 • Public • Published

    Open-Calais

    Nodejs based Command Line tool to use the Open-Calais API

    Open-Calais is a tool to send text document to the Open Calais Server and to get tagged data.

    A Note about Output

    The CSV file output by the tool follows the same order as in Input.txt and Names may repeat depending upon if Name is recognized by different Tags.

    Installation

    1. npm i Open-Calais

    2. Your Open-Calais API Key or API Token

    You have to register on Open Calais website to get an API for autorized access. When you get an API, you have to have to add it in the code in the first line of oc.js like this:-

    var TOKEN = "YOUR API KEY"

    Test command

    node oc -i ./Input.txt -o ./Output.csv

    Usage

    This tool is a command line Tool. Here is the Usage :-

    Usage: node oc [Options]
    
    Options:
      -i, --In    File path to input text file.
                  Use './' for current folder path                        [required]
      -o, --Out   File path to output csv file with .csv extension.
                                                [required] [default: "./output.csv"]
      -h, --help  Show help                                                [boolean]
    
    Copyright 2015 Vikas Gautam
    

    Donate

    If this repository helps you anyhow, please don't mind coming back and Buy Me Coffee OR you can use Gratipay to show your appreciation and gratitude.

    Install

    npm i open-calais

    DownloadsWeekly Downloads

    5

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • avatar