GithubHelp home page GithubHelp logo

dilane3 / csv-generator Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 0.0 9 KB

Simple javascript program that generate a boilerplate (some csv files such as cea.csv and cta.csv) that facilitate the annotation using wikidata and foodon

JavaScript 100.00%

csv-generator's Introduction

CSV Annotations File Generator

This program will help you to generate a boilerplate of your final csv files that you will use to make annotation easily using wikidata and foodon. ๐Ÿ”ฅ๐Ÿ”ฅ

Pre-requisites

This program is writen using JavaScript with Nodejs runtime environment. So you need to install it first.

Prepare the program

Assuming that you have already clone the repository on your local machine, you need to install some dependancies first before trying to run the program.

To install dependancies, you need to open the folder of the program into a terminal and run the following command:

using npm

npm install

using yarn

yarn install

After that, all dependancies of this program will be installed. ๐Ÿ˜Š

Description

Let's describe the architecture of the project.

  • Dataset folder: This folder will contain all your clean files. The name of these files is very important, so make sure that the name has not been modified during your cleaning process. (example: KNSR2190_1.csv is a good name)
  • Output folder: This folder will contain your final cea and cta files for both wikidata and foodon. Inside this folder, you have to make sure that there are two other folder with names wikidata and foodon, otherwise the program will crash.
  • main.js file: It is the main program, it's that file that we'll execute.

Usage

Now let's start... ๐Ÿ˜Ž

  • Add your clean files into the dataset folder.

  • Open the terminal and place yourself at the root of the project.

  • Execute the command below to launch the program and generate your cea and cta files for both wikidata and foodon.

    node main.js
  • Now look inside the ouput/wikidata and output/foodon folders, you will see your cea and cta files. ๐Ÿคฉ๐Ÿคฉ๐Ÿคฉ๐Ÿคฉ magic

  • Congratulation, you did it. ๐Ÿฅณ๐Ÿคฉ

csv-generator's People

Contributors

dilane3 avatar

Stargazers

Michel  BTOMPE avatar  avatar  avatar NOUTCHEU LIBERT avatar  avatar  avatar  avatar  avatar Omer FOTSO avatar  avatar  avatar Edmond Makolle avatar ngimdock avatar Feujio Tsagmo avatar Uriel MELIE avatar  avatar

Watchers

 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.