How danzgne/dictionary-app works
Project type and purpose
• This is a standalone Java desktop application (packaged as dictionary-app.jar) that provides dictionary operations (add, edit, delete, search), search history tracking, and mini “game modes” (guess definition, guess slang, random word, today’s word).
• Users interact via GUI windows, which call into core logic to manipulate data stored in flat files under resources/.
File structure
• Top-level:
• dictionary-app.jar – the compiled runnable JAR
• resources/ – data files and manifest
• src/ – all .java source files
• In src/:
• GUI classes (AddGUI, DeleteGUI, EditGUI, MainMenu, ManagementGUI, etc.) – UI layer
• Main.java – application entry point
• FileOperations.java – reads/writes resources/*.txt and today_word.bin
• SlangWordList.java, History.java, DefinitionsSearchHistory.java, SlangSearchHistory.java – domain models for words and histories
• KMPMatcher.java – search algorithm implementation
• No database; data persistence is via text/binary files in resources/.
Relevant README insights
• README only indicates project name (“dictionary-app”), so everything else must be inferred from code structure.