@promptbook/remote-server
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
17 lines (16 loc) • 500 B
TypeScript
import type { ExpectationAmount } from '../../pipeline/PipelineJson/Expectations';
/**
* Split text into sentences
*
* @public exported from `@promptbook/utils`
*/
export declare function splitIntoSentences(text: string): ReadonlyArray<string>;
/**
* Counts number of sentences in the text
*
* @public exported from `@promptbook/utils`
*/
export declare function countSentences(text: string): ExpectationAmount;
/**
* TODO: [🥴] Implement counting in formats - like JSON, CSV, XML,...
*/