You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 17, 2026. It is now read-only.
After running ./searcher, the user is prompted to choose option 1(search), 2(autocomplete) or 3(exit).
If user chooses option 1, user can input a single word, and a list of book names and their corresponding file path is returned. The results are ranked in order of frequency.
The user also has the option of using AND, OR, or NOT operators in their search. For example, "bean AND gone", "here OR there", "green NOT red".
If user chooses option 2, they can input a prefix, and a list of all words beginning with that prefix are returned.
If user chooses option 3, the program exits.
If user inputs invalid input, they are prompted to input 1,2 or 3 again.