Skip to content

simple python module for wrapping the say command on MacOS to read text files and measure the elapsed time

License

Notifications You must be signed in to change notification settings

yasutow/SayTextRead

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SayTextRead

Description

This simple package produces the estimated time to finish reading a set of .txt files written in Japanese language. For the default case, this program wraps the say command included in Mac OS. Note that this program runs the subprocess.call with shell=True.

Alternatively, pyttsx3 could be used if use_say is set to False, which is still a test version.

Requirements

Mac OS Big Sur 11.4

pyttsx3 == 2.90

Install

$ cd SayTextRead
$ python setup.py develop

Usage

>>> import SayTextRead
>>> SayTextRead.saytextread(["./in_1.txt"])

About

simple python module for wrapping the say command on MacOS to read text files and measure the elapsed time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages