Git Product home page Git Product logo

arxiv2voice's Introduction

arXiv2Voice

Utility to convert a given arXiv number into audio, so that one can listen to the contents on the go.

Prerequisites

Install packages latex2rtf, striprtf, urllib before using this code. The latter two can be installed with "pip install -r requirements.txt" in the main directory. latex2rtf can be found at http://latex2rtf.sourceforge.net. This code is currently only compatible with Mac OS.

Usage example

Run a command of the form "python Paper2Voice.py 1907.10066" on the command line. It will generate an mp3 file in the output folder.

Options

-r, --rate: set rate of speech. Example: "python Paper2Voice.py 1907.10066 -r 200" --si: having this flag includes supplementary information

Contributing

Feel free to contact the author with any questions or requests.

Authors

Harry Zhou - (https://lukin.physics.harvard.edu/people/hangyun-harry-zhou)

License

This project is licensed under the GNU GPL v3 License - see the LICENSE.md file for details

arxiv2voice's People

Contributors

zphy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arxiv2voice's Issues

Filtering out references

Would be convenient to prevent the file from the references at the end of the file. Can probably implement by deleting the bibliography section. This is low priority, since they are anyway at the end, and only pose an issue when the appendix comes after, but that we probably don't want to listen to either.

Identification of main tex file

The main tex file cannot be identified via file name.
Here's the list of tex files in the source folder.
['Conclusion.tex', 'Criticality.tex', 'Intro.tex', 'JPSCommandsShorter.tex', 'Memory.tex', 'PlasticityIntro.tex', 'Review.tex']

Ignore tables

In CS papers there are often tables where only the caption is suitable for listening to, so we should do some filtering of that.

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.