techcentaur / PyLex

Perform lexical analysis on words, one word at a time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EOL syntax error from JSON

kiwinstuff opened this issue · comments

I've been playing with the homophones() function and the API data does not copy correctly for URL. For example when I run.

lex = Lex("pop")
wordlist = lex.homophones()
print(lex)
lex.display_wordlist(wordlist, len(wordlist))

the output is as follows.

<script.Lex object at 0x024E0370>
EOL while scanning string literal (, line 1)

I've visited the webpage and there are four words, I'm just raising awareness. Sorry if the formatting is incorrect this is my first comment.