JSPM

open-calais

0.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q32293F
  • License MIT

Command Line to tool to ping Open Calais with raw data to get tagged Entities

Package Exports

  • open-calais

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (open-calais) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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`
  1. 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.