UNPKG

sbd-ts

Version:

Split text into sentences with Sentence Boundary Detection (SBD).

16 lines (15 loc) 696 B
export default class Match { static setAbbreviations(abbr: any): void; static isCapitalized(str: any): boolean; static isSentenceStarter(str: any): boolean; static isCommonAbbreviation(str: any): number; static isTimeAbbreviation(word: any, next: any): boolean; static isDottedAbbreviation(word: any): boolean; static isCustomAbbreviation(str: any): boolean; static isNameAbbreviation(wordCount: any, words: any): boolean; static isNumber(str: any, dotPos?: any): boolean; static isPhoneNr(str: any): any; static isURL(str: any): any; static isConcatenated(word: any): false | any[]; static isBoundaryChar(word: any): boolean; }