GithubHelp home page GithubHelp logo

blackdeer1524 / cambridgedict.py Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 1.0 123 KB

Python HTML parser for cambridge dictionary

License: MIT License

Python 100.00%
cambridge cambridge-dictionary dictionary html json parser python python3 scraper web

cambridgedict.py's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

aimmybots

cambridgedict.py's Issues

Some information is missing

Hello, I realized that there are some pieces of information that are not get extracted. For example, if we search for "more", it only returns "predeterminer" as the category even though there should be four categories (determiner, pronoun, adverb, and adjective), and it also misses some of its phonetic transcriptions. Furthermore, it also misses one definition out of four. I hope that it will be fixed.

script miss parsing some of the existing words

In some languages there is empty results {}, for example:

if __name__ == "__main__":
    from pprint import pprint

    pprint(define(word="endowing",

                  bilingual_vairation="polish"))

And if we are going to cambridge site. it exist!
dictionary.cambridge.org/us/dictionary/english-polish/endow

Can you please check? Same situation with ukranian words..

List expression problem

"List expression not allowed in type annotation" is what it said when I ran your code. Could you please fix it? I tried to tinker with it on my own and end up getting even more errors. Clearly I didn't know what I was doing.

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.