patgen:這些值是什麼意思?

patgen:這些值是什麼意思?

hyph_starthyph_finishpat_startpat_finish、好權重、壞權重和閾值是什麼patgen意思?

答案1

這些是調整連字符產生所需的額外整數值。如果您使用man patgeninfo 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.

相關內容