@unglish/word-generator
Version:
A simple generator for creating unglish words.
17 lines • 806 B
TypeScript
import { WordGenerationContext } from "../types";
/**
* Converts an array of syllables into a string representation of the word's pronunciation.
*
* @param syllables - An array of Syllable objects representing the word.
* @returns A string representing the pronunciation of the entire word.
*
* This function iterates through each syllable in the given array,
* pronounces each syllable using the `pronounceSyllable` function,
* and concatenates the results to form a complete pronunciation guide
* for the entire word.
*
* The resulting string contains the phonetic representation of the word,
* with each syllable's sounds joined together without any separators.
*/
export declare const generatePronunciation: (context: WordGenerationContext) => void;
//# sourceMappingURL=pronounce.d.ts.map