An intelligent offline Android application that performs sentiment analysis, topic classification, keyword extraction, and text summarization using lightweight Natural Language Processing techniques.
100% Offline โข Privacy-Focused โข No APIs Required
Simple AI Text Analyzer is a lightweight Android application that demonstrates practical Natural Language Processing (NLP) concepts directly on mobile devices.
Unlike many AI-powered applications, all text processing is performed locally on the device without relying on cloud services, external APIs, or internet connectivity.
The application analyzes user input and generates valuable insights such as emotional sentiment, topic categorization, keyword extraction, and concise summaries while maintaining complete user privacy.
Detect emotional tone using weighted keyword scoring.
Supported emotions:
- Happy
- Sad
- Angry
- Anxious
- Neutral
Automatically identify one or more relevant categories:
- Technology
- Education
- Health
- Sports
- Economy
- Entertainment
- Science
- General
Extract meaningful keywords and important concepts from text.
Supported Languages:
- English
- Persian (Farsi)
Generate concise summaries using extractive summarization techniques.
Visualize emotion distribution using interactive charts powered by MPAndroidChart.
Store previous analyses using SQLite for quick access and review.
- Material Design UI
- Dark Mode Support
- Responsive Layout
- Fast Local Processing
- Fully Offline Operation
Input Text
โ
โผ
Keyword Processing
โ
โโโ Sentiment Analysis
โโโ Topic Classification
โโโ Keyword Extraction
โโโ Text Summarization
โ
โผ
Results & Visualization
MainActivity
โ
โโโ SentimentAnalyzer
โโโ TopicAnalyzer
โโโ KeywordExtractor
โโโ SummaryGenerator
โ
โโโ DatabaseHelper
โ
โโโ HistoryActivity
| Component | Description |
|---|---|
| MainActivity | Main user interface |
| SentimentAnalyzer | Emotion detection engine |
| TopicAnalyzer | Multi-label topic classifier |
| KeywordExtractor | Keyword extraction module |
| SummaryGenerator | Extractive summarization engine |
| DatabaseHelper | SQLite database manager |
| HistoryActivity | Analysis history viewer |
| Technology | Purpose |
|---|---|
| Java | Application Development |
| Android SDK | Mobile Platform |
| SQLite | Local Storage |
| AndroidX | Android Components |
| Material Design | User Interface |
| MPAndroidChart | Data Visualization |
git clone https://github.com/DOS-Knight/Simple-AI-Text-Analyzer.git- Open Android Studio
- Select Open Project
- Choose the cloned repository
- Wait for Gradle Sync
- Run on an Android emulator or physical device
All text analysis is performed locally on the user's device.
No data is:
- Uploaded
- Shared
- Collected
- Tracked
- Sent to external servers
The application works entirely offline.
- TensorFlow Lite Integration
- Advanced NLP Processing
- Named Entity Recognition (NER)
- Voice Input Support
- Enhanced Summarization Algorithms
- Multi-Language Expansion
- Export & Share Features
Contributions, suggestions, and improvements are welcome.
- Fork the repository
- Create a feature branch
- Commit your changes
- Open a Pull Request
DOS-Knight
GitHub: https://github.com/DOS-Knight
If you find this project useful, consider starring the repository.
Licensed under the MIT License. See LICENSE for more information.




