A simple CLI-based Text Autocomplete System built using the Trie Data Structure in Java.
- Loads a dictionary from a
.txt
file - Accepts user input prefix
- Displays word suggestions using Trie traversal
- CLI-based Java application
autocomplete-system-java/ ├── src/ │ ├── TrieNode.java │ ├── Trie.java │ └── Autocomplete.java ├── dictionary.txt └── README.md
apple app apricot banana bat ball batman basket cat cab camera
- Open terminal in the project folder.
- Compile Java files:
javac src/*.java