patgen: o que esses valores significam?

patgen: o que esses valores significam?

O que significam hyph_start, hyph_finish, pat_start, pat_finish, peso bom, peso ruim e limite solicitado patgen?

Responder1

Esses são valores inteiros extras necessários para ajustar a geração de hifenização. Eles estão documentados se você usar man patgenou info patgen:

       After  reading the translate_file and any previously-generated pat‐
       terns from pattern_file, patgen requests input from the user's ter‐
       minal.

       First  the integer values of hyph_start and hyph_finish, the lowest
       and highest hyphenation level for which patterns are to  be  gener‐
       ated. The value of hyph_start should be larger than any hyphenation
       level already present in pattern_file.

       Then, for each hyphenation level, the integer values  of  pat_start
       and  pat_finish, the smallest and largest pattern length to be ana‐
       lyzed, as well as good  weight,  bad  weight,  and  threshold,  the
       weights  for good and bad hyphens and a weight threshold for useful
       patterns.

       Finally the decision (`y' or `Y' vs. anything else) whether or  not
       to produce a hyphenated word list.

informação relacionada