<commit_before>.. _sunlight.capitolwords:

=====================
sunlight.capitolwords
=====================

For every day Congress is in session, `Capitol Words <http://capitolwords.org>`_
visualizes the most frequently used words in the Congressional Record,
giving you an at-a-glance view of which issues lawmakers address on a
daily, weekly, monthly and yearly basis. Capitol Words lets you see
what are the most popular words spoken by lawmakers on the House and Senate floor.


.. automethod:: sunlight.services.capitolwords.capitolwords.dates
.. automethod:: sunlight.services.capitolwords.capitolwords.phrases
.. automethod:: sunlight.services.capitolwords.capitolwords.phrases_by_entity
.. automethod:: sunlight.services.capitolwords.capitolwords.text<commit_msg>Fix docs for capitolwords using autoclass.<commit_after>.. _sunlight.capitolwords:

=====================
sunlight.capitolwords
=====================

For every day Congress is in session, `Capitol Words <http://capitolwords.org>`_
visualizes the most frequently used words in the Congressional Record,
giving you an at-a-glance view of which issues lawmakers address on a
daily, weekly, monthly and yearly basis. Capitol Words lets you see
what are the most popular words spoken by lawmakers on the House and Senate floor.

CapitolWords
============

.. autoclass:: sunlight.services.capitolwords.CapitolWords
    :members:
{'fraction_non_alphanumeric': 0.13314244810307801, 'fraction_numerical': 0.0, 'mean_word_length': 5.59433962264151, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7541675', 'n_tokens_mistral': 387, 'n_tokens_neox': 350, 'n_words': 138}