UNPKG

@doc-tools/sentenizer

Version:

text segmentation into sentences

21 lines (20 loc) 1.25 kB
declare const fst: (obj: string[]) => string; declare const snd: (obj: string[]) => string; declare const sentences: (str: string) => string[]; declare const words: (str: string) => string; declare const delimiters: (str: string) => string; declare const fstToken: (str: string) => string; declare const fstWord: (str: string) => string; declare const lstToken: (str: string) => string; declare const lstWord: (str: string) => string; declare const fstChars: (width?: number) => (str: string) => string; declare const lstChars: (width?: number) => (str: string) => string; declare const spacePrefix: (str: string) => string; declare const spaceSuffix: (str: string) => string; declare const quotationGenericPrefix: (str: string) => string; declare const quotationClosePrefix: (str: string) => string; declare const delimiterPrefix: (str: string) => string; declare const bracketsClosePrefix: (str: string) => string; declare const spaces: (str: string) => string; declare const dotSuffix: (str: string) => string; export { sentences, words, delimiters, fst, snd, fstToken, fstWord, lstToken, lstWord, fstChars, lstChars, spacePrefix, spaceSuffix, quotationGenericPrefix, quotationClosePrefix, bracketsClosePrefix, delimiterPrefix, spaces, dotSuffix, };