A command-line interface for interacting with Distant Reader study carrels
Project description
Distant Reader Toolbox
A command-line interface for interacting with Distant Reader study carrels
Installation
pip install reader-toolbox
Quick start
# configure; accept the default
rdr set -s local
# add an item to your library
rdr download homer
# read homer
rdr read homer
# list all words
rdr ngrams homer
# list all bigrams
rdr ngrams -s 2 homer
# list all bigrams and count them
rdr ngrams -s 2 -c homer
# search
rdr concordance homer
# search again, but specify a query
rdr concordance -q war homer
# list subject-verb-object fragments; please be patient
rdr grammars homer
# list noun phrases
rdr grammars -g nouns homer
# cluster; do the items in the carrel group themselves?
rdr cluster homer
# topic model; similar to cluster but with more detail
rdr tm homer
# page through additional carrels for downloading
rdr catalog -l remote -h
# download another carrel
rdr download pride
# download yet another carrel
rdr download sonnets
# list your carrels
rdr catalog
Description and background
The Reader Toolbox -- run from the command-line as rdr
-- is designed to interact with Distant Reader study carrels. Using the Toolbox you can things such as but not limited to:
- search and browse the collection of more than 3,000 publicly available study carrels
- download study carrels from the public collection and add them to your own collection
- count & tabulate the most frequent ngrams (one-word, two-word, etc. phrases) occurring in study carrels
- apply concordancing (keyword-in-context searching) against study carrels
- apply topic modeling (extracting latent themes) against study carrels
- extract information from your study carrels matching specific grammars
- and more
Links
- download: https://pypi.org/project/reader-toolbox
- documentation: https://reader-toolbox.readthedocs.io
- source code: https://github.com/ericleasemorgan/reader-toolbox
- bug tracker: https://github.com/ericleasemorgan/reader-toolbox/issues
Eric Lease Morgan <emorgan@nd.edu>
April 15, 2022
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
reader-toolbox-0.1.8.tar.gz
(50.2 kB
view hashes)
Built Distribution
Close
Hashes for reader_toolbox-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d99ebae81e358bce42fd4306b1c787e8765b1bdaa53e38ea838c31de0d1b18d |
|
MD5 | 9a337a21e1e8b6c7392dff8ab6b27a16 |
|
BLAKE2b-256 | 19edb6411d13d3463125f8790463afb24f9ddf23e09e45fcda7f3321c1546104 |