Niger-Volta-LTI / iranlowo

Ìrànlọ́wọ́ is a utility library for analysis & (pre)processing of Yorùbá text → https://pypi.org/project/iranlowo
MIT License
17 stars 8 forks source link

Added a helper for checking if a file is nfc. #9

Closed Olamyy closed 5 years ago

Olamyy commented 5 years ago

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.

ruohoruotsi commented 5 years ago

Ah, yes, very useful! Thank you! 👍 💯