> Thanks! I've decided to use your library and ended up with almost the same
> It accepts words either as arguments or from stdin.
Good, I saw that in the mean time :-)
> This is the hard part :) All combinations (both possible and impossible) take
> really huge amount of space. I'm considering parsing the hunspell dictionary
> to get only possible combinations.
Yes, that’s what I was suggesting.
Regardings experiments with real documents, you need a
gloss-belarusian.ldf if you want to test with Polyglossia, and there are
various minor issues that mean your document should work with only a
small amount of change; see document-arthur.tex in my fork of your
repository (https://github.com/reutenauer/hyph-be) and
gloss-belarusian.ldf in the same directory.