The TeX code may be a wee bit more efficient, but it is complicated and
I'm not sure about the license. (We may also have problems with the
various licenses in the hyphenation patterns files at some point.)
The license is something along "do anything you want but keep the
copyright intact and don't name it TeX if it's not TeX".
For the various TeX hyphenation patterns, the thing non-TeX people usually
do is writing some parser that reads the files directly in run-time, so
they won't get into any trouble.