Skip to content

Commit 1fa1dff

Browse files
committed
Whitespace
1 parent 35a5aa8 commit 1fa1dff

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tools/tts/pipeline.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import * as speech from './.divvun-rt/speech.ts';
66

77
export default function smjTextTTS(entry: StringEntry): Command {
88
let x = hfst.tokenize("tokenise", entry, { model_path: "tokeniser-tts-cggt-desc.pmhfst" });
9-
x = divvun.blanktag("whitespace", x, { model_path: "analyser-gt-whitespace.hfst" });
10-
x = cg3.vislcg3("mwe-dis", x, { model_path: "mwe-dis.bin" });
11-
x = cg3.mwesplit("mwesplit", x);
12-
x = cg3.vislcg3("disamb", x, { model_path: "disambiguator.bin" });
13-
x = cg3.vislcg3("functions", x, { model_path: "functions.bin" });
14-
x = cg3.vislcg3("deps", x, { model_path: "dependency.bin" });
9+
x = divvun.blanktag("whitespace", x, { model_path: "analyser-gt-whitespace.hfst" });
10+
x = cg3.vislcg3("mwe-dis", x, { model_path: "mwe-dis.bin" });
11+
x = cg3.mwesplit("mwesplit", x);
12+
x = cg3.vislcg3("disamb", x, { model_path: "disambiguator.bin" });
13+
x = cg3.vislcg3("functions", x, { model_path: "functions.bin" });
14+
x = cg3.vislcg3("deps", x, { model_path: "dependency.bin" });
1515
x = speech.normalize(
1616
"normaliser", x,
1717
{
@@ -40,12 +40,12 @@ export default function smjTextTTS(entry: StringEntry): Command {
4040
*/
4141
export function localTTSTest_dev(entry: StringEntry): Command {
4242
let x = hfst.tokenize("tokenise", entry, { model_path: "@./tokeniser-tts-cggt-desc.pmhfst" });
43-
x = divvun.blanktag("whitespace", x, { model_path: "@./analyser-gt-whitespace.hfst" });
44-
x = cg3.vislcg3("mwe-dis", x, { model_path: "@../tokenisers/mwe-dis.cg3" });
45-
x = cg3.mwesplit("mwesplit", x);
46-
x = cg3.vislcg3("disamb", x, { model_path: "@../../src/cg3/disambiguator.cg3" });
47-
x = cg3.vislcg3("functions", x, { model_path: "@../../src/cg3/functions.cg3" });
48-
x = cg3.vislcg3("deps", x, { model_path: "@../../src/cg3/dependency.cg3" });
43+
x = divvun.blanktag("whitespace", x, { model_path: "@./analyser-gt-whitespace.hfst" });
44+
x = cg3.vislcg3("mwe-dis", x, { model_path: "@../tokenisers/mwe-dis.cg3" });
45+
x = cg3.mwesplit("mwesplit", x);
46+
x = cg3.vislcg3("disamb", x, { model_path: "@../../src/cg3/disambiguator.cg3" });
47+
x = cg3.vislcg3("functions", x, { model_path: "@../../src/cg3/functions.cg3" });
48+
x = cg3.vislcg3("deps", x, { model_path: "@../../src/cg3/dependency.cg3" });
4949
x = speech.normalize(
5050
"normaliser", x,
5151
{

0 commit comments

Comments
 (0)