Giter Site home page Giter Site logo

Comments (5)

Rascalov avatar Rascalov commented on July 24, 2024 1

Looks promising, I'll look into how to make it work.

from anki-simple-forvo-audio.

Rascalov avatar Rascalov commented on July 24, 2024 1

Alright, I think I finished scouting the website and going through the scenarios (which didn't take very long since wikimedia does not obfuscate downloading options as Forvo did).
It's a cool project, even allowing me to download all their datasets straight up.

I think the best course is to use the search feature, visit the page of the result(s) that matches exactly (maybe ignore punctuation), then move to its page, afterwards I can look for the ogg file reference to upload.wikimedia and start downloading.

Naming scheme will probably be the same as I do for Forvo.
I will probably put the Lingua Libre audios on the top of the results since they seem to be pretty good quality.

If I don't encounter any issues, this should be done at the end of the week if not sooner.

from anki-simple-forvo-audio.

Rascalov avatar Rascalov commented on July 24, 2024 1

The initial edits I made seem promising, even though lingua libre uses a slightly different language code, it seems compatible with the forvo language list from what I've tested.
The results from this source are marked by a Q as shown below:
image

The additional source does make the extension take slightly longer with its search, so I decided to make this a configuration option
image

I will probably merge the changes and release a new version at the end of the week.

If you would like to test the changes before then (which I encourage, cause I only checked Dutch, English and Russian)

You can download the LinugaLibre Branch and replace the bs4Scraper.py and ForvoTTS.py in your addon folder with the same files included in the downloaded branch. Then you need to add the "Use sources besides Forvo": "True" variable to your addon config, as shown in the previous screenshot, to enable the Lingua Libre as a source!

from anki-simple-forvo-audio.

homocomputeris avatar homocomputeris commented on July 24, 2024 1

Thanks a lot!

from anki-simple-forvo-audio.

Rascalov avatar Rascalov commented on July 24, 2024

It is done, I merged the changes on #20
Ankiweb now has the updated addon. You can either download the addon again from their site, or check for updates inside the anki addon menu.

Closing this issue, marking its completion

from anki-simple-forvo-audio.

Related Issues (20)

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.