For the romance languages, Italian, Spanish etc. Algorithms are small, fast, and very accurate. The dictionary method is a waste of resources. The Germans as a matter of routine invent perfectly correct German words by adding one word to another, so no dictionary can ever be created. If attempted, it rapidly becomes impossibly large, out of date, or does not cover the words required by the user.
Algorithms are the only possible solution.
Dutch, Norwegian, Swedish etc. have similar problems. General Hyphenologist is a collection of some 100 tools and rule bases that are used on a mix and match basis for the various languages. These are selected via the C preprocessor. Hyphenologist normally suggests one hyphen position for every three or four letters in a word, thus for long words the calling routine is given a choice of hyphenation positions. This is facilitated by a goodness factor or weight given to each hyphen.