UNPKG

@diplodoc/sentenizer

Version:

text segmentation into sentences

22 lines (21 loc) 1.33 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 omitNonAlphaStart: (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, omitNonAlphaStart, fstChars, lstChars, spacePrefix, spaceSuffix, quotationGenericPrefix, quotationClosePrefix, bracketsClosePrefix, delimiterPrefix, spaces, dotSuffix, };