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.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

  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