From 139e7d3e3d748dc0c84bb463788c30121003bf89 Mon Sep 17 00:00:00 2001 From: amytangzheng Date: Mon, 12 Aug 2024 09:13:58 -0400 Subject: [PATCH] updates to "getting started" --- website/src/App.css | 11 +++++++++++ website/src/components/pages/HowItWorks.js | 23 +++++++++++++++------- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/website/src/App.css b/website/src/App.css index dfc39735..ae32bd09 100644 --- a/website/src/App.css +++ b/website/src/App.css @@ -95,6 +95,17 @@ body { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); } +.mini-code { + background-color: #f5f5f5; + border: 1px solid #ccc; + color: red; + width: fit-content; + border-radius: 4px; + font-size: 0.8em; + font-family: 'Courier New', Courier, monospace; + margin: 10px 0; +} + .bullet-points { margin-left: 50px; display: inline-block; diff --git a/website/src/components/pages/HowItWorks.js b/website/src/components/pages/HowItWorks.js index 9318efde..6834ff08 100644 --- a/website/src/components/pages/HowItWorks.js +++ b/website/src/components/pages/HowItWorks.js @@ -34,7 +34,8 @@ function HowItWorks() { We believe these contributions will allow the toolkit to become a living resource for anyone interested in understanding and quantifying conversations.

-
+ +

Getting Started

Our tool is publicly available on PyPI, with a getting started guide available in our documentation. @@ -48,19 +49,27 @@ function HowItWorks() {

pip install team_comm_tools
+

- You will also need to manually install some additional required dependencies to set up the package. In your terminal, run the following: + This command will automatically install our package and all required dependencies. +

+ +

+ Troubleshooting +

+

+ In the event that some dependency installations fail (for example, you may get an error that en_core_web_sm from Spacy is not found, + or that there is a missing NLTK resource), + please run this simple one-line command in your terminal, which will force the installation of Spacy and NLTK dependencies:


- ./setup.sh + download_resources
-

- (This links to a file on our GitHub page; in a future version, we will update the package to automatically install these dependencies.) -


- Once complete, you should see, “Installation and requirements check completed successfully.” This means you are ready to go! + If you encounter a further issue in which the ‘wordnet’ package from NLTK is not found, it may be related to a known bug in NLTK in which the wordnet package does not unzip automatically. + If this is the case, please follow the instructions to manually unzip it, documented in this thread.

Technical Documentation: ReadTheDocs