Added NSFW classification
This commit is contained in:
parent
47f38f2da1
commit
3294bc4ea6
|
@ -4,7 +4,7 @@
|
|||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/services/corenlp/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.8" jdkType="Python SDK" />
|
||||
<orderEntry type="jdk" jdkName="3.6 @ Ubuntu 18.04" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="head.load" level="application" />
|
||||
<orderEntry type="library" name="d3" level="application" />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="3.6 @ Ubuntu 18.04" project-jdk-type="Python SDK" />
|
||||
</project>
|
42
Makefile
42
Makefile
|
@ -1,12 +1,6 @@
|
|||
clean_apt:
|
||||
rm -rf mods/apt/build mods/apt/dist mods/apt/coffeehousemod_apt.egg-info
|
||||
|
||||
clean_scikit_image:
|
||||
rm -rf deps/scikit-image/build deps/scikit-image/dist deps/scikit-image/scikit-image.egg-info
|
||||
|
||||
clean_numpy:
|
||||
rm -rf deps/numpy/build deps/numpy/dist deps/numpy/numpy.egg-info
|
||||
|
||||
clean_stopwords:
|
||||
rm -rf mods/stopwords/build mods/stopwords/dist mods/stopwords/coffeehousemod_stopwords.egg-info
|
||||
|
||||
|
@ -40,9 +34,10 @@ clean_translation:
|
|||
clean_corenlp:
|
||||
cd services/corenlp; make clean
|
||||
|
||||
clean_nsfw:
|
||||
rm -rf services/nsfw_detection/build services/nsfw_detection/dist services/nsfw_detection/coffeehouse_nsfw.egg-info
|
||||
|
||||
clean:
|
||||
make clean_scikit_image
|
||||
make clean_numpy
|
||||
make clean_apt clean_stopwords clean_tokenizer clean_nlpfr
|
||||
make clean_dltc
|
||||
make clean_his
|
||||
|
@ -51,16 +46,11 @@ clean:
|
|||
make clean_translation
|
||||
make clean_langdetect
|
||||
make clean_spamdetect
|
||||
make clean_nsfw
|
||||
make clean_corenlp
|
||||
|
||||
# ======================================================================================================================
|
||||
|
||||
build_scikit_image:
|
||||
cd deps/scikit-image; python3 setup.py build; python3 setup.py sdist
|
||||
|
||||
build_numpy:
|
||||
cd deps/numpy; python3 setup.py build; python3 setup.py sdist
|
||||
|
||||
build_apt:
|
||||
cd mods/apt; python3 setup.py build; python3 setup.py sdist
|
||||
|
||||
|
@ -101,27 +91,23 @@ build_translation:
|
|||
build_corenlp:
|
||||
cd services/corenlp; make build
|
||||
|
||||
build_nsfw:
|
||||
cd services/nsfw_detection; python3 setup.py build; python3 setup.py sdist
|
||||
|
||||
build:
|
||||
make build_nlpfr
|
||||
make build_his
|
||||
make build_dltc
|
||||
make build_alg
|
||||
make build_numpy
|
||||
make build_scikit_image
|
||||
make build_rf
|
||||
make buid_translation
|
||||
make build_langdetect
|
||||
make build_spamdetect
|
||||
make build_nsfw
|
||||
make build_corenlp
|
||||
|
||||
# ======================================================================================================================
|
||||
|
||||
install_scikit_image:
|
||||
cd deps/scikit-image; python3 setup.py install
|
||||
|
||||
install_numpy:
|
||||
cd deps/numpy; python3 setup.py install
|
||||
|
||||
install_apt:
|
||||
cd mods/apt; python3 setup.py install
|
||||
|
||||
|
@ -160,10 +146,14 @@ install_spamdetect:
|
|||
install_translation:
|
||||
cd services/translation; python3 setup.py install
|
||||
|
||||
install:
|
||||
install_nsfw:
|
||||
cd services/nsfw_detection; python3 setup.py install
|
||||
|
||||
install_full:
|
||||
make install_rf
|
||||
make install_numpy
|
||||
make install_scikit_image
|
||||
make install
|
||||
|
||||
install:
|
||||
make install_nlpfr
|
||||
make install_his
|
||||
make install_dltc
|
||||
|
@ -171,6 +161,7 @@ install:
|
|||
make install_translation
|
||||
make install_langdetect
|
||||
make install_spamdetect
|
||||
make install_nsfw
|
||||
make build_corenlp
|
||||
|
||||
# ======================================================================================================================
|
||||
|
@ -186,6 +177,7 @@ system_prep_pip:
|
|||
|
||||
system_prep_gcc:
|
||||
apt -y install gcc build-essential
|
||||
python3 -m pip install cython
|
||||
|
||||
system_prep_java:
|
||||
apt -y install openjdk-8-jre openjdk-8-jdk ant
|
||||
|
|
|
@ -39,7 +39,8 @@ make start_translate # Starts the translation server, runs on port 5603
|
|||
|
||||
| Name | Protocol | Port |
|
||||
|--------------------------------|----------|------|
|
||||
| CoffeeHouse Language Detection | HTTP | 5606 |
|
||||
| CoffeeHouse Spam Detection | HTTP | 5601 |
|
||||
| CoffeeHouse NSFW Classifier | HTTP | 5602 |
|
||||
| CoffeeHouse Translate | HTTP | 5603 |
|
||||
| CoffeeHouse CoreNLP | HTTP | 5604 |
|
||||
| CoffeeHouse Language Detection | HTTP | 5606 |
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue