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.
Metadata
Release files for SayTeX 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| SayTeX-0.1.6.tar.gz | 876.5 kB | Without provenance | Details for SayTeX-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| SayTeX-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for SayTeX-0.1.6-py3-none-any.whl |
Total release size: 907.7 kB
Release files / SayTeX-0.1.6.tar.gz
| Download URL | SayTeX-0.1.6.tar.gz |
|---|---|
| Size | 876.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfc7ec5750bdb8cb74808a17790a451013f538fc0e8096e3628f8ceb9f540d53
|
|
BLAKE2b-256 checksum How to use checksums |
c4cf96aea1a696f94599f8056ebf217d0f2b96181f203e9b07fc8c5bba4b1992
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.6
|
Release files / SayTeX-0.1.6-py3-none-any.whl
| Download URL | SayTeX-0.1.6-py3-none-any.whl |
|---|---|
| Size | 31.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6dcf0b625dc67721009fdca5a6ef1f567604a2515548fa1efc6ae935808cd7a
|
|
BLAKE2b-256 checksum How to use checksums |
df52b125225dee14e9322b49d9ed05936860d741ab77edbf8db72b28e2c438f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.6
|
Security for SayTeX 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.