Superb

Build with the API / Your first reading

Your first reading

In a minute, read a sentence and get back what it asserts, with what force, and what it leaves out. The deterministic reading needs no account or key.

1. Install the SDK, or call the API#

npm install @superbworks/sdk
import { Superb } from '@superbworks/sdk';
const superb = new Superb();   // https://superb.works; pass { baseUrl } for your own deployment

Without the SDK, POST https://superb.works/v1/read with the same JSON body.

2. Read a sentence#

const reading = await superb.read({ text: 'Fees may apply if you cancel after 30 days.' });

reading.propositions[0];
// { text: 'Fees may apply', actor: { text: 'Fees', lemma: 'fee', sense: { gloss: 'a fixed charge for a privilege…' } },
//   predicate: { lemma: 'apply' }, modality: 'possible', polarity: 'affirmative', voice: 'active',
//   condition: 'c2', gaps: [{ slot: 'amount', ask: 'How much?' }] }

reading.clauses.map(c => [c.kind, c.relation, c.text]);
// [['main', null, 'Fees may apply'], ['subordinate', 'condition', 'if you cancel after 30 days']]

reading.suggestions.map(s => [s.kind, s.quote, s.ask]);
// [['unstated-cost', 'Fees', 'How much?'], ['missing-start', '30 days', 'Counted from what?']]

3. Read the result#

Every record has an id and a span into the text you sent, so text.slice(...span) is always the words it is about. The proposition says the fees are possible, not certain, and that the sentence depends on a condition. The two gaps are the slots a reader cannot fill from the wording alone, and each comes with the question they would ask.

actor.sense is the sense the reading chose for "Fees", with a strength. Senses are an estimate; structure is not. calibrated is always false, and nothing in a reading is a verdict on what the writer meant.

4. Try it here#

The form below sends a text to this host's free deterministic reading and shows the propositions and suggestions it returns.

5. Pick your next task#

Try it here

Read a text

Sent to this host’s deterministic API. This does not save an analysis or contact a model provider.