Skip to content

Convert EPUB to text file that can be uploaded to a Casio EX-Word dictionary

License

Notifications You must be signed in to change notification settings

pjuhasz/epub2casiotxt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

epub2casiotxt

Convert EPUB to text file that can be uploaded to a Casio EX-Word dictionary

Usage:

epub2casiotxt [-k] orig.epub converted.txt

-k keep temporary files

Requirements:

  • html2txt
  • Perl
  • Text::Unidecode

The script does the following:

  • extracts the chapters from the EPUB (which is just an archive of (X)HTMLs with metadata)
  • converts them to text and concatenates the chunks into one flat text file (hopefully in the right order)
  • removes non-ASCII characters
  • converts line endings to \r\n

About

Convert EPUB to text file that can be uploaded to a Casio EX-Word dictionary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages