Obituary Honorific Style
Count obituary honorific usage against a supplied limit.
Description
An obituary honorific scan counts supplied strings inside text.
An obituary honorific scan counts supplied strings inside text. A repetition ceiling applies to the aggregate number of matches.1
Count obituary honorific usage against a supplied limit.
When to use Obituary Honorific Style
Use this tool to count obituary honorific usage against a supplied limit.
Prepare the text, recorded observations, aligned figures or editorial criteria requested. Confirm what each label, count, timestamp or supplied flag represents before interpreting the result.
How to use Obituary Honorific Style and understand its results
- Prepare the text, recorded observations, aligned figures or editorial criteria requested. Confirm what each label, count, timestamp or supplied flag represents before interpreting the result.
- Enter obituaryText, honorifics, maximumHonorifics using the field table and calculation rules, then run the tool.
- Read honorificCount, foundHonorifics, withinLimit. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| obituaryText | Obituary text | string | Required |
| honorifics | Honorifics to count | list of string | Required |
| maximumHonorifics | Maximum honorific occurrences | integer; minimum: 0 | Required |
Enter text, honorific list and nonnegative integer maximum. Match case-insensitive substrings nonoverlapping within each honorific; duplicate or overlapping honorific definitions count separately. Return found original labels, total and gate. Empty honorifics count zero occurrences but are included as found.
within=totalOccurrences≤maximum Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| honorificCount | Honorific occurrences | integer; minimum: 0 |
| foundHonorifics | Honorifics found | list of string |
| withinLimit | Within supplied limit | boolean |
{
"input": {
"obituaryText": "Dr. Lee taught for years. Lee retired in 2020.",
"honorifics": [
"Dr.",
"Mr."
],
"maximumHonorifics": 1
},
"output": {
"honorificCount": 1,
"foundHonorifics": [
"Dr."
],
"withinLimit": true
}
} Limitations and assumptions
No word boundaries, title appropriateness or person identity is checked.
Numeric inputs must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Lists are limited to 100,000 entries; the rules above may require smaller limits. Extremely large text inputs are rejected. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors. A successfully returned false flag is an evaluated outcome; its meaning is explained above.
Alternative or Complementary methods
Use Courtesy Title Repetition: Count repeated courtesy titles in copy against a supplied limit. For a complementary task, use Obituary Section Coverage: Audit required obituary section coverage.
References
-
Obituary Honorific Style — tool.io
Similar or alternative tools
- Courtesy Title Repetition
Count repeated courtesy titles in copy against a supplied limit.
- Obituary Section Coverage
Audit required obituary section coverage.