opencc-python/helper at master · weig2000/opencc-python · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

merge.py
    for merging dictionary files into a single file (requires Python3)

    merge 'TWPhrasesIT.txt', 'TWPhrasesName.txt', and 'TWPhrasesOther.txt'
    into a single file 'TWPhrases.txt'

    Run:
        python3 merge.py


reverse.py
    for reversing dictionary keys and values (requires Python3)

    reverse 'TWVariants.txt', 'TWPhrases.txt', 'HKVariants.txt'
    to 'TWVariantsRev.txt', 'TWPhrasesRev.txt', 'HKVariantsRev.txt'

    Run:
        python3 reverse.py