Files
2026-07-13 12:48:55 +08:00

16 lines
311 B
TypeScript

import nlp from 'compromise'
type View = ReturnType<typeof nlp>
interface ParagraphView extends View {
}
export interface ParagraphMethods {
/** */
paragraphs(): ParagraphView
}
/** extended compromise lib **/
declare const nlpParagraphs: nlp.TypedPlugin<ParagraphMethods>
export default nlpParagraphs