xle "in der Arena veranstalten die Ritter ein Turnier ."
```
This will take a few seconds. The parses will then be output to the command line using XLE's own XML export format. If you want to store the output in a file, append `> name_of_your_file.xml` at the end of the command.
...
...
@@ -38,15 +40,21 @@ Note that the `xle` specified in the `docker run` command is the name of the tag
</details>
<details>
<summary>Alternative using mounts</summary>
<summary>Alternative using a Base64-encoded JSON</summary>
If you don't want to use mounts, you can also create a JSON file that contains the attributes `sentence` and `grammar`, like this (shortened version, we just want to illustrate how to deal with newlines):
```json
{"sentence":"in der Arena veranstalten die Ritter ein Turnier","grammar":"DEMO GERMAN CONFIG (1.0)\n ROOTCAT IP.\n LEXENTRIES (DEMO GERMAN).\n RULES (DEMO GERMAN).\n GOVERNABLERELATIONS SUBJ OBJ OBJ-TH OBL-TH.\n SEMANTICFUNCTIONS ADJ.\n NONDISTRIBUTIVES NUM PERS GEND.\n----\n\nDEMO GERMAN RULES (1.0)\n\nIP --> NP: (^ SUBJ) = !;\n I'\n (PUNCT).\n\nNP --> { Det N | NP PP: ! $ (^ ADJ); }.\n\nI' --> I VP.\n\n..."}
```
The container also allows the Grammar file to be mounted as `/grammar.lfg`, if this is more useful for your specific use case:
Store the file as `data.json`. You can then run the container like this: