proselint icon indicating copy to clipboard operation
proselint copied to clipboard

Add the ability to solve some of the open hyphenation issues left from TeX back in the day

Open mpacer opened this issue 9 years ago • 0 comments

From: hyphenate.py

Ned Batchelder

"project" is one of the words Knuth explicitly added to the exceptions list as unhyphenated because the hyphenation depends on whether it is a noun or a verb. He may not be right about that, but that is why it is like that in this module.

Deewiant

Project is indeed ['proj', 'ect'] as a noun and ['pro', 'ject'] as a verb.

Proselint should be able to detect this example among others (using more advanced features like textblob) which can then lead to generally better hyphenation (presumably this matters for more than just project, other words that can be both nouns and verbs might be able to be broken at the same points, but with different rankings on the priority of those points).

mpacer avatar Mar 14 '15 18:03 mpacer