Metadata-Version: 2.1
Name: reader-toolbox
Version: 0.1.3
Summary: A command-line interface for interacting with Distant Reader study carrels
Home-page: https://github.com/ericleasemorgan/reader-toolbox
Author: Eric Lease Morgan
Author-email: emorgan@nd.edu
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/ericleasemorgan/reader-toolbox/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE



# Distant Reader Toolbox

A command-line interface for interacting with [Distant Reader](https://distantreader.org) study carrels


## Installation

```
  pip install reader-toolbox
```

## Quick start

```  
  # configure; accept the default
  rdr set 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](https://pypi.org/project/reader-toolbox)
   * documentation: [https://reader-toolbox.readthedocs.io](https://reader-toolbox.readthedocs.io)
   * source code: [https://github.com/ericleasemorgan/reader-toolbox](https://github.com/ericleasemorgan/reader-toolbox)
   * bug tracker: [https://github.com/ericleasemorgan/reader-toolbox/issues](https://github.com/ericleasemorgan/reader-toolbox/issues)

---
Eric Lease Morgan &lt;emorgan@nd.edu&gt;  
September 4, 2021


