./search
- add
src/newmethod.h, define the class here - add
include/newmethod.cpp, define your function here - add
#include "newmethod.h"intoinclude/methods.h - use your class and function in
src/search.cpp - add
newmethod.ointoOBJlist in Makefile - make clean && make
./search
- Global Strategy
- Try to find possible zhuyin typing in english
- If the matched string contains only digits, we will discard it. For example,
ppp040404, since the matched string is040404(暗暗暗), it contains only digits.
- NoType
- [a-zA-Z0-9]*chinese[a-zA-Z0-9]*
- OnlyChinese
- chinese
Please refer to README in each tool in tools/ for more details
tools/bopomofo/contains a modified project from others github that crawl chinese <-> zhuyin mapping from Ministry of Education's dictionary, we need the merged.dict to check if a zhuyin combination can form a chinesetools/exception/add zhuyin combination into exception list so that each methods could prevent from generate false positive of zhuyin password