blob: 8ed5a074286daa86e7a637c38838d0ecf4600b37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
CLEANUP_FILES = bigram.db gb_char.bin gbk_char.bin \
phrase_index.bin pinyin_index.bin
clean:
cd data ; $(RM) $(CLEANUP_FILES) ; cd $(CURDIR)
build:
cd utils/storage ; ./gen_binary_files ; cd $(CURDIR)
cd utils/storage ; ./import_interpolation < ../../data/interpolation.text ; cd $(CURDIR)
rebuild:
git reset --hard
sed -i -e "s/#define LAMBDA_PARAMETER 0.588792/#define LAMBDA_PARAMETER $(LAMBDA_PARAMETER)/" src/include/novel_types.h
make > /dev/null
|