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.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

config.py 421B

  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