# katta8681/codealpha_semantic-analysis architecture

> Architecture diagram of the GitHub repository katta8681/codealpha_semantic-analysis, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/katta8681/codealpha_semantic-analysis
- Repository: https://github.com/katta8681/codealpha_semantic-analysis

## Overview

This repository is a tiny sentiment-analysis script. It evaluates three hard-coded sentences with TextBlob and prints each sentence with its polarity score. The only external runtime dependency shown is TextBlob; no additional domain stages or internal layers are supported by the source.

Main entry points: [`Semantic_analysis.py`](https://github.com/katta8681/codealpha_semantic-analysis/blob/main/Semantic_analysis.py) (Sentiment Script)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_script["Sentiment Script"]
node_textblob["TextBlob"]

node_user -->|"runs"| node_script
node_script -->|"analyzes text"| node_textblob
node_script -->|"prints scores"| node_user

click node_script "https://github.com/katta8681/codealpha_semantic-analysis/blob/main/Semantic_analysis.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_script toneTeal
class node_textblob toneIndigo
```

## Components

### Other components

- **User**
- [Sentiment Script](https://github.com/katta8681/codealpha_semantic-analysis/blob/main/Semantic_analysis.py): `Semantic_analysis.py`
- **TextBlob**

## Connections

- User → Sentiment Script: runs
- Sentiment Script → TextBlob: analyzes text (evidence: `Semantic_analysis.py`)
- Sentiment Script → User: prints scores (evidence: `Semantic_analysis.py`)
