A MATLAB GUI LaTeX Formatter and OCR Extractor for Song Lyrics

This is a little GUI application built in MATLAB, which takes in plain text song lyrics and formats them in a two-column LaTeX document, with specifiable title, subtitle, and author headings.

The program is primarily intended to be used with Japanese songs, with fields for Japanese characters, Romaji, and an English translation, though it can be used with any language with a romanization/transliteration and Translation. The English body may be left empty, with the primary input constraint is that the Romaji text should match the Japanese script in number of lines.

Note: As this was quickly put together to achieve a goal, there exist minimal input checks in the code. To ensure no errors occur one should attempt to follow the example input format.

OCR Extractor

This separate program uses the MATLAB OCR library to extract text from an image file, and display it for copy to the clipboard, which can be useful when taking lyrics from sites which forbid this.

Source Code and Program Executable

Note: I take no responsibility for any damage that may be caused by use of the .exe application and cannot guarantee that it is safe to use. Alternately the source code available in the repository may be run in MATLAB or MATLAB Online.

Note: The compiled OCR application is over 500MB due to the included OCR library files, and so the executable is not included in the repo.

marinmersenne2357/Lyrics-LaTeX-Formatter (github.com)