Giter Club home page Giter Club logo

n-grams-smoothing-virtual-labs-website's Introduction

N-Grams Smoothing

A revamped version of the N-Grams Smoothing Experiment hosted by IIIT-H for VLABS (a Govt. of India Initiative)

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

The following are required on your system in order to test the application

  1. Python
  2. Flask
  3. SQLAlchemy
  4. Linux System or Mac is preferred for testing
  5. flask_testing (subset of flask but has to be installed separately)

Installation

  1. Python

sudo apt-get update sudo apt-get install python3.6 Check the version of python using python3 -v. Python3.6 + is recommended.

  1. Flask

pip install flask

If you face any difficulties with installation or setup, do raise an issue.

  1. SQLAlchemy

pip install sqlalchemy

Testing

For unit testing purposes, we have a file called test_pages.py which checks if all the url's are functional as per project requirements or not. This said file is present in the same directory as the run.py file.

-> For running the test file, run the following command: => python3 test_pages.py This should test all the pages as to if they're running or not and report respective errors.

The setup for a flask application is pretty simple. Just run the following command:

python3 run.py

This should start a web server at localhost:5000/ Type this link into your broswer's URL field in order to view the application.

Note: Whenever changes are made, the flask application must be restarted for the web server to reflect the updated changes (unlsess the application is in debugger mode which then dosen't require a restart for every change) .

Contributing

Visit /Contribute to view the general contribution guidelines. We openly welcome first time contributors but do ensure that you follow the guidelines mentioned strictly.

Authors

  • Manvith Reddy
  • Nishant Sachdeva

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.