While attending to https://github.com/Niger-Volta-LTI/yoruba-text/issues/17, I noticed I had to read the file myself first before calling the nfc checker on it.
I decided to add a new function is_file_nfc to read files and then do the check automatically. This is not exactly major addition right now but I imagine it'll be when we start getting very large files. Then I can rewrite the function to handle various supported formats.
While attending to https://github.com/Niger-Volta-LTI/yoruba-text/issues/17, I noticed I had to read the file myself first before calling the nfc checker on it. I decided to add a new function
is_file_nfc
to read files and then do the check automatically. This is not exactly major addition right now but I imagine it'll be when we start getting very large files. Then I can rewrite the function to handle various supported formats.