Code Monkey home page Code Monkey logo

cfg-cyk's Introduction

CFG-CYK

Python Flask Bootstrap Heroku Vercel Docker Forks Contributors Stars

CFG-CYK is a website based string checker using CFG with CYK algorithm using table filling method.

FeaturesπŸ’‘

By using CFG-CYK you can:

  • Checks whether a string is valid or not.
  • Convert the CFG (Context Free grammar) to CNF (Chomsky Normal Form).
  • Get the final triangular table from table filling method.

Technology πŸ‘¨β€πŸ’»

CFG-CYK is created using:

  • Python - Python as the main programming language.
  • Flask - Flask is a web framework for Python, based on the Werkzeug toolkit.
  • Bootstrap - Bootstrap is a front-end framework that allows for the creation of easy and responsive web layouts.
  • Heroku - Heroku is a platform as a service (PaaS) that we use to deploy our apps.
  • Vercel - Vercel is a cloud platform that we use to deploy our apps.
  • Docker - Docker is a platform for developing, shipping, and running our applications.

Structure πŸ“‚

CFG-CYK
β”œβ”€β”€ .github
β”œβ”€β”€ handlers
β”œβ”€β”€ docs
β”œβ”€β”€ modules
β”œβ”€β”€ static
β”‚   β”œβ”€β”€ images
β”‚   β”œβ”€β”€ scripts
β”‚   └── styles
β”œβ”€β”€ templates
β”œβ”€β”€ tests
β”œβ”€β”€ .gitignore
β”œβ”€β”€ Dockerfile
β”œβ”€β”€ LICENSE
β”œβ”€β”€ Procfile
β”œβ”€β”€ README.md
β”œβ”€β”€ app.py
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ set_of_production.txt
└── vercel.json
  • .github is a folder that used to place Github related stuff, like issue template and CI pipeline.
  • handlers contain handler to handling HTTP request methods, especially POST method.
  • docs contain documentation of this app.
  • modules contain the main modules for convert CFG to CNF and implement CFG with CYK algorithm using table filling method.
  • static contain static files like images, CSS, and JavaScript files.
  • templates contain the file that will be rendered for display in the browser.
  • tests contain unit test to make sure the main module work properly.
  • .gitignore is a file to exclude some folders like venv.
  • Dockerfile is a file that contains all the commands to build an image.
  • LICENSE is a file that contains the license we use in this app.
  • Procfile is a file that specifies the commands that are executed by an Heroku app on startup.
  • README.md is the file you are reading now.
  • app.py is the main file of this app.
  • requirements.txt is a file that contains a list of dependencies used in this app.
  • set_of_production.txt is a file that contains set of production of the grammar.
  • vercel.json is a file that contains configuration and override the default behavior of Vercel.

Requirements πŸ“¦

  • Python 3.10 or later
  • Bootstrap v4.6.2 or later
  • Docker 20.10.17 or later

Installation πŸ› οΈ

docker pull putuwaw/cfg-cyk
  • Run the downloaded image:
docker run -p 8000:8000 putuwaw/cfg-cyk
  • Open web browser and visit:
localhost:8000

Contributors ✨



Putu Widyantara

Kevin Moses

Antonius Ata

Yoga Laksana

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.