Python-ELMO is a Python library which offers an encapsulation of the binary tool ELMO, in order to manipulate it easily in Python and SageMath script.
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- elmo_repository="elmo"
- elmo_source="https://github.com/sca-research/ELMO.git"
-
- echo "====== ELMO Online ======"
- if [ -d ${elmo_repository} ]; then
- echo " - ELMO tool already installed."
- else
- # Download the tool
- git clone --depth=1 --branch=master ${elmo_source} ${elmo_repository}
- rm -rf ./${elmo_repository}/.git
-
- # Compile the tool
- cd ./${elmo_repository}
- make
- cd ..
- fi
-
- #current_directory=${PWD##*/}
- #echo " - Current directory: ${current_directory}"
- echo
-
- #cd ..
- #python3 -m ${current_directory}.run_server
- python3 run_server.py
|