Description
Format a supplied empty-category label with an optional positive coindex.
Language-processing records distinguish tokens, code points, UTF-16 positions and UTF-8 byte offsets. Tag grammars and local transition checks do not validate a full annotation sequence. Log-loss units determine perplexity conversion, while identifier suffixes may be textual labels rather than ordinary decimal numbers.
Format a supplied empty-category label with an optional positive coindex.
When to use this tool
Use Constituency Empty Node Label when you already have emptyCategory, coindex and need to format a supplied empty-category label with an optional positive coindex.
How to use the tool and how it works
- Enter emptyCategory, coindex. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read label. Use the output convention below.
Require emptyCategory nonempty without whitespace and coindex a nonnegative safe integer; append -coindex only if it is nonzero.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| emptyCategory | Empty Category | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| coindex | Coindex | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| label | Label | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"emptyCategory": "*T*",
"coindex": 3
},
"output": {
"label": "*T*-3"
}
} Limitations and assumptions
- Zero means no displayed suffix. No parse tree, category inventory, linguistic interpretation or coindex relationship is checked.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Validate the complete corpus format, tokenizer, annotation sequence and scoring convention. Use a full parser or model evaluation when needed, preserving the exact offset unit, vocabulary and log base rather than inferring them from a local transformation.
References
Similar or alternative tools
- Coreference Mention Number Label
Label a supplied document mention number and coreference cluster.
- Pronunciation Lexicon Alternative Index
Label a supplied pronunciation-lexicon alternative index.