Notwithstanding Precautions, Misadventure

    alchemy-api-opinions-annotator

    1.2.1 • Public • Published

    alchemy-api-opinions-annotator

    This npm module enriches a set of reviews with sentiment annotations calculated via Alchemy API.

    Usage

    Configure

    1. open file bin/config.js
    2. set QUERY parameter
    3. run it NODE_ENV=<mongodb connection url> npm start

    Implementation

    This module is implemented as a pipe of streams, that, in order:

    1. read reviews from a db
    2. replaceHtmlSpecialCharacters
    3. stripHtml
    4. annotateOpinionsWithAlchemy
    5. translateOpinionAnnotationsFromAlchemy
    6. update the reviews to db

    Keywords

    none

    Install

    npm i alchemy-api-opinions-annotator

    DownloadsWeekly Downloads

    0

    Version

    1.2.1

    License

    ISC

    Last publish

    Collaborators

    • wonderflow-user
    • bitliner