text-analysis-workspace/text-analysis-workspace/README.md
Text Analysis Workspace
This project is a web-based application that allows users to analyze text files or raw text input. It processes the text to provide various linguistic metrics and outputs the results in a downloadable CSV format.
Features
- Upload a text file or paste raw text for analysis.
- Calculate metrics such as mean length of utterance, total number of words, type-token ratio, and more.
- Display the analysis results on the screen.
- Export the results as a CSV file.
Technologies Used
- Python
- Flask
- NLTK (Natural Language Toolkit)
- Pandas
- HTML/CSS
Setup Instructions
- Clone the repository:
git clone <repository-url>
cd text-analysis-workspace
- Create a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the required dependencies:
pip install -r requirements.txt
- Run the application:
- Open your web browser and navigate to:
Usage
- Use the provided form to upload a text file or paste your text into the designated area.
- Click the “Analyze” button to process the text.
- View the results displayed on the screen.
- Download the results as a CSV file using the provided link.
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue for any enhancements or bug fixes.
License
This project is licensed under the MIT License. See the LICENSE file for details.# ScriptSense