Spaces, breaking and non-breaking, emoji, and raw ASCII controls, counted apart from visible text.
| Verb | Description |
|---|---|
ingest | Load special characters |
count | Return the count |
identify | Locate specific special characters |
from pulp import radiance
rw = radiance.rootwords
rw.specialchars.ingest(source="sample.txt")
print(rw.specialchars.count()) # 18
hits = rw.specialchars.identify(query="*")