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 a real entity frequency graph #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

reefdog
Copy link
Contributor

@reefdog reefdog commented Mar 22, 2019

Divide the entity appearances into time intervals (based on the overall interval scope) and render a graph of lines corresponding to each entity. When an entity is activated, activate its corresponding line, and vice versa. (Hover-highlighting of graph lines is currently disabled.)

33

It also improves the layout to better accommodate the graph, especially at smaller viewport sizes.

This version is slow and not as interactive as I’d like, and the tick interval calculation method is very simplistic and needs improving.

Affects #33

Divide the entity appearances into time intervals (based on the overall
interval scope) and render a graph of lines corresponding to each
entity. When an entity is activated, activate its corresponding line,
and vice versa. (Hover-highlighting of graph lines is currently
disabled.)

It also improves the layout to better accomodate the graph, espcially
at smaller viewport sizes.

This version is slow and not as interactive as I’d like, and the tick
interval calculation method is very simplistic and needs improving.

Affects #33
@reefdog reefdog requested a review from slifty March 22, 2019 12:08
@100ideas
Copy link

100ideas commented Jan 14, 2021

Hi, cool project!

This year I've found myself wishing I had easy access to full transcripts of congressional hearings and speeches, realistically via scraping and parsing some closed captioning feed somewhere (c-span). (I want to be able to search, skim, and also automatically clean, typeset and markup the transcripts so they are easy to share on social media in normal page-sized screenshots.)

I found this interesting project and tried to fire 'er up on a lark. I got it working in my fork on my local macbook, although I had to change minor versions of a few deps to make it all work with older node (11 lts)

Also merged in this PR from that introduced the experimental graph rendering and took a quick shot at fixing missing sentence_ids caused by postgres/sequelize/graphql/apollo crap that I honestly didn't want to get too deep into. So the demo works, for me, but the ORM part is probably wrongish.

Just wanted to say I found value in your project and provide a link to my usage. Thanks again!

(also implemented really bad polling w/ apollo <query>ies and basic filtering of the transcript list when clicking an entity.

2021-01-13_screenshot_100ideas

100ideas referenced this pull request in 100ideas/talking-point-tracker Jan 14, 2021
@slifty
Copy link
Member

slifty commented Jan 21, 2021

@100ideas that is amazing! Really glad it was useful -- as far as caption streams you may also be interested in the (currently in progress) TV Kitchen. It's still in development and will be more useful once I have set up some actual caption streams that are easy to plug into, but just in case you find it worth a follow.

Also, I should merge in this PR...

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.

3 participants