GitXplorerGitXplorer
a

saytex

public
18 stars
5 forks
1 issues

Commits

List of commits on branch main.
Unverified
9eb6c3f8d1683877e6d6dcf0cd0624c5af604258

move static website to gh pages because cheaper

aarvid220u committed 4 years ago
Unverified
b1ac658cede816f1d569a3b1467d5158d022584c

version 0.1.6

aarvid220u committed 5 years ago
Unverified
63ffb0f8ab9a142c5ae9ff8381befe1210d10cae

add pi

aarvid220u committed 5 years ago
Unverified
34bb9006964f15a03974042b5d126c5b755091a4

version 0.1.5

aarvid220u committed 5 years ago
Unverified
65b042e8770481fa412f2f1120073d903cfaee6f

add math symbols transform layer

aarvid220u committed 5 years ago
Unverified
f6b4fa327cbffbc024b79b117e5873fc7b380d16

update code styling

aarvid220u committed 5 years ago

README

The README file for this repository.

SayTeX

Speak math, get LaTeX!

SayTeX is a tool for converting spoken math into LaTeX equations.

Read the documentation at saytex.readthedocs.io.

Experience the demo at demo.saytex.xyz.

Overview

SayTeX is distributed as a Python package, enabling users of it to easily convert between transcribed spoken math and LaTeX.

Paired with a speech recognition service, the SayTeX Python package can be used for dictating LaTeX, as shown in the demo.

The package is highly configurable.

Installation

Install SayTeX using PyPI: pip install saytex.

Read more in the installation documentation.

Usage

from saytex import Saytex

saytex_compiler = Saytex()

print(saytex_compiler.to_latex("pi squared over six"))

The above minimal example will print \frac{\pi^2}{6}. For advanced use, read the documentation.

Repository Structure

  • blog: A collection of Markdown files written during the second half of SayTeX development, in diary format.
  • demo: A Flask web server powering the demo website.
  • docs: Documentation files, generated using Sphinx, for the documentation website.
  • experimental: Everything that is not currently in use by the project, but was experimented with during development and might become useful in the future.
  • research-proposals: Two PDF documents defining the goals of and plans for the SayTeX project.
  • saytex: The Python package. This is the core of the SayTeX project.
  • syntax-specifications: Specifications of the SayTeX Syntax.
  • tests: Tests for the Python package.
  • website: The static website served at saytex.xyz.

About

SayTeX was developed during the academic year 2018-2019 as a research project by Arvid Lunnemark, under the supervision of Dr. Kyle Keane within the Department of Materials Science in the Interactive Materials Education Laboratory at MIT. The research proposals can be found in the folder research-proposals.

All code is open source and licensed under the MIT License. Contributions are welcome.