Skip to content

DOS-Knight/Simple-AI-Text-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

47 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Simple AI Text Analyzer Banner

๐Ÿง  Simple AI Text Analyzer

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


๐Ÿ“– About The Project

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.


โœจ Features

๐Ÿ˜Š Sentiment Analysis

Detect emotional tone using weighted keyword scoring.

Supported emotions:

  • Happy
  • Sad
  • Angry
  • Anxious
  • Neutral

๐Ÿ“š Topic Classification

Automatically identify one or more relevant categories:

  • Technology
  • Education
  • Health
  • Sports
  • Economy
  • Entertainment
  • Science
  • General

๐Ÿ”‘ Keyword Extraction

Extract meaningful keywords and important concepts from text.

Supported Languages:

  • English
  • Persian (Farsi)

โœ‚๏ธ Text Summarization

Generate concise summaries using extractive summarization techniques.

๐Ÿ“Š Data Visualization

Visualize emotion distribution using interactive charts powered by MPAndroidChart.

๐Ÿ’พ Local History

Store previous analyses using SQLite for quick access and review.

๐ŸŒ™ Modern Android Experience

  • Material Design UI
  • Dark Mode Support
  • Responsive Layout
  • Fast Local Processing
  • Fully Offline Operation

๐Ÿง  NLP Pipeline

Input Text
    โ”‚
    โ–ผ
Keyword Processing
    โ”‚
    โ”œโ”€โ”€ Sentiment Analysis
    โ”œโ”€โ”€ Topic Classification
    โ”œโ”€โ”€ Keyword Extraction
    โ””โ”€โ”€ Text Summarization
    โ”‚
    โ–ผ
Results & Visualization

๐Ÿ— Architecture

MainActivity
โ”‚
โ”œโ”€โ”€ SentimentAnalyzer
โ”œโ”€โ”€ TopicAnalyzer
โ”œโ”€โ”€ KeywordExtractor
โ”œโ”€โ”€ SummaryGenerator
โ”‚
โ”œโ”€โ”€ DatabaseHelper
โ”‚
โ””โ”€โ”€ HistoryActivity

Core Components

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 Stack

Technology Purpose
Java Application Development
Android SDK Mobile Platform
SQLite Local Storage
AndroidX Android Components
Material Design User Interface
MPAndroidChart Data Visualization

๐Ÿ“ฑ Screenshots

Home Screen

Analysis Results

Dark Theme Screen

History Screen


๐Ÿš€ Installation

Clone Repository

git clone https://github.com/DOS-Knight/Simple-AI-Text-Analyzer.git

Run Locally

  1. Open Android Studio
  2. Select Open Project
  3. Choose the cloned repository
  4. Wait for Gradle Sync
  5. Run on an Android emulator or physical device

๐Ÿ”’ Privacy

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.


๐Ÿ”ฎ Future Roadmap

  • TensorFlow Lite Integration
  • Advanced NLP Processing
  • Named Entity Recognition (NER)
  • Voice Input Support
  • Enhanced Summarization Algorithms
  • Multi-Language Expansion
  • Export & Share Features

๐Ÿค Contributing

Contributions, suggestions, and improvements are welcome.

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Open a Pull Request

๐Ÿ‘จโ€๐Ÿ’ป Author

DOS-Knight

GitHub: https://github.com/DOS-Knight


โญ Support

If you find this project useful, consider starring the repository.


๐Ÿ“„ License

Licensed under the MIT License. See LICENSE for more information.

About

Android text analysis app featuring sentiment detection, topic classification, keyword extraction, text summarization and local history storage.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages