🔍 A Java-based AI assistant using Apache OpenNLP for NLP processing. Detects sentences, names, and locations from user input.
Technology | Description |
---|---|
Java | Core programming language |
Apache OpenNLP | Used for NLP tasks like tokenization, sentence detection, and entity recognition |
Maven | Dependency management |
IntelliJ IDEA | IDE used for development |
Console-based UI | Text-based interaction with users |
✔ Sentence Detection – Splits user input into meaningful sentences
✔ Named Entity Recognition (NER) – Detects names (persons) and locations from input
✔ Interactive Chat Interface – Engages in a conversation with users
✔ Exit Command – User can type "exit"
to terminate the assistant
git clone https://github.com/yourusername/AI-Assistant-NLP.git
cd AI-Assistant-NLP
Ensure you have Java 17+ and Apache OpenNLP installed.
For Maven Users:
mvn clean install
Download and place NLP models inside src/main/resources/models/
:
en-token.bin
en-sent.bin
en-ner-person.bin
en-ner-location.bin
Start the AI Assistant with:
mvn exec:java -Dexec.mainClass="AIAssistant"
Try entering:
Hello, I am John. I will visit Paris next Monday.
The assistant should detect:
Name: John
Location: Paris
🚀 Facial Emotion Recognition – Add emotion detection using DeepLearning4J & OpenCV
🤖 Chatbot Integration – Connect with ChatGPT API for advanced responses
📅 Task Scheduling – Implement a feature to schedule and manage tasks