Code Monkey home page Code Monkey logo

eurovoc-classifier's Introduction

Prerequisites

  • ruby v 2.0
  • gems required [activerecord,mysql2,json]

How to install gems.

gem install activerecord
gem install mysql2
gem install json

also please create database named "eurovoc" and change the password you will find database connection data in data.rb file

ActiveRecord::Base.establish_connection(
  adapter:  'mysql2', # or 'postgresql' or 'sqlite3'
  host:     'localhost',
  database: 'eurovoc',
  username: 'root',
  password: ''
)

also please add your key and you analysis-id in analysis.rb file

path="https://api.redlink.io/1.0-ALPHA/analysis/<Add analysis Id>/enhance?key=<Get Your Key from Redlink.co>"

To fetch data from online resource

./main "fetch_online" "http://beta.opendatahub.it/opendatahub/api/rest/dataset"

To fetch data from csv file

./main "fetch_csv" "path/to/file.csv"

To analyze data

./main "analysis"

if you want to analysis specfic number of records use

./main "analysis" "1"

which 1 is the number of records you want to analysis

eurovoc-classifier's People

Contributors

mido18 avatar ziodave avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.