Skip to content

toyama0919/embulk-filter-google_natural_language_api

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Google Natural Language Api filter plugin for Embulk

Google Natural Language Api filter plugin for Embulk.

Overview

  • Plugin type: filter

Configuration

  • api: api type. analyzeSentiment or analyzeEntities or analyzeSyntax. (string, required)
  • out_key_name_suffix: out_key_name_suffix (string, required)
  • key_names: key_names (array, required)
  • delay: delay (integer, default: 0)
  • google_api_key: google_api_key (string, default: ENV['GOOGLE_API_KEY'])
  • language: language. default is auto detect. (string, default: nil)

Example

filters:
  - type: google_natural_language_api
    api: analyzeSentiment
    out_key_name_suffix: _parsed
    language: en
    key_names:
      - title
      - message

Build

$ rake