tylerdq / sympoiesis

Find and make poems from unexpected words.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"thes" subprogram excludes some lines

tylerdq opened this issue · comments

The "thes" subprogram cannot currently parse lines that begin with a non-alpha character (some lines in the dictionary begin with a hyphen, for example). Consider using the str.strip() method to solve this.

https://www.tutorialspoint.com/python/string_strip.htm

Fixed in commit b452ecb