Skip to content

Commit

Permalink
Moving "src-tokenized" under "translation"
Browse files Browse the repository at this point in the history
No need to repeat it every time in n-best lists
  • Loading branch information
tuetschek committed Jul 21, 2014
1 parent 1b1aa2c commit 6cbc52e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The response structure includes:

- *errorCode* (number): error code (see below), returned always
- *errorMessage* (string): a description of the error, returned always
- **translation** (list of structures): contains the translated data as a list of
- *translation* (list of structures): contains the translated data as a list of
sentences, each of which contains the following:

- *translated* (list of structures): list of translations of one sentence
Expand All @@ -79,11 +79,15 @@ The response structure includes:
- *rank* (integer): rank of the translation option (ranked according
to the scoring, counting from 0; this may be omitted as the rank
is given by the order in the *translated* list)
- *src-tokenized* (string): tokenization of the source sentence (for
the translation of multiple sentences and/or alignment information)
- Further items if alignment information or multiple translation
options are requested (see below).

- *src-tokenized* (string): tokenization of the source sentence (for
the translation of multiple sentences and/or alignment information)

- *src* (string): source sentence in its original form (optional)


- *translationId*: string, globally unique ID of the transaction
(may be omitted)

Expand Down

0 comments on commit 6cbc52e

Please sign in to comment.