Giter Site home page Giter Site logo

shafiahmed / detexify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kirel/detexify

0.0 0.0 0.0 4.77 MB

Latex Symbol Classifier Web Frontend

Home Page: detexify.kirelabs.org

License: MIT License

Ruby 8.64% JavaScript 17.94% CoffeeScript 1.73% CSS 64.22% HTML 7.48%

detexify's Introduction

Detexify (Frontend)

LaTeX symbol classifier as a webservice. This is the frontend. Uses https://github.com/kirel/detexify-hs-backend as the backend.

Setup

  • Install Ruby 2.1.2 and Bundler
  • $ bundle
  • $ bundle exec dotenv middleman

Production setup

This runs the frontend locally using the production backend. It is configured via environment variables. To setup the backend locally see https://github.com/kirel/detexify-hs-backend

Tests

Check if all symbols are compiling: $ rspec spec

Tasks

reminder for myself source ~/.aws

Adding symbols

You need Latex installed!

Symbols are configured in lib/latex/symbols.yml.

  1. Add the symbol
  2. run the tests $ rspec spec
  3. Create a Pull-Request

For me:

  1. generate the symbol sprite $ bundle exec rake symbols:sprite
  2. Redeploy git push heroku master

Populate the backend

$ bundle exec dotenv rake populate (uses TRAINCOUCH to populate CLASSIFIER - see .env for defaults)

License

Copyright (c) 2009 Daniel Kirsch, released under the MIT license, see MIT-LICENSE

detexify's People

Contributors

kirel avatar radford 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.