Skip to content

Guik/textrazor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

textrazor

TextRazor SDK for node.js

Installation

Install using npm:

$ npm install textrazor --save

Usage

const TextRazor = require('textrazor')
const textRazor = new TextRazor('<YOUR API KEY>')
const content = 'The Federal Reserve is the enemy of Ron Paul.'
const options = { extractors: 'entities,topics' }
textRazor.exec(content, options)
  .then(res => console.log(JSON.stringify(res)))
  .catch(err => console.error(err))

Test

Run tests:

$ npm test

Runs in Node.js v4.0+

License

The MIT License (MIT)

Copyright (c) 2016

About

TextRazor SDK for node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%