-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
31 lines (22 loc) · 1.52 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
CMUDICT = ext/cmudict.0.7a
phoneme-groups-with-syllables.json: $(CMUDICT)
cat $(CMUDICT) | node phonemize-syllablize.js phoneme-groups-with-syllables.json
syllable-follower-analysis.json: $(CMUDICT)
cat $(CMUDICT) | node phoneme-syllable-analyze.js syllable-follower-analysis.json
phoneme-follow-frequencies.js: $(CMUDICT)
cat $(CMUDICT) | node phonemize-analyze-ff.js --make-module > phoneme-follow-frequencies.js
phoneme-follow-frequencies-in-syllables.js: $(CMUDICT)
cat $(CMUDICT) | node phonemize-analyze-ff.js --make-module --analyze-in-syllables > phoneme-follow-frequencies-in-syllables.js
phoneme-preceding-frequencies-in-syllables.js: $(CMUDICT)
cat $(CMUDICT) | node phonemize-analyze-ff.js --make-module --analyze-in-syllables --reverse true > phoneme-preceding-frequencies-in-syllables.js
test-followerfreq-analysis-stream: test/phoneme-follow-frequencies-baseline.js
rm phoneme-follow-frequencies.js || echo "phoneme-follow-frequencies.js clear"
make phoneme-follow-frequencies.js
diff phoneme-follow-frequencies.js test/phoneme-follow-frequencies-baseline.js
test-followerfreq-syllable: test/phoneme-follow-frequencies-in-syllables-baseline.js
rm phoneme-follow-frequencies-in-syllables.js || echo "phoneme-follow-frequencies-in-syllalbles.js clear"
make phoneme-follow-frequencies-in-syllables.js
diff phoneme-follow-frequencies-in-syllables.js test/phoneme-follow-frequencies-in-syllables-baseline.js
test: test-followerfreq-syllable test-followerfreq-analysis-stream
pushall:
git push origin master && npm publish