mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-11 11:25:34 +00:00
Revert: change default word breaker to placeholder again.
This commit is contained in:
parent
f205f868c4
commit
969ceafbd5
2 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@
|
|||
|
||||
constructor(trieData: object, options: TrieModelOptions = {}) {
|
||||
this._trie = new Trie(trieData as Node);
|
||||
this.breakWords = options.wordBreaker || wordBreakers.default;
|
||||
this.breakWords = options.wordBreaker || wordBreakers.placeholder;
|
||||
}
|
||||
|
||||
configure(capabilities: Capabilities): Configuration {
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
// [wordform, count] pairs. Since this model does not
|
||||
// support weighting, discard the count.
|
||||
this._wordlist = wordlist.map(([word, _count]) => word);
|
||||
this.breakWords = options.wordBreaker || wordBreakers.default;
|
||||
this.breakWords = options.wordBreaker || wordBreakers.placeholder;
|
||||
}
|
||||
|
||||
configure(capabilities: Capabilities): Configuration {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue