Coder Social home page Coder Social logo

pipelinescript's People

Contributors

danvegeto avatar lolemacs avatar rachelli789 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pipelinescript's Issues

implement PluginManager

Implement the following method that executes an external algorithm file.

public static String call(String path, String[] args);

file is the relative path of an executable file that will be in the plugins folder (e.g. newspaper/scrape.py). PluginManager should detect the executable language based on the file extension (e.g. Python for .py files) and then construct the shell command to be executed with the given args. For example:

call("newspaper/scrape.py", new String[]{"http://www.nytimes.com"})

yields the following command

python plugins/newspaper/scrape.py http://www.nytimes.com

implement example pipelines for demo

  1. Newspaper article scraping + TF-IDF
  2. Newspaper article scraping + Stanford NER
  3. Newspaper article scraping + UMASS topic modeling + tSNE dimensionality reduction

tester is broken

pls.sh and pls.py have been modified, testing system needs to be updated to fix it

implement testing system

for each example defined in the documentation:
https://github.com/danvegeto/pipelinescript/blob/master/doc/examples.md

create 3 files in the "tests" folder

  1. test_name.pls (PipelineScript)
  2. test_name.java (Java)
  3. test_name.txt (Output)

create a copy of pls.sh called test_pls.sh that doesn't delete Output.java

then create a tester that loops of all the tests and does the following

  1. run the PipelineScript code (test_pls.sh test_name.pls > output.txt)
  2. compare Output.java to test_name.java
  3. compare output.txt to test_name.txt

implement FileManager class

public static void create(String variable, String filepath);
public static void delete(String variable);
public static void move(String variable, String filepath);
public static void set(String variable, Object value);
public static Object get(String variable);

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.