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.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

config.py 421B

123456789101112131415161718
  1. import os
  2. ### Configuration of the module
  3. TEMPLATE_REPOSITORY = 'templates'
  4. PROJECTS_REPOSITORY = 'projects'
  5. ELMO_TOOL_REPOSITORY = 'elmo-tool'
  6. ELMO_EXECUTABLE_NAME = 'elmo'
  7. ELMO_OUTPUT_ENCODING = 'latin-1'
  8. ELMO_INPUT_FILE_NAME = 'input.txt'
  9. MODULE_PATH = os.path.dirname(os.path.abspath(__file__))
  10. SEARCH_EXCLUSION_TAG = 'EXCLUDE-FROM-SIMULATION-SEARCH'
  11. # ELMO Server
  12. DEFAULT_HOST = 'localhost'
  13. DEFAULT_PORT = 5000