[tex-hyphen] Finnish basic hyphenation rules

Teemu Likonen tlikonen at iki.fi
Sat Apr 4 11:06:45 CEST 2020


Arthur Reutenauer [2020-04-03T22:59:32+02] wrote:

> You don’t need to know how to program in Lua to use LuaTeX, it’s just
> an extended version of pdfTeX. The reason why I mentioned it is that
> it’s much easier to test new patterns because you can add patterns on
> the fly,

I already learned about Luatex's \patterns{} feature. So far I couldn't
make it do anything useful. Either my patterns don't do anything or I
got an error conflicting pattern error. I think I understand basic idea
of the pattern algorithm.

> Anyway, I started work in https://github.com/hyphenation/basic-finnish
> with the word list from Kotus (http://kaino.kotus.fi/sanat/nykysuomi/)
> and a few simple rules.

Thanks! The hyphenated.txt file looks like the basic Finnish hyphenation
is working as one would expect.

In order to understand the rules: why words or syllables ending with
vowel and "a" (ia, ua, oa) are not hyphenated like "aa-ri-a",
"lei-po-a", "lei-ju-a" etc.? There are no diphthongs ending with "a" or
"ä". This rule seems to work but not at the end of a word.

(I know that in line-breaks a single letter shouldn't be left alone.)

> If, as per the above, you’re ready to use LuaTeX, it would be easy to
> have those patterns in your documents instead for the current ones for
> Finnish.

I would like to get those patterns to my own tex files. I tried to add
them with \patterns{} but they cause conflicts with something defined
elsewhere.

    (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (./tavutus.aux)
    ! Conflicting pattern ignored.
    l.235 }

-- 
/// Teemu Likonen - .-.. http://www.iki.fi/tlikonen/
// OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-hyphen/attachments/20200404/8fa165ad/attachment.sig>


More information about the tex-hyphen mailing list.