Coder Social home page Coder Social logo

tangent's Introduction

Tangent

Author: David Stalnaker: [email protected]

Overview:

Tangent is a Math search engine created by David Stalknaker as part of his Master's degree in Computer Science at RIT

Tangent allows the indexing and retrieval of math expressions using Symbol Pairs in Layout Trees.

Details about the implementation can be found in his thesis:

D. Stalnaker (2013) Math Expression Retrieval Using Symbol Pairs in Layout Trees. Master's Thesis, Rochester Institute of Technology (Computer Science), NY, USA (August 2013)

Dependencies

Below are the external components used by Tangent

  • Latexml: a library to covert a Text expression to MathMl
  • MathJax: a javascript library used in displaying the math expressions in the results page
  • Redis: A Memory KeyValue store that is used as the index
  • python 2.7

Python Modules:

  • Redis: Module to connect from python to a redis datastorre
  • werkzeug:WSGI Utility Library
  • flask: Microframework for Python

The above python modules can be installed using the command:

pip install werkzeug redis flask

Running Tangent

To index a collection:

python indexer.py {index|flush} <directory> [<directory2> ..]
    index: index the formulas in the collection
    flush: empty the current index
    <directory>: directory or file containing tex and mathml documents containing formulas to index

To retrieve formulas:

python search.py config_object query [query2, ...]
    config_object: class name of Config object; ex: config.FMeasureConfig
    query: query expression in latex or mathml

    *config_object are defined in config.py and determine the host,port and score ranking

To run the webserver:

python mathsearch.py config_object
    config_object: class name of Config object; ex: config.FMeasureConfig

The server will launch and be available on the port defined in the config object

  • Visit the DPRL page for more information about the lab and projects.

  • This material is based upon work supported by the National Science Foundation under Grant No. IIS-1016815. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

tangent's People

Contributors

davidstalnaker avatar npatta01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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