Skip to content

RB363/zhuyin_searcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CNS final

Run

  • ./search

Add new detection method

  1. add src/newmethod.h, define the class here
  2. add include/newmethod.cpp, define your function here
  3. add #include "newmethod.h" into include/methods.h
  4. use your class and function in src/search.cpp
  5. add newmethod.o into OBJ list in Makefile
  6. make clean && make
  7. ./search

Strategies

  • 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 is 040404 (暗暗暗), it contains only digits.
  • NoType
    • [a-zA-Z0-9]*chinese[a-zA-Z0-9]*
  • OnlyChinese
    • chinese

Notice

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 chinese
  • tools/exception/ add zhuyin combination into exception list so that each methods could prevent from generate false positive of zhuyin password

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 51.2%
  • Python 46.7%
  • Makefile 1.7%
  • C 0.4%