UNPKG

taipa

Version:

Taiwanese morphological parsing library

18 lines 673 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getBlocks = exports.checkNumberOfLetterTonal = void 0; const tonalres_1 = require("./tonalres"); const taikana_1 = require("./taikana"); function checkNumberOfLetterTonal() { if (tonalres_1.tonalPositionalSounds.size !== tonalres_1.lowerLettersTonal.size) { console.log('sizes unmatched'); } } exports.checkNumberOfLetterTonal = checkNumberOfLetterTonal; /** Get Taiwanese Kana blocks. */ function getBlocks(morphemes) { const sequences = (0, taikana_1.composeTaiKana)(morphemes); return sequences; } exports.getBlocks = getBlocks; //# sourceMappingURL=init.js.map