mypkg_edne.mypkg_edne
Module Contents
Functions
|
"Load text from a text file and return as a string. |
|
Lowercase and remove punctuation from a string. |
|
|
- mypkg_edne.mypkg_edne.load_text(input_file)[source]
“Load text from a text file and return as a string.
- Parameters
input_file (str) – Path to text file.
- Returns
Text file contents.
- Return type
str
Examples
>>> load_text("text.txt")