You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The snippet below results in an IndexError. It seems to have trouble wrapping the last word: "ch'entrate".
from hyphen.textwrap2 import TextWrapper
import hyphen
h_en = hyphen.Hyphenator('en_US')
wrapper = TextWrapper(width=70, use_hyphenator=h_en)
print(wrapper.fill("Abandon all hope, you who enter here (Lasciate ogni speranza, voi ch'entrate)."))
The text was updated successfully, but these errors were encountered:
The snippet below results in an IndexError. It seems to have trouble wrapping the last word: "ch'entrate".
The text was updated successfully, but these errors were encountered: