retim v0.1.5 Retim
Provide methods to estimate the reading time of a file or a setence.
Summary
Functions
Count the words of a setence
Count the words of a file
The estimate_reading_method count the reading time
The print_reading_time method print the final result
Functions
Count the words of a setence
Examples
iex> Retim.count("Hello World")
"1 minute"
iex> Retim.count("Hello World", 120)
"1 minute"
Count the words of a file.
Examples
iex> Retim.count_file("hello.md")
"4 minutes"
iex> Retim.count_file("hello.md", 120)
"7 minutes"
The estimate_reading_method count the reading time.