Skip to content

Commit

Permalink
formatting typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cjer committed Dec 22, 2021
1 parent 50aae3e commit 8913c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def get_spans(doc, token_fields=None, morph_fields=None):
- `0`: tokens, morphemes (if morph endpoint) and final requested nemo preds
- `1`: adds intermediate nemo preds
- for example when running `morph_hybrid`, you also get NER preds `nemo_multi`, `nemo_multi_align_token`, `nemo_multi_align_morph`
- `2` adds syntactic dependency tree features (SPMRL): `head', `deprel`
- `2` adds syntactic dependency tree features (in SPMRL scheme): `head`, `deprel`
- `include_yap_outputs` flag - adds yap raw output to each sentence
* Results are in JSON form in HTTP response body:
- The response of `run_ncrf_model` is a list `NCRFPreds` objects, each containing the tokenized text and the corresponding predicted BIOSE labels.
Expand Down

0 comments on commit 8913c73

Please sign in to comment.