timmahrt / pysle

Python interface to ISLEX, an English IPA pronunciation dictionary with syllable and stress marking.
Other
46 stars 5 forks source link

Remove debug print statement #21

Closed ggilder closed 8 months ago

ggilder commented 9 months ago

Hi, thanks for the very useful project! This PR is to fix a minor annoyance that I discovered while using pysle — whenever isletool is loaded it prints "Text" to standard out, so I was always wrapping my invocation like:

with contextlib.redirect_stdout(None):
    isle = isletool.Isle()

But this print statement doesn't seem like it's doing anything useful so I figured it could be removed. 😉