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

  1. 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.
  2. Enter obituaryText, honorifics, maximumHonorifics using the field table and calculation rules, then run the tool.
  3. Read honorificCount, foundHonorifics, withinLimit. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. 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 fieldMeaningValue type; see rules belowRequirement
obituaryTextObituary textstringRequired
honorificsHonorifics to countlist of stringRequired
maximumHonorificsMaximum honorific occurrencesinteger; minimum: 0Required

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 fieldMeaningValue type
honorificCountHonorific occurrencesinteger; minimum: 0
foundHonorificsHonorifics foundlist of string
withinLimitWithin supplied limitboolean
json
{
  "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

  1. Obituary Honorific Style — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies