Complete grammatical units. The default grain for scoring handoffs to RootCause.
| Verb | Description |
|---|---|
ingest | Load sentences from a para |
count | Return the number of sentences |
identify | Locate specific sentences matching a query |
from pulp import radiance
rw = radiance.rootwords
rw.sentences.ingest(source="sample.txt")
print(rw.sentences.count()) # 4
hits = rw.sentences.identify(query="*")