UNPKG

wordmap

Version:
17 lines (16 loc) 490 B
export interface KeyValueStore { [key: string]: any; } export default class CorpusFaker { private static random; private static character; private static randomCharacter; private static randomWord; private static randomPhrase; private static lexiconSentencePair; private n; constructor(n?: number); lexiconCorpusGenerate(length: number, lexicon: KeyValueStore): string[][]; lexicon(entryCount: number): KeyValueStore; private lexiconEntry; }