~/talk

Using Scattertext and the Python NLP Ecosystem for Text Visualization

Talkat PyData Seattle 2017 · 2017-06-30..07-02· [data-visualization, python]
links:none on file
slides:none on file

Open-source Python code produces interactive D3 charts embeddable in Jupyter using Scattertext with spaCy, Empath and agefromname and the demo corpus of 2012 convention speeches; it claims a novel scaled F score that privileges mid-frequency discriminative terms, uses PMI to keep some multiword expressions, and contrasts classes (e.g. Democrats vs Republicans) to reveal surprising patterns like job creators versus workers language. The package is pip-installable and the visuals work live in the notebook.

AI-written summary · about

  1. 0:00Scattertext and NLP visualization
  2. 8:26Installing Scattertext
  3. 10:24Loading 2012 convention data
  4. 11:06Scaled F-score for term association
  5. 14:37Term frequencies and stop words
  6. 16:44Label overlap with tie-breaking
  7. 18:28Comparing term-finding algorithms
  8. 21:00Gender inference with agefromname
  9. 24:08Gender and party in language
  10. 25:59Topic and emotion modeling with empath
  11. 26:40Word vectors and deep learning
  12. 29:36Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.