Em Dash En Dash Hyphen Usage Classifier
Bounded common dash-use mapping from caller declared function, not grammatical text inference or universal stylebook rule.
Description
Em Dash En Dash Hyphen Usage Classifier: look up a supported built-in reference entry.
A dash or hyphen can mark a break, a range or a compound. The tool maps a declared use to a conventional punctuation name.
This tool returns a built-in reference entry for an exact supported selector. The supported entries and their scope are part of the tool; no website or current external table is queried.
When to use this tool
Use this tool when the supplied inputs match the specific operation described above and you need a repeatable result under its stated convention.
- Check the supported input and output contract against an existing calculation or observation.
- Use the complete example to confirm units, selector spelling and result interpretation.
How to use the tool and how it works
- Enter every field in the input table using the stated units and the exact supported selector spelling where applicable.
- Run the tool. Correct input errors before interpreting an output.
- Read the result fields below; use accompanying flags and the stated sign, boundary or model convention when interpreting a number.
Match parenthetical-break to em dash, inclusive-range to en dash, and compound-word to hyphen.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| declaredUse | Declared use. | Exact value: "parenthetical-break", "inclusive-range", "compound-word" |
| declaredUse | Built-in entry |
|---|---|
| "parenthetical-break" | em dash |
| "inclusive-range" | en dash |
| "compound-word" | hyphen |
| Output field | Interpretation |
|---|---|
| result | Object containing the following named result fields. |
| result.reference | The stored entry for the exact selected key; its type may be text, a number or a list. |
{
"input": {
"declaredUse": "inclusive-range"
},
"output": {
"result": {
"reference": "en dash"
}
}
} Limitations and assumptions
- No sentence is parsed and no publication-specific style guide is applied.
- Every declared field is required and unexpected fields are rejected. Numeric inputs must be finite; input errors are distinct from a valid false result or an explicitly qualified output.
- Extremely large inputs and nonfinite or excessively large outputs are rejected. List positions reported by the tool use zero-based indices unless stated otherwise.
Alternative or Complementary methods
Check the underlying observations, units and conventions independently before using the result in a larger workflow. The tools listed below address nearby tasks; compare their inputs and scope before substituting one for this operation.
References
Similar or alternative tools
- choropleth bin classifier
Choropleth class breaks group numeric values into ordered map bins.
- correction vs retraction classifier lookup
Correction and retraction address different independently assessed scopes of unreliability.