(json_records, json_file)
| 786 | |
| 787 | |
| 788 | def write_to_json_files(json_records, json_file): |
| 789 | with tf.io.gfile.GFile(json_file, "w") as writer: |
| 790 | writer.write(json.dumps(json_records, indent=4) + "\n") |
| 791 | |
| 792 | |
| 793 | def get_final_text(pred_text, orig_text, do_lower_case, verbose=False): |
no test coverage detected