Git Product home page Git Product logo

Comments (4)

pbhagav1 avatar pbhagav1 commented on July 17, 2024

I think the Stephen Wolfram's link is his personal website, and the html pages we are considering over here belong to wiki. So I feel that we need to consider only "/wiki/<scientist_name>" links present in the html page. Similarly, in the 'Margaret_Hamilton_(scientist)' page we find link for "wiki/Augusta_Ada_Lovelace_Award", but not for "wiki/Ada_Lovelace", the one we have to look for.

Hope this clarifies.

from main.

sdimitro avatar sdimitro commented on July 17, 2024

but I do look only for /wiki/ ....
Look into Hamilton's html page and you will see:

< href="/wiki/Ada_Lovelace" title="Ada Lovelace">Ada Lovelace Ada_Lovelace

from main.

aronwc avatar aronwc commented on July 17, 2024

The file Margaret_Hamilton_(scientist) does not have a link to Ada Lovelace. It's possible that the live version of the page on Wikipedia does, but it may have changed since these data were collected.

More generally, be sure that when you're matching the url to the list of names, you're comparing the entire string after the final / in the url.
E.g., wiki/Augusta_Ada_Lovelace_Award should look for Augusta_Ada_Lovelace_Award in the names set.

from main.

sdimitro avatar sdimitro commented on July 17, 2024

Oh I see. It is my fault because I used your fetch pages script before running pagerank.py.
I thought that since it is in our repo we had to run it first to fetch the data.

from main.

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.