Skip to content

Commit

Permalink
fix: filter opencc data file
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Oct 10, 2024
1 parent f71f16b commit b68ea03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ opencc-data:
@echo "copy opencc data"
@rm -rf $(targetDir)
@mkdir -p $(targetDir)
@cp $(srcDir)/dictionary/* $(targetDir)/
@cp $(srcDir)/config/* $(targetDir)/
@cp $(srcDir)/dictionary/*.txt $(targetDir)/
@cp $(srcDir)/config/*.json $(targetDir)/
@rm $(targetDir)/TWPhrases*.txt
@python $(srcDir)/scripts/merge.py $(srcDir)/dictionary/TWPhrases*.txt $(targetDir)/TWPhrases.txt
@python $(srcDir)/scripts/reverse.py $(targetDir)/TWPhrases.txt $(targetDir)/TWPhrasesRev.txt
Expand Down

0 comments on commit b68ea03

Please sign in to comment.