You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+16
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,17 @@ keywords:
103
103
104
104
## Existing scripting functionality
105
105
106
+
### Python API
107
+
108
+
There is a Python API that collects general functionality that can be useful in multiple scripts.
109
+
It can be found in the `python_api` folder and is tracked as a [Poetry](https://python-poetry.org/) project.
110
+
You can install it with `poetry install` or `pip install .`.
111
+
112
+
The API contains the following modules:
113
+
114
+
* `exercise_heap.header`: All code interacting with YAML headers.
115
+
* `exercise_heap.description`: All code interacting with markdown-formatted description texts.
116
+
106
117
### Import
107
118
108
119
Import is currently possible with the following scripts:
@@ -123,6 +134,11 @@ Import is currently possible with the following scripts:
123
134
* `create_tagnames.py`: Creates list of tag names from Stack Exchange Data Dump.
124
135
* `suggest_tags.py`: Suggests which tags to add or remove for a newly added exercise (based on lists generated by `create_tagnames.py` and a simple nearest-neighbor search).
125
136
137
+
138
+
### Translation
139
+
140
+
* `translate_exercise_text.py`: Translates title and text description of one or multiple exercises into a given target language using neural machine translation.
0 commit comments