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.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

4 lat temu
123456789101112131415161718192021222324
  1. elmo_repository="elmo"
  2. elmo_source="https://github.com/sca-research/ELMO.git"
  3. echo "====== ELMO Online ======"
  4. if [ -d ${elmo_repository} ]; then
  5. echo " - ELMO tool already installed."
  6. else
  7. # Download the tool
  8. git clone --depth=1 --branch=master ${elmo_source} ${elmo_repository}
  9. rm -rf ./${elmo_repository}/.git
  10. # Compile the tool
  11. cd ./${elmo_repository}
  12. make
  13. cd ..
  14. fi
  15. #current_directory=${PWD##*/}
  16. #echo " - Current directory: ${current_directory}"
  17. echo
  18. #cd ..
  19. #python3 -m ${current_directory}.run_server
  20. python3 run_server.py