/paper2mp3

[Small Project] Converts a paper (pdf) to mp3

Primary LanguagePythonMIT LicenseMIT

Converts a paper to mp3

Simple implementation to convert a paper (pdfile) to mp3.

Requeriments

Use Python 3.7 or higher.

Install the required packages with pip install -r requirements.txt

Usage

In file paper2mp3.py: edit path and raw_file on line 24-25

Run file with: python -u paper2mp3.py

Out: paper_audio.mp3

Examples

Source:
paper.pdf

Output:
paper_audio.mp3

References:

[1] Function to convert pdf to text. Retrieved from: https://pdfminersix.readthedocs.io/en/latest/tutorial/composable.html
[2] Function to convert text to mp3. Retrieved from: https://github.com/kjanjua26/HearPapers


Please direct bug reports and pull requests to the GitHub page. To contact me directly, send email to tamagusko@gmail.com.

-- Tiago

License

MIT (c) 2020, Tiago Tamagusko.