Skip to content

Commit a683bdc

Browse files
committed
v0.3.1: Various
1 parent f743740 commit a683bdc

File tree

8 files changed

+14
-7
lines changed

8 files changed

+14
-7
lines changed

Makefile

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: clean all copy_cmudict copy_kilgarriff download_cmudict download_kilgarriff
1+
.PHONY: clean all copy_cmudict copy_kilgarriff download_cmudict download_kilgarriff test
22

33
all: intermediate/correlated_ipa target/q1_frequencies target/q2_post_w_frequencies
44

@@ -20,6 +20,10 @@ download_kilgarriff:
2020
| gunzip \
2121
> source/kilgarriff
2222

23+
test:
24+
diff local_target/q1_frequencies target/q1_frequencies
25+
diff local_target/q2_post_w_frequencies target/q2_post_w_frequencies
26+
2327

2428

2529
############################################################
@@ -72,7 +76,7 @@ intermediate/cmudict_10_first_only: intermediate/cmudict_07_remove_bad_unicode
7276

7377
intermediate/cmudict_20_discard_stress: intermediate/cmudict_10_first_only
7478
cat intermediate/cmudict_10_first_only \
75-
| ./discard_stress.py \
79+
| scripts/discard_stress.py \
7680
> intermediate/cmudict_20_discard_stress
7781

7882
# CAT K AE T
@@ -122,7 +126,7 @@ intermediate/kilgarriff_07_discard_total: intermediate/kilgarriff_05_discard_fie
122126

123127
intermediate/kilgarriff_10_squashed: intermediate/kilgarriff_07_discard_total
124128
cat intermediate/kilgarriff_07_discard_total \
125-
| ./squash_kilgarriff.py \
129+
| scripts/squash_kilgarriff.py \
126130
> intermediate/kilgarriff_10_squashed
127131

128132
# 20 the
@@ -149,7 +153,7 @@ intermediate/kilgarriff_processed: intermediate/kilgarriff_20_sorted
149153
# This rule also generates the `uncorrelated` file, but I'm not
150154
# sure how to represent this in Make syntax.
151155
intermediate/correlated_arpa: intermediate/kilgarriff_processed intermediate/cmudict_processed
152-
./make_correlated.py \
156+
scripts/make_correlated.py \
153157
intermediate/cmudict_processed \
154158
intermediate/kilgarriff_processed \
155159
intermediate/correlated_arpa \
@@ -161,7 +165,7 @@ intermediate/correlated_arpa: intermediate/kilgarriff_processed intermediate/cmu
161165

162166
intermediate/correlated_ipa: intermediate/correlated_arpa
163167
cat intermediate/correlated_arpa \
164-
| ./to_ipa.py \
168+
| scripts/to_ipa.py \
165169
> intermediate/correlated_ipa
166170

167171

@@ -170,10 +174,10 @@ intermediate/correlated_ipa: intermediate/correlated_arpa
170174

171175
target/q1_frequencies: intermediate/correlated_ipa
172176
cat intermediate/correlated_ipa \
173-
| ./compute_frequencies.py \
177+
| scripts/compute_frequencies.py \
174178
> target/q1_frequencies
175179

176180
target/q2_post_w_frequencies: intermediate/correlated_ipa
177181
cat intermediate/correlated_ipa \
178-
| ./compute_post_w_frequencies.py \
182+
| scripts/compute_post_w_frequencies.py \
179183
> target/q2_post_w_frequencies

README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ To do:
1818
x ARPAbet -> IPA
1919

2020
Changelog:
21+
- v0.3.1: Various
22+
- Move *.py into scripts/
23+
2124
- v0.3.0: Various
2225
- Add local copies of source data and results
2326
- Default to local copies
File renamed without changes.

0 commit comments

Comments
 (0)