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.

  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