GithubHelp home page GithubHelp logo

olehonyshchak / wikiimagerecommendation Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 178.27 MB

Image Recommendation for Wikipedia Articles

License: GNU General Public License v3.0

Jupyter Notebook 79.31% Python 1.73% Roff 0.01% TeX 18.95%
data-collection image multimodal-datasets multimodal-deep-learning multimodal-learning recommender-systems text wikipedia wikipedia-api wikipedia-scraper

wikiimagerecommendation's People

Contributors

olehonyshchak avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

wikiimagerecommendation's Issues

mwparserfromhell parsing bugs

In some cases, parser leaves artefacts, for example:

  • {{rp at the end of file [[File:Young Diffraction.png|thumb|left|[[Thomas Young (scientist)|Thomas Young]]'s [[double-slit experiment]] in 1801 showed that light can act as a [[wave]], helping to invalidate early [[elementary particle|particle]] theories of light.<ref name=Halliday/>{{rp|964}}]] from Photon page

Collect alternative text for images as well

Some images might have alternative text (alt tag) specified additionally to the caption, which is displayed when image cannot be rendered. Offen it is different from caption itself, thus it is useful to collect it as well.

Rewrite API to WikiDownloader so that all data about article retrieved only once

There is a problem that firstly we retrieve all main data and only after that we start the second iteration for e.g. parsing titles. And that is bad because before we start parsing captions article might have been modified already. So we should either merge all of them into the same pipeline or parse captions and headings only based on already cached data.

Include SVG images into dataset

Originally we removed all SVG images from dataset since there were mostly auxiliary Wikipedia icons, presented on a lot of articles and causing the noise. Although, filtering them out based on SVG format is incorrect since there are a lot of legit images with that extension as well.

We need to figure out the way to remove icons without sacrificing meaningful SVG images

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.