Skip to content

Samera2022/DictionaryViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DictionaryViewer

DictionaryViewer Logo
A simple viewer for Microsoft Pinyin Input Method dictionary files.

Java Version License Latest Release Pre-Release Ask DeepWiki

Features

  • Binary Parsing: Directly parses Microsoft Pinyin Input Method's binary dictionary files (ChsPinyinIH.dat and ChsPinyinUDL.dat).
  • Data Visualization:
    • IH Viewer: Displays input history with phrase frequency.
    • UDL Viewer: Displays user-defined lexicon entries and their types (User Defined / System Learned).
  • Search & Filter: Real-time keyword search to quickly find specific dictionary entries.
  • Sorting: Sort dictionary entries by phrase, frequency, or type in ascending or descending order.
  • Export Data: Export your dictionary data to CSV, TXT, or JSON formats for backup or analysis.
  • File Operations:
    • Auto-Detection: Automatically locates dictionary files in the default Windows %APPDATA% directory.
    • Open/Save As: Open external .dat files or save a copy of the current dictionary to a new location.
  • Multi-Language Support: Fully localized interface supporting English, Simplified Chinese, Russian, Japanese, French, and Spanish with instant language switching.

Getting Started

Quick Launch

I. Jar User

  1. Make sure that you have installed JRE 1.8 or above. If not, you can download HERE.
  2. Download the latest .jar file from the Releases page.
  3. Double-click the jar file OR use cmd to run the application:
    java -jar DictionaryViewer.jar

II. Exe User

  1. Download the latest .exe file from the Releases page.
  2. Click to start! All environments are integrated into one exe file!

Development Document

This project is built using standard Java Swing.

  • Project Structure:
    • io.github.samera2022.dictionary_viewer.io: Handles binary file reading and parsing logic.
    • io.github.samera2022.dictionary_viewer.ui: Contains Swing UI components (BaseDictionaryFrame, IHMainFrame, UDLMainFrame, etc.).
    • io.github.samera2022.dictionary_viewer.Localizer: Manages internationalization (I18N).

For more up-to-date documents, you can refer to Samera2022/DictionaryViewer | DeepWiki or just click the badge at the top of the article, which offers weekly-updated docs for this project.

Others

Contributing

Contributions are welcome! If you find a bug or have a feature request, please open an issue or submit a pull request.

Author

Developer: Samera2022

License

This project is licensed under the GNU General Public License v3.0 License - see the LICENSE file for details.

About

A Custom Dictionary Editor powered by Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages