(value: str)
| 220 | |
| 221 | |
| 222 | def _safe_text_key(value: str) -> str: |
| 223 | key = normalize_whitespace(value) |
| 224 | if not key or _short_acronym_like(key): |
| 225 | return "" |
| 226 | if len(re.sub(r"\s+", "", _match_key(key))) < 8: |
| 227 | return "" |
| 228 | return key |
| 229 | |
| 230 | |
| 231 | def _dedupe_values(values: list[str]) -> list[str]: |
no test coverage detected