This repository contains source code for the article: English: https://ierae.co.jp/blog/jpnihds_en/ 日本語: https://ierae.co.jp/blog/jpnihds_jp/
JpnIHDS.dat contains last Japanese input from the user (Japanese IME keyboard). Use this source code to parse it.
File: read_jpn_pred.cpp
Visual Studio:
cl.exe /c /GS- /TP read_jpn_pred.cpp /Foread_jpn_pred.o
MinGW:
x86_64-w64-mingw32-gcc -c read_jpn_pred.cpp -o read_jpn_pred.o
inline-execute read_jpn_pred.o
File: imppred_parser.cpp
Create new console application in Visual Studio, import imppred_parser.cpp.
Read file from current user's folder:
imppred_parser.exe
Read specified file:
imppred_parser.exe C:\Temp\JpnIHDS.dat
File: userdict_jpn.py
Verbose output with slack extraction:
./userdict_jpn.py advanced JpnIHDS.dat
Simple "timestamp: text" output:
./userdict_jpn.py JpnIHDS.dat