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

maps by keyword #10

Merged

Conversation

kdutia
Copy link
Member

@kdutia kdutia commented Oct 8, 2024

Streamlit app to let users generate maps based on keyword/regex searches.

I had to commit some map projections as there's no easy way of accessing them via code otherwise (I thought about S3 but realised they'd probably be more sensible to keep here as self-contained examples will be beneficial when the repo is public).

Also some commit history weirdness going on with the document viewer being in this PR (also merged to main, which might've been the result of me pushing a local commit..?) but feel free to ignore that.

Screen.Recording.2024-10-09.at.09.44.17.mov

Copy link

linear bot commented Oct 8, 2024

PODS-1824 build maps notebook that loads from huggingface

relative and absolute paragraph count per country of:

  • all keywords in OR arrangement
  • each of the keywords

also return total num geographies and documents

based on explore_keywords function

extensions:

  • also count per document; per family
  • look at bigram count based on a keyword

notes from Anne

todo list

  • get basic plot working
  • return total number of geographies
  • return total number of families
  • show relative and absolute frequency plots
  • show plots per keyword

@kdutia kdutia changed the title Feature/pods 1824 maps by keyword maps by keyword Oct 8, 2024
@kdutia kdutia marked this pull request as ready for review October 9, 2024 09:12
Copy link
Contributor

@AnneIsARealProgrammerNow AnneIsARealProgrammerNow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few commented out lines (including a TODO) which might be deleted but looks good otherwise!

@kdutia kdutia merged commit 86defbb into main Oct 9, 2024
2 checks passed
@kdutia kdutia deleted the feature/pods-1824-build-maps-notebook-that-loads-from-huggingface branch October 9, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants