Writes out list of string to file. Args: file_path: file path data: list of string
(file_path: str, data: List[str])
| 257 | |
| 258 | |
| 259 | def write_file(file_path: str, data: List[str]): |
| 260 | """ |
| 261 | Writes out list of string to file. |
| 262 | |
| 263 | Args: |
| 264 | file_path: file path |
| 265 | data: list of string |
| 266 | |
| 267 | """ |
| 268 | with open(file_path, "w") as fp: |
| 269 | for line in data: |
| 270 | fp.write(line + "\n") |
| 271 | |
| 272 | |
| 273 | def post_process_punct(input: str, normalized_text: str, add_unicode_punct: bool = False): |
no test coverage detected
searching dependent graphs…