@keymanapp/kmc-model
Version:
Keyman Developer lexical model compiler
11 lines • 575 B
TypeScript
import { LexicalModelTypes } from '@keymanapp/common-types';
import WordBreakingFunction = LexicalModelTypes.WordBreakingFunction;
/**
* Returns a word breaker that joins spans of an existing word breaker.
* Spans are joined if they are connected by a delimiter.
*
* @param breaker The word breaker whose results will be decorated.
* @param joiners What delimiters should be used to join spans.
*/
export declare function decorateWithJoin(breaker: WordBreakingFunction, joiners: string[]): WordBreakingFunction;
//# sourceMappingURL=join-word-breaker-decorator.d.ts.map