[tex-hyphen] Accuracy of the hyphenation algorithm
Jonathan Kew
jfkthame at gmail.com
Wed Jul 29 10:22:46 CEST 2015
On 29/7/15 09:07, Philip Taylor wrote:
>
>
> Yuri wrote:
>> Available correct answers from the Merriam-Webster dictionary:
>> as·so·ci·ate
>> dec·li·na·tion
>> oblig·a·to·ry
>> phil·an·throp·ic
>> pres·ent
>> proj·ect
This is misleading/incomplete information.
To be more accurate, M-W[1,2] gives "pres·ent" and "proj·ect" for these
words when they are nouns. But it gives "pre·sent" and "pro·ject" for
the respective verbs...
>> rec·i·proc·i·ty
>> re·cog·ni·zance
>> ref·or·ma·tion
>> ret·ri·bu·tion
>> ta·ble
>
> TeX gives these break-points for your word list :
>
> as-so-ciate
> as-so-ciates
> dec-li-na-tion
> oblig-a-tory
> phil-an-thropic
> present
> presents
> project
> projects
...and that's why DEK explicitly suppressed hyphenation of these words
using the \hyphenation{...} exceptions list. TeX doesn't know whether
they are nouns or verbs in any particular case, and so it would be
unable to choose the appropriate break.
JK
[1] http://www.merriam-webster.com/dictionary/present
[2] http://www.merriam-webster.com/dictionary/project
More information about the tex-hyphen
mailing list