Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alt text column to imageGraph (imageLinks) #420

Closed
ruebot opened this issue Feb 10, 2020 · 2 comments
Closed

Add alt text column to imageGraph (imageLinks) #420

ruebot opened this issue Feb 10, 2020 · 2 comments

Comments

@ruebot
Copy link
Member

ruebot commented Feb 10, 2020

Let's add a new column to .imageGraph(); the text of the alt attribute if it exists in an image tag.

@lintool
Copy link
Member

lintool commented Feb 10, 2020

.imageGraph() or .imagegraph()? The latter would be consistent with .webgraph(). Or alternatively, rename .webgraph() to .linkgraph() and you get a nice {image, link} symmetry.

@ianmilligan1
Copy link
Member

FWIW I like .imagegraph()

@ruebot ruebot self-assigned this Feb 10, 2020
ruebot added a commit that referenced this issue Feb 10, 2020
- Update ExtractImageLinksRDD to grab alt text
- Add alt_text column to imagegraph
- Update tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants