Skip to content

Commit 98893ba

Browse files
committed
Add missing steps
1 parent 1fa1dff commit 98893ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/tts/pipeline.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import * as speech from './.divvun-rt/speech.ts';
77
export default function smjTextTTS(entry: StringEntry): Command {
88
let x = hfst.tokenize("tokenise", entry, { model_path: "tokeniser-tts-cggt-desc.pmhfst" });
99
x = divvun.blanktag("whitespace", x, { model_path: "analyser-gt-whitespace.hfst" });
10+
x = cg3.vislcg3("remove-lexicalised", x, { model_path: "generated-remove-lexicalised-compounds.bin" });
11+
x = cg3.vislcg3("valency", x, { model_path: "valency.bin" });
1012
x = cg3.vislcg3("mwe-dis", x, { model_path: "mwe-dis.bin" });
1113
x = cg3.mwesplit("mwesplit", x);
1214
x = cg3.vislcg3("disamb", x, { model_path: "disambiguator.bin" });
@@ -41,6 +43,8 @@ export default function smjTextTTS(entry: StringEntry): Command {
4143
export function localTTSTest_dev(entry: StringEntry): Command {
4244
let x = hfst.tokenize("tokenise", entry, { model_path: "@./tokeniser-tts-cggt-desc.pmhfst" });
4345
x = divvun.blanktag("whitespace", x, { model_path: "@./analyser-gt-whitespace.hfst" });
46+
x = cg3.vislcg3("remove-lexicalised", x, { model_path: "@./remove-lexicalised-compounds.cg3" });
47+
x = cg3.vislcg3("valency", x, { model_path: "@../../src/cg3/valency.cg3" });
4448
x = cg3.vislcg3("mwe-dis", x, { model_path: "@../tokenisers/mwe-dis.cg3" });
4549
x = cg3.mwesplit("mwesplit", x);
4650
x = cg3.vislcg3("disamb", x, { model_path: "@../../src/cg3/disambiguator.cg3" });

0 commit comments

Comments
 (0)