# Threat Analysis Platform
A real-time analysis tool for identifying inflammatory and hateful speech in Ethiopian online content. Developed by **DRSE.G** and powered by the **CIR Inflammatory Keywords Lexicon**.
## Features
- **Browser Extension**: Seamlessly integrate the analysis tool into your web browser. Get the Chrome Extension
- **Multi-Language Support**: Analyzes text in English, Amharic (አማርኛ), Afaan Oromo, and Tigrigna (ትግርኛ)
- **Real-Time Analysis**: Instant analysis of text content
- **Detailed Categorization**: Identifies hate speech types (Gender, Ethnic, Religious, Political)
- **File Upload Support**: Analyze .txt files directly
- **Privacy-Focused**: No data storage, no accounts required, completely anonymous
- **Context Information**: Provides explanations for why terms are considered inflammatory
## Project Structure
```
platfrom/
│
├── app.py # Flask web server
├── analyzer.py # Core analysis engine
├── requirements.txt # Python dependencies
├── plan.md # Project planning document
├── Inflammatory Keywords and Phrases for CIR TFGBV Research.csv # Lexicon data
│
└── templates/
├── index.html # Main analysis interface
└── about.html # About/documentation page
```
## Installation
### Prerequisites
- Python 3.8 or higher
- pip (Python package installer)
### Setup Steps
1. **Navigate to the project directory**:
```bash
cd C:\Projects\platfrom
```
2. **Install required packages**:
```bash
pip install -r requirements.txt
```
3. **Verify the CSV lexicon file is present**:
- Ensure `Inflammatory Keywords and Phrases for CIR TFGBV Research.csv` exists in the project root
## Running the Application
1. **Start the Flask server**:
```bash
python app.py
```
2. **Access the application**:
- Open your web browser
- Navigate to: `
lo …