From 8913c73ebe2ca88984099d6781b0549943e165fd Mon Sep 17 00:00:00 2001 From: cjer <9987721+cjer@users.noreply.github.com> Date: Wed, 22 Dec 2021 16:49:48 +0200 Subject: [PATCH] formatting typo --- api_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_main.py b/api_main.py index b164a4c..d48e5b6 100644 --- a/api_main.py +++ b/api_main.py @@ -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.