speech-to-element
Version:
Add real-time speech to text functionality into your website with no effort
10 lines (9 loc) • 350 B
TypeScript
export declare class Text {
private static readonly FIRST_CHAR_REGEX;
private static readonly DOUBLE_LINE;
private static readonly ONE_LINE;
static capitalize(text: string): string;
static lineBreak(text: string): string;
static isCharDefined(char?: string): boolean;
static breakupIntoWordsArr(text: string): string[];
}