Input a corpus and get ngram relative frequency visualizations. This is the first stage, so right now it is only compatible with the two CSV files in the repository. In the future, there will be features to process other corpora. The current CSV files are from the Providence Corpus.
https://sla.talkbank.org/TBB/phon/Eng-NA/Providence
-
Download app.py and the two CSVs in the same folder.
-
Ensure you have the necessary python packages (see requirements.txt)
-
Open terminal and navigate to folder containing app.py and CSV files
-
Run this command:
shiny run app.py
Your terminal should display something like this:
INFO: Started server process [22574] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) INFO: 127.0.0.1:53621 - "GET / HTTP/1.1" 200 OK INFO: ('127.0.0.1', 53623) - "WebSocket /websocket/" [accepted] INFO: connection open
-
Copy and past the URl into your browser
- Here, the URL is http://127.0.0.1:8000 but yours might be different.
Note: Ignore the first tab, it is a placeholder for later changes.