Skip to content

Shailaja-poojari/autocomplete-system-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Autocomplete System – Java CLI Project

A simple CLI-based Text Autocomplete System built using the Trie Data Structure in Java.


Features

  • Loads a dictionary from a .txt file
  • Accepts user input prefix
  • Displays word suggestions using Trie traversal
  • CLI-based Java application

Project Structure

autocomplete-system-java/ ├── src/ │ ├── TrieNode.java │ ├── Trie.java │ └── Autocomplete.java ├── dictionary.txt └── README.md


Sample Dictionary (dictionary.txt)

apple app apricot banana bat ball batman basket cat cab camera


How to Run

  1. Open terminal in the project folder.
  2. Compile Java files:
javac src/*.java

About

A CLI-based Text Autocomplete System using Trie Data Structure implemented in Java.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages