Giter VIP home page Giter VIP logo

pylex's Issues

EOL syntax error from JSON

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.

Language support

Which languages are supported? And are there plans to role out the support?

remove json from requirements.txt

$ python --version
Python 3.6.5
$ python -m pip install json
Collecting json
  Could not find a version that satisfies the requirement json (from versions: )

However, taking json out of requirements.txt fixes the issue.

missing packages

Add click and lxml to requirements.txt .
For ast I got an error, thus I had to remove it.
Also, add the shebang line to the beginning:

#!/usr/bin/env python3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.