mostlyDigits method
Returns true if the analyzed text contains more digits than letters.
This method helps determine whether a string should be treated as primarily numeric for correction purposes.
Implementation
bool mostlyDigits() {
return digits > letters;
}