A comprehensive collection of AI interaction and analysis tools, focusing on psychological clustering and open-ended response analysis. This repository provides tools for analyzing survey responses, performing psychological clustering, and processing qualitative data.
- Process and analyze survey responses
- Automated coding of qualitative data
- Theme identification and analysis
- Verification step quantification
- Statistical summaries and reporting
- Advanced clustering algorithms
- Pattern recognition
- Data visualization
- Statistical analysis
- CSV data import/export
- Natural Language Processing
- Automated theme detection
- Statistical analysis
- Comprehensive logging and debugging
- GUI interfaces for data selection
AI-Interaction-Scripts/
βββ scripts/
β βββ README.md # Detailed script documentation
β βββ __init__.py # Package initialization
β βββ polyPsych/ # Psychological analysis modules
β β βββ clustering.py # Clustering algorithms
β β βββ open_end.py # Open-ended response analysis
β βββ utils/ # Utility modules
β βββ __init__.py # Utils initialization
β βββ debug_utils.py # Debugging utilities
β βββ logging_config.py # Logging configuration
βββ logs/ # Log file directory
β βββ analysis_*.log # Analysis logs
β βββ debug_*.log # Debug logs
βββ debug_logs/ # Detailed debug information
βββ requirements.txt # Project dependencies
βββ setup.py # NLTK setup script
βββ run.py # Main execution script
βββ README.md # This file- Python 3.7 or higher
- pip package manager
- Virtual environment (recommended)
- Clone the repository:
git clone https://github.com/yourusername/AI-Interaction-Scripts.git
cd AI-Interaction-Scripts- Create and activate virtual environment:
python -m venv venv
# Windows
.\venv\Scripts\activate
# macOS/Linux
source venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Run NLTK setup:
python setup.py- Start the analysis tool:
python run.py- Choose from available options:
- Load and analyze CSV responses
- Run example analysis
- View debug logs
- Exit
ID,Definition,VerificationSteps
1,"Response text...","Verification steps..."-
Response Coding
- Automated categorization
- Theme identification
- Frequency analysis
-
Verification Analysis
- Step counting
- Statistical summaries
- Pattern identification
-
Theme Analysis
- Keyword extraction
- Frequency analysis
- Pattern recognition
- Analysis logs:
logs/analysis_[timestamp].log - Debug logs:
debug_logs/debug_[timestamp].log - Error tracking: Comprehensive stack traces
- DEBUG: Detailed execution information
- INFO: General operational messages
- WARNING: Potential issues
- ERROR: Operation failures
- CRITICAL: System-critical issues
- NLTK-based processing
- Fallback mechanisms
- Custom sentence splitting
- Descriptive statistics
- Frequency analysis
- Pattern recognition
- Clustering analysis
- Coded responses
- Theme frequencies
- Statistical summaries
- Verification patterns
- CSV format
- JSON data
- Statistical reports
- Debug logs
-
NLTK Data
- Run
setup.py - Check internet connection
- Verify data directory
- Run
-
Data Loading
- Check CSV format
- Verify encoding (UTF-8)
- Column name matching
-
System Resources
- Memory management
- Process optimization
- Resource allocation
- Fork the repository
- Create feature branch
- Implement changes
- Submit pull request
- Follow PEP 8 style guide
- Add comprehensive documentation
- Include unit tests
- Update README as needed
This project is licensed under the MIT License - see the LICENSE file for details.
- Review documentation
- Check debug logs
- Submit issues
- Contact maintainers
- NLTK Project
- Python Data Science Community
- Open Source Contributors
Made with β€οΈ by [Your Name]
For detailed script-specific documentation, see scripts/README.md