INSTALL GUIDE - fingeredman/teanaps GitHub Wiki
Install Guide
Docker
for Everyone
-
Docker
μ΄λ―Έμ§λ₯Ό νμ©ν΄ κ°μνκ²½μ ꡬμ±νμ¬TEANAPS
λ₯Ό νμ©ν μ μμ΅λλ€. -
Docker
νμ©λ°©λ²μ κ°μ΄λ λ¬Έμλ₯Ό μ°Έκ³ ν΄μ£ΌμΈμ. (Windows/macOS)μ΄λ―Έμ§ λ€μ΄λ‘λ (μ΅μ μ΄λ―Έμ§ μ λ°μ΄νΈ)
Windows CMD or macOS Terminal :
docker pull fingeredman/teanaps-ubuntu:latest
컨ν μ΄λ μμ± λ° μ€ν
Windows CMD or macOS Terminal :
docker run -it -p 8888:8888 --name teanaps-ubuntu fingeredman/teanaps-ubuntu:latest
컨ν μ΄λ μμ± λ° μ€ν (Local ν΄λ μ°κ²°)
Windows CMD or macOS Terminal :
docker run -it -p 8888:8888 -v [Local ν΄λ κ²½λ‘]:/home/teanaps_home/workspace/local --name teanaps-ubuntu fingeredman/teanaps-ubuntu:latest
Notes :
- [Local ν΄λ κ²½λ‘]μ κ³΅λ°±μ΄ ν¬ν¨λλ κ²½μ° μ 체 κ²½λ‘λ₯Ό ν°λ°μ΄ν("C:\Windows...")λ‘ κ°μΈμ£ΌμΈμ.
컨ν μ΄λ νκ²½μμ Local νκ²½μΌλ‘ λκ°κΈ°
Windows CMD or macOS Terminal :
exit
컨ν μ΄λ μμ λ° μ»¨ν μ΄λ μ μ
Windows CMD or macOS Terminal :
docker start teanaps-ubuntu docker attach teanaps-ubuntu
컨ν μ΄λ μ’ λ£
Windows CMD or macOS Terminal :
docker container stop teanaps-ubuntu
컨ν μ΄λ μμ
Windows CMD or macOS Terminal :
docker container rm teanaps-ubuntu
TEANAPS
λΌμ΄λΈλ¬λ¦¬ μ λ°μ΄νΈWindows CMD or macOS Terminal :
cd /home/teanaps_home/anaconda3/lib/python3.7/site-packages rm -r teanaps git clone https://github.com/fingeredman/teanaps.git
컨ν μ΄λ λ΄Jupyter Notebook
μ€νWindows CMD or macOS Terminal :
jupyter notebook --ip=0.0.0.0 --port=8888 --allow-root
Notes :
- λͺ
λ Ήμ΄ μ€ν ν μλ μΆννλ URLμ Local νκ²½μ Chrome λΈλΌμ°μ μ μ
λ ₯νλ©΄
Jupyter Notebook
μ μ μν μ μμ΅λλ€. - Local νκ²½μ λ³λ μ€μΉλ
Jupyter Notebook
μ΄ μ€νλκ³ μλ€λ©΄ μ’ λ£ν΄μ£ΌμΈμ.
Requirements
-
PyTorch - conda install pytorch=1.6.0
-
Gensim - pip install gensim==3.8.3
-
NLTK - pip install nltk
Python Code (in Jupyter Notebook) :
import nltk nltk.download('punkt') nltk.download('averaged_perceptron_tagger') nltk.download('wordnet') nltk.download('omw-1.4')
-
Plotly - pip install plotly==2.7.0
-
PyLDAvis - pip install pyldavis==2.1.2
-
Wordcloud - pip install wordcloud
-
xlwt - pip install xlwt
-
Jpype - pip install jpype1==0.7.1
-
KoNLPy - pip install konlpy==0.5.1
-
newspaper - pip install newspaper3k
-
sumy - pip install sumy
-
SoyNLP - pip install soynlp
-
PyTorch-CRF - pip install pytorch-crf
-
PyTorch-Transformers - pip install pytorch-transformers
-
Transformers - pip install transformers
-
GluonNLP - pip install gluonnlp
-
pytorch-pretrained-bert - pip install pytorch-pretrained-bert
-
mxnet - pip install --upgrade mxnet>=1.5.0
- M1 Mac μ¬μ©μμ κ²½μ° λ§ν¬ μ°Έμ‘°νμ¬ λ³λμ€μΉ νμν¨ (LINK)
-
iGraph - pip install python-igraph
-
pdfminer - pip install pdfminer
-
docx2txt - pip install docx2txt
-
python-pptx - pip install python-pptx
-
networkx - pip install networkx
-
hdbscan - pip install hdbscan
-
Korean Sentence Splitter - pip install kss
-
JobLib - pip install joblib==1.1.0
-
mecab - Install MeCab for Mac/Linux, or Windows
- Windows μ΄μ체μ μ€μΉ μ νμ¬ νμ΄μ¬ λ²μ μ΄ 3.8μΈ κ²½μ° *.whl νμΌ λ€μ΄λ‘λ (Link)