Or, as an example, using Python [requests](http://docs.python-requests.org/en/master/):
...
...
@@ -50,7 +50,7 @@ If a sentence was provided during the request, these fields are present:
If at least one successful parse exists, the these fields are included:
-`parses`: A dictionary of parse-identifiers (e.g. "np") to actual parses as OpenCCG outputs them.
-`json_parses`: A version of the OpenCCG outputs in a flat JSON. This is produced via a custom grammer for [TatSu](https://github.com/neogeny/TatSu), with some post-processing to keep the JSON hierarchy flat (TatSu creates right-deep trees).
-`json_parses`: A version of the OpenCCG outputs in a flat JSON. This is produced via a custom grammar for [TatSu](https://github.com/neogeny/TatSu), with some post-processing to keep the JSON hierarchy flat (TatSu creates right-deep trees).
*Note:* The keys are shared between `parses` and `json_parses`, thus you can easily lookup the original output for a JSON parse and vice-versa.
...
...
@@ -61,9 +61,9 @@ An example response for the sentence "Take the cup." is: