Updated Makefile
This commit is contained in:
parent
155bb1ecca
commit
cd2ed30536
6
Makefile
6
Makefile
|
@ -31,6 +31,9 @@ clean_spamdetect:
|
|||
clean_translation:
|
||||
rm -rf services/translation/build services/translation/dist services/translation/coffeehouse_translation.egg-info
|
||||
|
||||
clean_corenlp:
|
||||
cd services/corenlp; make clean
|
||||
|
||||
clean:
|
||||
make clean_apt clean_stopwords clean_tokenizer clean_nlpfr
|
||||
make clean_dltc
|
||||
|
@ -40,6 +43,7 @@ clean:
|
|||
make clean_translation
|
||||
make clean_langdetect
|
||||
make clean_spamdetect
|
||||
make clean_corenlp
|
||||
|
||||
# ======================================================================================================================
|
||||
|
||||
|
@ -92,7 +96,7 @@ build:
|
|||
make buid_translation
|
||||
make build_langdetect
|
||||
make build_spamdetect
|
||||
make build
|
||||
make build_corenlp
|
||||
|
||||
# ======================================================================================================================
|
||||
|
||||
|
|
|
@ -8,12 +8,12 @@ build:
|
|||
mv coffeehouse_corenlp.jar build/
|
||||
|
||||
# Adding Libs
|
||||
cp lib/* build/
|
||||
cp liblocal/* build/
|
||||
cp -r lib/* build/
|
||||
cp -r liblocal/* build/
|
||||
|
||||
# Updating models
|
||||
python3 update_model.py
|
||||
cp /var/resources/CoffeeHouseData-CoreNLP/* build/
|
||||
cp -r /var/resources/CoffeeHouseData-CoreNLP/* build/
|
||||
|
||||
start:
|
||||
cd build; java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 5604 -timeout 15000
|
Loading…
Reference in New Issue