A thin client around the Alchemy REST API.
Requires an AlchemyAPI api key.
In your Gemfile:
gem 'alchemy-concept-extractor', :git => 'https://github.com/BBC-Knowlearn/alchemy-concept-extractor.git'
To run using the gem:
require 'alchemy-concept-extractor'
AlchemyConceptExtractor.extract(
'api_key',
'location_of_newline_separated_urls_in_file',
'location_of_output_files'
)
To run after cloning this project:
require_relative 'lib/alchemy-concept-extractor.rb'
AlchemyConceptExtractor.extract(
'api_key',
'location_of_newline_separated_urls_in_file',
'location_of_output_files'
)