(filename)
| 102 | |
| 103 | # Read a file and split into lines |
| 104 | def readLines(filename): |
| 105 | with open(filename, encoding='utf-8') as some_file: |
| 106 | return [unicodeToAscii(line.strip()) for line in some_file] |
| 107 | |
| 108 | # Build the category_lines dictionary, a list of lines per category |
| 109 | category_lines = {} |
no test coverage detected